Håstad's 3-Bit Linear Test and Spectral Decoding Weights #
This module formalizes Håstad's noisy 3-bit linear test on folded (odd, Cslib.BitString.IsOdd)
Long Code tables over a single projection π : β → γ, its exact Walsh–Fourier expansion, and the
Cauchy–Schwarz and Parseval soundness bound via low-degree spectral decoding weights [Has01].
The Long Code, folding and the mod-2 projection Cslib.BitString.projectSet live in
Complexity.Foundations.BooleanAnalysis.LongCode.
Main definitions #
Cslib.PCP.Hastad.hastadLinearCorr,Cslib.PCP.Hastad.hastadLinearProb: correlation and acceptance probability of Håstad's 3-bit linear test on an edgeπ : β → γ.Cslib.PCP.Hastad.spectralWeight: low-degree Fourier decoding weights onα.
Main results #
Cslib.PCP.Hastad.hastadLinearCorr_longCode,Cslib.PCP.Hastad.hastadLinearProb_longCode: completeness1 - δfor 3-bit linear tests on valid Long Code tables.Cslib.PCP.Hastad.hastadLinearCorr_eq_sum: exact Walsh–Fourier expansion of Håstad's 3-bit test correlation.Cslib.PCP.Hastad.sum_spectralWeight_le_one: Parseval bound showing thatspectralWeight k Bis a sub-probability distribution onγ.Cslib.PCP.Hastad.hastadLinearCorr_sq_le: single-edge Cauchy–Schwarz + Parseval soundness bound.
References #
Håstad's 3-bit linear test and its Fourier expansion #
The correlation of Håstad's 3-bit linear test on a projection π : β → γ at noise rate δ
between tables B : (γ → Bool) → Bool and A : (β → Bool) → Bool Håstad, Section 5:
the expected product of the ±1 signs of B f, A g, and A ((f ∘ π) + g + μ) over uniform
f : γ → Bool, uniform g : β → Bool, and δ-biased Bernoulli noise μ : β → Bool.
Instances For
The acceptance probability of Håstad's 3-bit linear test: the probability that
(B f ^^ A g ^^ A ((f ∘ π) + g + μ)) = false under uniform f, g and δ-biased noise μ.
Instances For
The acceptance probability of Håstad's 3-bit linear test is
1 / 2 + 1 / 2 * hastadLinearCorr π δ B A.
Completeness of Håstad's 3-bit linear test (correlation): on matching Long Code tables
longCode (π x) and longCode x, the correlation is 1 - 2 * δ.
Completeness of Håstad's 3-bit linear test (probability): matching Long Code tables
longCode (π x) and longCode x pass the test with probability 1 - δ.
Walsh–Fourier expansion of Håstad's 3-bit linear test Håstad, Lemma 5.1:
the correlation equals
∑ T : Finset β, (1 - 2 * δ) ^ #T * fourierCoeff F_A T ^ 2 * fourierCoeff F_B (projectSet π T).
Spectral decoding weights and Cauchy–Schwarz soundness bound #
The low-degree spectral decoding weight of x : α for table A : (α → Bool) → Bool at
degree cutoff k: ∑_{T : #T < k, x ∈ T} fourierCoeff F_A T ^ 2 / #T
Håstad, Proof of Lemma 5.2.
Instances For
By Parseval's identity, the spectral decoding weights form a sub-probability distribution:
∑ x, spectralWeight k A x ≤ 1.
Cauchy–Schwarz and Parseval soundness bound for Håstad's 3-bit linear test
Håstad, Lemma 5.2: for any folded (odd) table B, any table A, noise rate
0 ≤ δ ≤ 1 / 2, and degree cutoff k, the squared correlation hastadLinearCorr π δ B A ^ 2 is
at most (1 - 2 * δ) ^ (2 * k) + k ^ 2 * ∑ x, spectralWeight k A x * spectralWeight k B (π x).