Documentation

CslibFrontier.Computability.Complexity.FineGrained.CountingEndpoint

From sublinear interpolation-scale counting to satExponent k = 0, ¬ETH, and ¬SETH #

Bridges the sublinear exponent Cslib.Complexity.SubexponentialSAT.interpolationScale of Section 6.4, Proposition 6.4 (pp. 43–44) [OAI26k] and dense variable relabeling (Cslib.Logic.PL.CNF.denseRelabel) to the fine-grained satisfiability endpoints (DecidableInSubexpTime (KSAT k) encCNF CNF.numVars, satExponent k = 0, ¬ETH, and ¬SETH).

Source relation and library adaptations #

Specifically:

  1. Any problem decidable in time O(2 ^ (A₀ * interpolationScale (μ a)) * (|enc a| + 1) ^ d) is DecidableInSubexpTime with respect to μ (DecidableInSubexpTime.of_interpolationScale, DecidableInSubexpTime.of_computableInO_interpolationScale).
  2. Any model-counting routine count : CNF ℕ → ℕ that computes ψ.modelCountOn (Finset.range ψ.numVars) on dense width-≤ k formulas (ψ.vars.toFinset = Finset.range ψ.numVars) within time O(2 ^ (A₀ * interpolationScale ψ.numVars) * (|ψ| + 1) ^ e) yields DecidableInSubexpTime (KSAT k) encCNF CNF.numVars via polynomial-time dense relabeling and clause-width checking (DecidableInSubexpTime.KSAT_of_dense_modelCount_interpolationScale).
  3. Subexponential-time decidability of KSAT k is equivalent to satExponent k = 0 (satExponent_eq_zero_iff_decidableInSubexpTime), refutes ETH at k = 3 (not_ETH_of_decidableInSubexpTime), and refutes SETH when established for all k (not_SETH_of_forall_decidableInSubexpTime).

Main results #

References #

@[simp]

Dense variable relabeling preserves membership in KSAT k for every k (including k = 0, 1, empty formulas, and formulas with repeated literals or gaps in variable numbering).

From interpolationScale bounds to DecidableInSubexpTime #

theorem Cslib.Complexity.DecidableInSubexpTime.of_interpolationScale {α : Type} {enc : α ↪ List Bool} {A : Set α} {μ : α → ℕ} {A₀ : ℝ} {d : ℕ} (h : DecidableInTimeO A enc fun (a : α) => 2 ^ (A₀ * SubexponentialSAT.interpolationScale (μ a)) * (↑(enc a).length + 1) ^ d) :

Any problem decidable in time O(2 ^ (A₀ * interpolationScale (μ a)) * (|enc a| + 1) ^ d) is decidable in subexponential time in μ.

theorem Cslib.Complexity.DecidableInSubexpTime.of_computableInO_interpolationScale {α : Type} {enc : α ↪ List Bool} {A : Set α} {μ : α → ℕ} {f : α → Bool} {t : α → ℕ} (hf : Turing.MultiTapeTM.ComputableInO f enc Turing.MultiTapeTM.encBool t t) (hfA : ∀ (a : α), a ∈ A ↔ f a = true) {A₀ : ℝ} {c e : ℕ} (ht : ∀ (a : α), ↑(t a) ≤ ↑c * (2 ^ (A₀ * SubexponentialSAT.interpolationScale (μ a)) * (↑(enc a).length + 1) ^ e) + ↑c) :

If f : α → Bool decides A in ComputableInO time bounded by c * (2 ^ (A₀ * interpolationScale (μ a)) * (|enc a| + 1) ^ e) + c, then A is decidable in subexponential time in μ.

From dense-variable model counting to DecidableInSubexpTime (KSAT k) #

From dense-variable model counting at interpolationScale to subexponential k-SAT. Suppose count : CNF ℕ → ℕ runs in time O(2 ^ (A₀ * interpolationScale ψ.numVars) * (|encCNF ψ| + 1) ^ e) and computes the declared-variable model count ψ.modelCountOn (Finset.range ψ.numVars) on every width-≤ k formula ψ whose occurring variables are Finset.range ψ.numVars. Then KSAT k is decidable in subexponential time in the number of occurring variables (CNF.numVars).

Exponent and ETH/SETH consequences #

satExponent k = 0 if and only if KSAT k is decidable in subexponential time in the number of variables.

If KSAT k is decidable in subexponential time in the number of variables, then satExponent k = 0.

Subexponential-time decidability of 3-SAT refutes the Exponential Time Hypothesis (¬ETH).

Subexponential-time decidability of k-SAT for all k refutes the Strong Exponential Time Hypothesis (¬SETH).