Documentation

CslibFrontier.Computability.Complexity.FineGrained.SharpTwoSATPower

Counting Satisfiability Hypothesis lower bound for bounded-degree #2SAT #

The transfer in [MITHardnessGroup2026SH, v2, §6, Corollary 6.1] uses two count queries and subtraction. We compose the parsimonious width-three conversion with the parity queries and the three-occurrence compiler. Each resulting query has width at most two, at most three occurrences per variable, and linear variable-plus-clause size. The solver reads the ordinary binary CNF encoding and only needs to give an answer within its bound on promised inputs. The randomized transfer of Theorem 7.1(c) amplifies each query, then uses a shared seed and a union bound to certify that their difference is exact with probability at least two thirds.

Main results #

References #

theorem Cslib.Complexity.SharpSH.not_computableInPowerExpTime_sharpTwoSAT_threeOccurrence (hSH : SharpSH) {p : ℝ} (hp : 0 < p) (hp₁ : p < 1) :
have good := fun (ψ : Logic.PL.CNF ℕ) => (∀ c ∈ ψ, List.length c ≤ 2) ∧ ∀ (v : ℕ), List.count v ψ.vars ≤ 3; ¬ComputableInPowerExpTime (fun (ψ : Subtype good) => SharpTwoSAT ↑ψ) ((Function.Embedding.subtype good).trans encCNF) Turing.MultiTapeTM.encNat (fun (ψ : Subtype good) => (↑ψ).numVars + List.length ↑ψ) p

The native multitape form of [MITHardnessGroup2026SH, v2, §6, Corollary 6.1]. Under SharpSH, even width-two formulas with at most three literal occurrences per variable admit no fixed power saving in the exponent in occurring variables plus clauses. Both the time and correctness guarantee apply only to promised formulas. The subtype's encoding is the ordinary binary CNF encoding of the formula.

theorem Cslib.Complexity.rSharpSH.not_computesWithErrorInPowerExpTime_sharpTwoSAT_threeOccurrence (hSH : rSharpSH) {p : ℝ} (hp : 0 < p) (hp₁ : p < 1) :
have good := fun (ψ : Logic.PL.CNF ℕ) => (∀ c ∈ ψ, List.length c ≤ 2) ∧ ∀ (v : ℕ), List.count v ψ.vars ≤ 3; ¬ComputesWithErrorInPowerExpTime (fun (ψ : Subtype good) => SharpTwoSAT ↑ψ) ((Function.Embedding.subtype good).trans encCNF) Turing.MultiTapeTM.encNat (1 / 3) (fun (ψ : Subtype good) => (↑ψ).numVars + List.length ↑ψ) p

The bounded-degree randomized counting lower bound of [MITHardnessGroup2026SH, v2, §7, Theorem 7.1(c)]. Under randomized counting SH, no solver can return the exact binary count with probability at least two thirds at a fixed power saving on width-two formulas with at most three literal occurrences per variable. Like the deterministic theorem, it measures occurring variables plus clauses and allows polynomial overhead in the native encoded input length. The time and error guarantees are required only on promised formulas.