One model counter with the fixed-density bound of Theorem 1.1 and the interpolation-scale bound #
For every fixed clause width k, one machine computes the number of satisfying assignments
CNF.modelCount φ of every formula φ whose clauses have at most k literals, in polynomial
space, with a single time function T that satisfies three bounds at once
(DensityBranchCounting.exists_modelCounter). Write n for the number of variables, m for
the number of clauses, L for the encoding length and ν = ⌈log₂ ⌈log₂ n⌉⌉.
- On every formula,
Tis2 ^ O_k(ρ(n))times a polynomial inL, whereρis the interpolation scalen (log log n)² / √log nof Section 6.4 of [OAI26k]. - On formulas with
m ≤ n ν, it is2 ^ O_k(n ν / √log n)times a polynomial. - For each density
D, on formulas withm ≤ D nit is2 ^ O_{k,D}(n / √log n)times a polynomial. Only the constant in the exponent depends onD; the machine,Tand the degree of the polynomial do not.
The machine is the single algorithm in the last paragraph of Appendix D.3 of [OAI26k]
(p. 57): it tests m ≤ n ν (DensityBranchCounting.threshold), runs the tensor-contraction
counter ContractionCounting.exists_modelCounter when the test passes, and otherwise runs a dense
counter. In the paper the dense branch is the parity-query proof of the arbitrary-density bound
(p. 57), with exponent O_k(n log log n / √log n). It evaluates its queries by Lemma D.2
(pp. 54–56), which applies Theorem D.1 with truncation order ℓ = n + 1. That is not formalized,
so the dense branch here is the Section 6.4 counter CountingNativeEndpoint.exists_modelCounter,
and the bound on every formula stays at the interpolation scale ρ(n). The arbitrary-density
bound of Theorem 1.1 remains open.
As in the two counters it combines, n is the number of variables occurring in φ
(CNF.numVars); the paper counts declared variables, with n ≥ 20.
Main definitions #
Cslib.Complexity.DensityBranchCounting.threshold: the clause-count thresholdn ν.
Main results #
Cslib.Complexity.DensityBranchCounting.exists_modelCounter: the counter and its three bounds.
References #
- OpenAI, The Exponential Time Hypothesis is False, Theorem 1.1 (p. 2) and the last paragraph of Appendix D.3 (p. 57).
The clause-count threshold of the single algorithm, n ⌈log₂ ⌈log₂ n⌉⌉ for n variables.
Formulas with at most this many clauses are counted by tensor contraction.
Arithmetic of the exponents #
The counter #
One model counter with the fixed-density bound of Theorem 1.1 and the interpolation-scale
bound. For each clause width k, one machine computes φ.modelCount on every formula φ
whose clauses have at most k literals, in polynomial space, and its time function T
satisfies, for n variables, m clauses and encoding length L:
- on every formula,
T φ ≤ ⌈2 ^ (A ρ(n))⌉ (L + 1) ^ e, whereρ = interpolationScale; - when
m ≤ threshold n = n ⌈log₂ ⌈log₂ n⌉⌉,T φ ≤ 2 ^ (A · threshold n / √⌊log₂ (n + 2)⌋) (L + 1) ^ e; - for each density bound
D, whenm ≤ D n,T φ ≤ 2 ^ (A' n / √⌊log₂ (n + 2)⌋) (L + 1) ^ efor a constantA'depending onD.
The machine, T, S and the constants A, e, b are fixed before D; only A' depends on
D.