Documentation

CslibFrontier.Foundations.BooleanAnalysis.PolynomialThresholdWeight

The low-degree Fourier weight of polynomial threshold functions #

A polynomial threshold function f of degree at most k (BitString.IsPTF k f) has Fourier weight W^{≤k}[f] = ∑_{|S| ≤ k} f̂(S) ^ 2 ≥ e ^ (-2 k) on the levels up to k (BitString.IsPTF.exp_neg_two_mul_le_sum_fourierCoeff_sq): this is the Gotsman–Linial Theorem [GL94] O'Donnell, Theorem 5.9.

Following O'Donnell, write f = sgn p with p of degree at most k. Then ‖p‖_1 = 𝔼 f p = ∑_{|S| ≤ k} f̂(S) p̂(S) ≤ √(W^{≤k}[f]) ‖p‖_2 by Plancherel's identity and Cauchy–Schwarz (BitString.sq_expect_abs_le_sum_fourierCoeff_sq_mul), and ‖p‖_2 ≤ e ^ k ‖p‖_1 by the L^1–L^2 comparison for low-degree functions (BitString.lpNorm_two_le_exp_mul_lpNorm_one, O'Donnell, Theorem 9.22). The bound e ^ (-2 k) cannot be improved beyond 2 ^ (1 - k) O'Donnell, Exercise 5.11.

For linear threshold functions, k = 1, the Khintchine–Kahane inequality ‖p‖_2 ≤ √2 ‖p‖_1 (BitString.expect_sq_le_two_mul_expect_abs_sq_of_mem_lowDegree_one, in CslibFrontier.Foundations.BooleanAnalysis.KhintchineKahane) replaces e by √2: every linear threshold function has W^{≤1}[f] ≥ 1/2 O'Donnell, Theorem 5.2. The theorem (BitString.one_half_le_sum_fourierCoeff_sq_of_nonneg_mul) takes f = sgn ℓ in the form 0 ≤ f(x) ℓ(x) for a nonzero ℓ of degree at most one, so ℓ may vanish on the cube and f may take either value there; BitString.IsPTF.one_half_le_sum_fourierCoeff_sq is the case IsPTF 1 f.

Main results #

References #

theorem Cslib.BitString.sq_expect_abs_le_sum_fourierCoeff_sq_mul {ι : Type u_1} [Fintype ι] [DecidableEq ι] {T : Finset (Finset ι)} {f : (ι → Bool) → Bool} {p : (ι → Bool) → ℝ} (hpT : ∀ S ∉ T, fourierCoeff p S = 0) (hp : ∀ (x : ι → Bool), 0 ≤ signVal (f x) * p x) :
(Finset.univ.expect fun (x : ι → Bool) => |p x|) ^ 2 ≤ (∑ S ∈ T, fourierCoeff (fun (x : ι → Bool) => signVal (f x)) S ^ 2) * Finset.univ.expect fun (x : ι → Bool) => p x ^ 2

The Cauchy–Schwarz step for threshold functions: if f, read as signs, agrees in sign with p and the Fourier coefficients of p vanish outside T, then (𝔼 |p|) ^ 2 ≤ (∑_{S ∈ T} f̂(S) ^ 2) 𝔼 p ^ 2, since 𝔼 |p| = 𝔼 f p = ∑_{S ∈ T} f̂(S) p̂(S) by Plancherel's identity O'Donnell, proofs of Theorems 5.2 and 5.9.

theorem Cslib.BitString.IsPTF.exp_neg_two_mul_le_sum_fourierCoeff_sq {ι : Type u_1} [Fintype ι] [DecidableEq ι] {k : ℕ} {f : (ι → Bool) → Bool} (hf : IsPTF k f) :
Real.exp (-(2 * ↑k)) ≤ ∑ S : Finset ι with S.card ≤ k, fourierCoeff (fun (x : ι → Bool) => signVal (f x)) S ^ 2

The Gotsman–Linial Theorem: a polynomial threshold function f of degree at most k, read as signs, has Fourier weight at least e ^ (-2 k) on the sets of at most k coordinates [GL94] O'Donnell, Theorem 5.9.

theorem Cslib.BitString.one_half_le_sum_fourierCoeff_sq_of_nonneg_mul {ι : Type u_1} [Fintype ι] [DecidableEq ι] {f : (ι → Bool) → Bool} {ℓ : (ι → Bool) → ℝ} (hℓ : ℓ ∈ lowDegree ℝ ι 1) (hℓ0 : ℓ ≠ 0) (hf : ∀ (x : ι → Bool), 0 ≤ signVal (f x) * ℓ x) :
1 / 2 ≤ ∑ S : Finset ι with S.card ≤ 1, fourierCoeff (fun (x : ι → Bool) => signVal (f x)) S ^ 2

Linear threshold functions have Fourier weight at least 1/2 up to level one O'Donnell, Theorem 5.2: if f, read as signs, agrees in sign with a nonzero real function ℓ of degree at most one (0 ≤ f(x) ℓ(x) for every x, so f = sgn ℓ wherever ℓ ≠ 0), then its Fourier weight on the sets of at most one coordinate is at least 1/2. By Cauchy–Schwarz (𝔼 |ℓ|) ^ 2 ≤ W^{≤1}[f] 𝔼 ℓ ^ 2, and 𝔼 ℓ ^ 2 ≤ 2 (𝔼 |ℓ|) ^ 2 by the Khintchine–Kahane inequality (expect_sq_le_two_mul_expect_abs_sq_of_mem_lowDegree_one). The assumption ℓ ≠ 0 is needed: every f agrees in sign with ℓ = 0.

theorem Cslib.BitString.IsPTF.one_half_le_sum_fourierCoeff_sq {ι : Type u_1} [Fintype ι] [DecidableEq ι] {f : (ι → Bool) → Bool} (hf : IsPTF 1 f) :
1 / 2 ≤ ∑ S : Finset ι with S.card ≤ 1, fourierCoeff (fun (x : ι → Bool) => signVal (f x)) S ^ 2

Theorem 5.2 for IsPTF 1 O'Donnell, Theorem 5.2: the sign of a function of degree at most one that vanishes nowhere has Fourier weight at least 1/2 up to level one.