Documentation

CslibFrontier.Foundations.BooleanAnalysis.LowDegreeParity

Parity is far from low-degree functions #

Over a field F in which 2 is invertible, a function of degree at most D agrees with the parity of all |ι| coordinates on at most as many inputs as there are sets of at most |ι| / 2 + D coordinates (BitString.card_agree_parityOn_univ_le) [Smo87]. This is the ω = -1 case of BitString.exists_agree_of_phaseChar and BitString.card_le_of_forall_exists_agree in CslibFrontier.Foundations.BooleanAnalysis.LowDegreePhase, since chi F = phaseChar (-1).

Main results #

References #

theorem Cslib.BitString.exists_agree_of_parity {F : Type u_1} [Field F] {ι : Type u_2} [Fintype ι] [Invertible 2] {D : ℕ} {Q : (ι → Bool) → F} (hQ : Q ∈ lowDegree F ι D) (G : Finset (ι → Bool)) (hG : ∀ x ∈ G, Q x = chi F Finset.univ x) (f : (ι → Bool) → F) :
∃ p ∈ lowDegree F ι (Fintype.card ι / 2 + D), ∀ x ∈ G, p x = f x

Arora–Barak Lemma 13.6 Arora and Barak, Lemma 13.6, printed p. 241 / PDF p. 257, [Smo87]: if Q has degree at most D and agrees with the character of all coordinates on G, every function agrees on G with a function of degree at most |ι| / 2 + D. By lowDegree_eq_signSpan, such a function is a sum of ±1 monomials a_S ∏ i ∈ S, (-1) ^ xᵢ with #S ≤ |ι| / 2 + D; the source takes F = GF(3) and D = √n.

theorem Cslib.BitString.card_agree_parityOn_univ_le {F : Type u_1} [Field F] {ι : Type u_2} [Fintype ι] [DecidableEq ι] [DecidableEq F] [Invertible 2] {D : ℕ} {P : (ι → Bool) → F} (hP : P ∈ lowDegree F ι D) :
{x : ι → Bool | P x = bitVal F (parityOn Finset.univ x)}.card ≤ {S : Finset ι | S.card ≤ Fintype.card ι / 2 + D}.card

Parity is far from low-degree functions. A function of degree at most D agrees with the parity of all coordinates on at most as many inputs as there are sets of at most |ι| / 2 + D coordinates.

theorem Cslib.BitString.card_agree_parity_le {F : Type u_1} [Field F] [DecidableEq F] [Invertible 2] {n D : ℕ} {P : BitString n → F} (hP : P ∈ lowDegree F (Fin n) D) :
{x : BitString n | P x = bitVal F (parity n x)}.card ≤ {S : Finset (Fin n) | S.card ≤ n / 2 + D}.card

Parity is far from low-degree functions. A function of degree at most D agrees with parity on at most as many inputs as there are sets of at most n / 2 + D coordinates.