Gap k-SAT exponents and the Gap Exponential Time Hypotheses #
This module formalizes fixed-width gap satisfiability GapKSAT, its deterministic and bounded-error
randomized exponential-time rates gapSatExponent and rGapSatExponent, and the deterministic and
randomized Gap Exponential Time Hypotheses (GapETH, rGapETH) [Din16],
[MR17], [IP01]:
- Gap specification (
GapKSATSpec,GapKSAT). A parameter recordP : GapKSATSpecpackages a clause widthP.width, a completeness thresholdP.completeness, and a soundness thresholdP.soundnesssatisfying0 ≤ P.soundness < P.completeness ≤ 1.GapKSAT PrestrictsPromiseProblem.gapMax (fun φ => 1 - φ.unsatVal)to formulas of clause length at mostP.width, specializing definitionally at(3, 1, s)(GapKSATSpec.perfectThree) toGapThreeSAT sfromCslibFrontier.Computability.PCP.Approximation.MaxThreeSAT. - Threshold MAX-
k-SAT and rational-midpoint reduction (MaxKSATThreshold). Choosing a strictly separating rationalnum / den ∈ (P.soundness, P.completeness)reducesGapKSAT Pin polynomial time with zero variable blowup toofSet (MaxKSATThreshold P.width), even whenP.completeness < 1or the thresholds are irrational. Exhaustive search over2 ^ nnumbered assignments decidesMaxKSATThreshold kin time2 ^ n * poly(L), giving0 ≤ rGapSatExponent P ≤ gapSatExponent P ≤ 1for everyP : GapKSATSpec. - Hypothesis hierarchy. On perfect-completeness specs
GapKSATSpec.perfect k s, any exactk-SAT solver solves the gap problem, yielding the positive implicationsrGapETH → GapETH → ETHandrGapETH → rETH → ETH, together with threshold invariance ofrGapETHacross(0, 1 / 2).
Main definitions #
Cslib.Complexity.GapKSATSpec,Cslib.Complexity.GapKSATSpec.perfect,Cslib.Complexity.GapKSATSpec.perfectThree: gapk-SAT parameter specifications.Cslib.Complexity.GapKSAT: promise problem distinguishing≤ k-CNFs of value≥ cfrom≤ s.Cslib.Complexity.MaxSATThresholdInput,Cslib.Complexity.encMaxSATThresholdInput,Cslib.Complexity.MaxKSATThreshold: unary-cutoff threshold MAX-k-SAT decision language.Cslib.Complexity.gapSatExponent,Cslib.Complexity.rGapSatExponent: deterministic and bounded-error randomized exponential-time infimum exponents forGapKSAT P.Cslib.Complexity.GapETH,Cslib.Complexity.rGapETH: deterministic and randomized Gap-ETH.
Main results #
Cslib.Complexity.GapKSAT_zero_mem_PromiseP: width-0GapKSAT Plies inPromisePfor all0 ≤ s < c ≤ 1.Cslib.Complexity.MaxKSATThreshold_decidableInExpTime_one,Cslib.Complexity.exists_reduction_GapKSAT_to_MaxKSATThreshold,Cslib.Complexity.GapKSAT_solvesPromiseInExpTime_one:2 ^ n * poly(L)solving for everyP : GapKSATSpec.Cslib.Complexity.gapSatExponent_mono,Cslib.Complexity.rGapSatExponent_mono,Cslib.Complexity.rGapSatExponent_le_gapSatExponent,Cslib.Complexity.gapSatExponent_le_one,Cslib.Complexity.gapSatExponent_perfect_le_satExponent,Cslib.Complexity.rGapSatExponent_perfect_le_rSatExponent: monotonicity and rate inequalities.Cslib.Complexity.rGapETH.gapETH,Cslib.Complexity.rGapETH.rETH,Cslib.Complexity.GapETH.eth: positive conditional implicationsrGapETH → GapETH → ETHandrGapETH → rETH.
References #
- I. Dinur, Mildly exponential reduction from gap 3SAT to polynomial-gap label-cover
- P. Manurangsi, P. Raghavendra, A birthday repetition theorem and complexity of approximating dense CSPs
- R. Impagliazzo, R. Paturi, On the complexity of k-SAT
- S. Arora, B. Barak, Computational Complexity: A Modern Approach, Chapter 11
1. Gap k-SAT parameter specifications and promise problems #
Parameters (k, c, s) for fixed-width gap satisfiability GapKSAT: clause width bound width,
completeness threshold completeness, and soundness threshold soundness, with
0 ≤ soundness < completeness ≤ 1.
- width : ℕ
Maximum allowed clause length (
k). - completeness : ℝ
Minimum satisfied clause proportion on yes-instances (
c). - soundness : ℝ
Maximum satisfied clause proportion on no-instances (
s). Soundness is nonnegative.
Soundness is strictly below completeness (
s < c).- completeness_le_one : self.completeness ≤ 1
Completeness is at most
1.
Positive additive gap completeness - soundness.
Perfect-completeness gap k-SAT specification (k, 1, s) for 0 ≤ s < 1.
Perfect-completeness gap 3-SAT specification (3, 1, s) for 0 ≤ s < 1.
Gap k-SAT (GapKSAT P): distinguish formulas of clause length at most P.width in which
some assignment satisfies at least P.completeness of the clauses (1 - φ.unsatVal ≥ P.completeness) from those in which every assignment satisfies at most P.soundness of the
clauses (1 - φ.unsatVal ≤ P.soundness).
At (3, 1, s), GapKSAT is definitionally GapThreeSAT s.
Yes-instances of GapKSAT P are ≤ P.width-CNFs with φ.unsatVal ≤ 1 - P.completeness.
No-instances of GapKSAT P are ≤ P.width-CNFs with 1 - P.soundness ≤ φ.unsatVal.
Enlarging clause width (width₁ ≤ width₂) or narrowing the gap
(completeness₂ ≤ completeness₁, soundness₁ ≤ soundness₂) enlarges both yes and no, so
GapKSAT P₁ reduces via id to GapKSAT P₂.
Width-0 GapKSAT lies in PromiseP for all thresholds 0 ≤ s < c ≤ 1: a width-0
formula consists solely of empty clauses [], so it has value 1 (unsatVal = 0) when empty and
value 0 (unsatVal = 1) when nonempty.
2. Threshold MAX-k-SAT and rational-midpoint reduction #
Input to the threshold decision version of MAX-k-SAT: a CNF formula paired with a unary
clause-satisfaction threshold cutoff.
- formula : Logic.PL.CNF ℕ
Input CNF formula.
- cutoff : ℕ
Required minimum number of satisfied clauses (counted with multiplicity).
Instances For
Framed encoding of MaxSATThresholdInput (encCNF formula and encUnary cutoff).
The tuple of the fields of encMaxSATThresholdInput.
Number of distinct occurring variables of x.formula.
Threshold MAX-k-SAT (MaxKSATThreshold k): instances (φ, cutoff) where every clause of
φ has length at most k and some assignment satisfies at least cutoff clauses
(cutoff ≤ φ.length - φ.countUnsat σ).
Leaf query for exhaustive search on MaxKSATThreshold: formula, cached distinct variables,
unary satisfaction cutoff, and binary assignment index.
- formula : Logic.PL.CNF ℕ
Input CNF formula.
Cached duplicate-free variable list (
formula.distinctVars).- cutoff : ℕ
Unary minimum satisfied-clause threshold.
- index : ℕ
Binary assignment index in
0, …, 2 ^ |varsList| - 1.
Instances For
Framed encoding of MaxSATThresholdSearch.Leaf.
Threshold MAX-k-SAT by exhaustive search: MaxKSATThreshold k is decidable within time
2 ^ n * poly(L) where n = x.numVars.
Rational-midpoint reduction from GapKSAT P to MaxKSATThreshold P.width.
Choosing a rational num / den strictly inside (P.soundness, P.completeness) and setting
cutoff(φ) = ⌊num * |φ| / den⌋ + 1 (or 0 when φ = []) maps yes-instances into
MaxKSATThreshold P.width and no-instances into its complement in polynomial time, keeping the
underlying formula unchanged ((f φ).numVars = φ.numVars).
Any deterministic 2 ^ (δ * n) * poly(L) decider for MaxKSATThreshold P.width (δ ≥ 0)
transfers to GapKSAT P.
Any randomized 2 ^ (δ * n) * poly(L) solver for MaxKSATThreshold P.width (δ ≥ 0) transfers
to GapKSAT P under the same error profile E.
Every GapKSAT P (including imperfect completeness c < 1) is solvable deterministically in
time 2 ^ n * poly(L).
Every GapKSAT P is solvable in randomized time 2 ^ n * poly(L) under any error profile.
3. Perfect-completeness decision-to-gap transfers #
At perfect completeness 1, any 2 ^ (δ * n) * poly(L) decider (δ ≥ 0) for KSAT k solves
GapKSAT (GapKSATSpec.perfect k s hs0 hs1).
At perfect completeness 1, any randomized 2 ^ (δ * n) * poly(L) solver (δ ≥ 0) for
KSAT k solves GapKSAT (GapKSATSpec.perfect k s hs0 hs1) with the same error profile E.
4. gapSatExponent, rGapSatExponent, GapETH, and rGapETH #
Deterministic gap k-SAT exponent (gapSatExponent P): infimum (Cslib.rateExponent) of
δ ≥ 0 such that GapKSAT P is deterministically solvable within time 2 ^ (δ * n) * poly(L).
Randomized gap k-SAT exponent (rGapSatExponent P): infimum (Cslib.rateExponent) of
δ ≥ 0 such that GapKSAT P is solvable with two-sided bounded error (1 / 3) within time
2 ^ (δ * n) * poly(L).
Gap Exponential Time Hypothesis (GapETH) variant: this adaptation posits that
for some soundness threshold 0 ≤ s < 1 and rate δ > 0, GapThreeSAT s cannot be solved
deterministically within time 2 ^ (δ * n) * poly(L) where n = φ.numVars.
This definition ranges over unrestricted clause density and existential s with a closed
no-promise. It explicitly quantifies over ComputableInTimeO, using occurring variables
numVars, the encCNF encoding, a polynomial factor in encoded length L, and the
deterministic time model. This is an explicitly documented adaptation and does not assert
equivalence to the sparse source formulations: [Dinur2016, Hypothesis 2.5, p.5] has fixed
soundness < 0.9 and at most D n clauses, and [ManurangsiRaghavendra2017, §1.1, p.78:5]
states the approximation ETHA formulation.
Threshold invariance of rGapSatExponent. Any ε ∈ (0, 1 / 2) yields the exact same
infimum exponent rGapSatExponent P.
gapSatExponent P is positive iff GapKSAT P is not solvable at some positive rate.
rGapSatExponent P is positive iff GapKSAT P is not solvable with bounded error at some
positive rate.
Randomized vs. deterministic gap exponents (rGapSatExponent P ≤ gapSatExponent P).
Parameter monotonicity of gapSatExponent: increasing clause width (width₁ ≤ width₂) or
narrowing the gap (completeness₂ ≤ completeness₁, soundness₁ ≤ soundness₂) cannot decrease
gapSatExponent.
Parameter monotonicity of rGapSatExponent.
At perfect completeness 1, gapSatExponent is bounded above by satExponent k.
At perfect completeness 1, rGapSatExponent is bounded above by rSatExponent k.
GapETH holds iff gapSatExponent (GapKSATSpec.perfectThree s hs0 hs1) > 0 for some
0 ≤ s < 1.
rGapETH holds iff rGapSatExponent (GapKSATSpec.perfectThree s hs0 hs1) > 0 for some
0 ≤ s < 1.
Threshold invariance of rGapETH. Replacing ErrorModel.bounded (1 / 3) by any two-sided
error ε ∈ (0, 1 / 2) gives an equivalent hypothesis.