Håstad's 3-bit linear test: soundness against Label Cover #
Håstad proved that, for every ε > 0, it is NP-hard to approximate MAX-E3LIN-2 within a factor
2 - ε Håstad, Theorem 5.4. His four-clause gadget turns this into NP-hardness of
approximating MAX-E3SAT within 8 / 7 - ε Håstad, Theorem 6.1, so the
random-assignment bound Cslib.Logic.PL.CNF.IsExactThreeDistinct.unsatVal_le_one_eighth is
optimal. Together with its submodule LinearTest, this module formalizes the analytic core of
the MAX-E3LIN proof: the completeness and soundness of Håstad's noisy 3-bit linear test on folded
Long Code tables over a Label Cover projection π : β → γ
Håstad, Lemmas 5.1 and 5.2. It does not prove a hardness result: no reduction to
MAX-E3LIN or MAX-E3SAT is constructed. NP-hardness of Label Cover with arbitrarily small soundness
(the PCP theorem with parallel repetition) is Cslib.Complexity.exists_GapLabelCover_npHard in
CslibFrontier.Computability.PCP.Approximation.LabelCover.SmallSoundness. The stronger statement
for
satisfiable E3-CNF formulas Håstad, Theorem 6.5 uses a different test and is not
addressed here.
- The Long Code of
x : α(Cslib.BitString.longCode) evaluates each Boolean functiong : α → Boolatx. A tableB : (γ → Bool) → Boolis folded, that is, odd (Cslib.BitString.IsOdd), whenB (f + fun _ => true) = !B f, which kills the empty Fourier coefficientfourierCoeff (signVal ∘ B) ∅ = 0(Cslib.BitString.IsOdd.fourierCoeff_empty). - Given an edge projection
π : β → γ, a right tableB : (γ → Bool) → Bool, and a left tableA : (β → Bool) → Bool, Håstad's 3-bit linear test samples uniformf : γ → Boolandg : β → Bool, aδ-biased noise functionμ : β → Bool, and checks whetherB f ^^ A g = A ((f ∘ π) + g + μ). - On valid Long Code tables
B = longCode (π x)andA = longCode x, the linear test accepts with probability1 - δ(Cslib.PCP.Hastad.linearProb_longCode). - By Walsh–Fourier inversion, the test correlation
linearCorr π δ B Aequals∑ T : Finset β, (1 - 2 * δ) ^ #T * fourierCoeff (signVal ∘ B) (projectSet π T) * fourierCoeff (signVal ∘ A) T ^ 2(Cslib.PCP.Hastad.linearCorr_eq_sum). Splitting at degreekand applying Cauchy–Schwarz and Parseval's identity bounds(linearCorr π δ B A) ^ 2by(1 - 2 * δ) ^ (2 * k) + k ^ 2 * ∑ x, spectralWeight k A x * spectralWeight k B (π x)(Cslib.PCP.Hastad.linearCorr_sq_le), wherespectralWeight k Ais a sub-probability distribution onβ. - Decoding the spectral weights into a labelling bounds the average correlation over a Label Cover
instance by its value (
Cslib.PCP.Hastad.graphLinearCorr_sq_le).
Main definitions #
Cslib.PCP.Hastad.graphLinearCorr,Cslib.PCP.Hastad.graphLinearProb: multi-edge test averages over a Label Cover instance.
Main results #
Cslib.PCP.Hastad.exists_labelling_of_spectralWeight: spectral decoding of Label Cover tables.Cslib.PCP.Hastad.graphLinearCorr_sq_le: multi-edge Cauchy–Schwarz + Parseval soundness bound.Cslib.PCP.Hastad.gapLabelCover_dichotomy_lt_one: for everyε > 0and0 < δ < 1 / 2there is a threshold0 < η < 1, independent of the label sets, such that for instances with at least one edge, onGapLabelCoveryes-instances some folded right tablesBand left tablesApass the 3-bit test with probability1 - δ, and on no-instances all folded right tablesBand all left tablesApass with probability at most1 / 2 + 4 * ε.
References #
Multi-edge Label Cover decoding and soundness #
Spectral decoding of Label Cover tables: for any Label Cover instance g : Graph (β → γ),
degree cutoff k, left tables A, and right tables B, there exist deterministic labellings
ℓ : ℕ → β and r : ℕ → γ whose number of satisfied edges is at least the total spectral weight
agreement across all edges of g.
Average correlation of Håstad's 3-bit linear test across the edges of a Label Cover instance
g : Graph (β → γ).
Average acceptance probability of Håstad's 3-bit linear test across the edges of a Label Cover
instance g : Graph (β → γ).
Multi-edge completeness of Håstad's tests: if (ℓ, r) satisfies every edge of a non-empty
Label Cover instance g, then the right Long Code tables B w = longCode (r w) are folded and,
with the left tables A u = longCode (ℓ u), achieve linear acceptance 1 - δ.
Multi-edge soundness bound for Håstad's 3-bit test over Label Cover, adapting the proof of
Håstad, Lemma 5.2: for any Label Cover instance g : Graph (β → γ), noise rate
0 ≤ δ ≤ 1 / 2, degree cutoff k, folded right tables B, and left tables A, the squared
average correlation graphLinearCorr g δ B A ^ 2 is at most
(1 - 2 * δ) ^ (2 * k) + k ^ 2 * (1 - (g.toGraph projectionEval).unsatVal).
Completeness and soundness of Håstad's 3-bit linear test against Label Cover
Håstad, Lemmas 5.1 and 5.2:
for every ε > 0 and 0 < δ < 1 / 2, there exists a Label Cover soundness parameter 0 < η < 1,
independent of the label sets β and γ, such that for every Label Cover instance
g : Graph (β → γ) with g.edges ≠ []:
- (Completeness) If
g ∈ (GapLabelCover β γ 1 η).yes, there exist folded right tablesBand left tablesAachievinggraphLinearProb g δ B A = 1 - δ. - (Soundness) If
g ∈ (GapLabelCover β γ 1 η).no, then for all folded right tablesBand all left tablesA,graphLinearProb g δ B A ≤ 1 / 2 + 4 * ε.
This is the analytic core of Håstad's MAX-E3LIN hardness proof. It is not a reduction: no
instance of MAX-E3LIN or MAX-E3SAT is constructed, and NP-hardness of GapLabelCover is not
proved here. The threshold is strictly below the completeness value, as required by the
no-instance promise. This does not assert that no-instances exist for every fixed pair of label
sets; sufficiently large label sets can be required.
Compatibility form of gapLabelCover_dichotomy_lt_one, retaining the original public
statement. Use the stronger theorem when a nontrivial Label Cover gap is needed.