Documentation

CslibFrontier.Foundations.BooleanAnalysis.LargeCoefficient

A large low-degree Fourier coefficient #

A Boolean function f of variance at least 1/2 has a nonempty set S with |S| ≤ 8 I[f] and f̂(S)² ≥ exp(-O(I[f]²)) O'Donnell, Corollary 9.32; it is stated here for any bound K ≥ I[f] (BitString.exists_le_fourierCoeff_sq_of_le_expect_sub_expect_sq). By Friedgut's junta theorem at ε = 1/8 (BitString.exists_sum_filter_not_subset_fourierCoeff_sq_le_of_totalInfluence_le), a set J of at most M = (256/9) K³ 81^{8 K} = exp(O(K)) coordinates carries all but 1/8 of the Fourier weight on its subsets, and the weight above level 8 K is at most 1/8 (BitString.sum_fourierCoeff_sq_le_of_totalInfluence_le). The weight on the nonempty sets is the variance (BitString.expect_sub_expect_sq_eq_sum_fourierCoeff_sq), at least 1/2, so the nonempty subsets of J of size at most 8 K, of which there are at most (M + 1)^{⌊8 K⌋} = exp(O(K²)), carry weight at least 1/4, and one of them carries at least its share.

A function of variance below 1/2 instead has f̂(∅)² > 1/2 O'Donnell, Remark 9.33: f̂(∅) is the mean (BitString.fourierCoeff_empty) and the variance is one minus the squared mean (BitString.expect_sub_expect_sq_signVal).

Main results #

Usage #

Open Cslib.BitString. For hvar : 1 / 2 ≤ 𝔼 x, (signVal (f x) - 𝔼 y, signVal (f y)) ^ 2 and hK : totalInfluence (fun x => signVal (f x)) ≤ K, exists_le_fourierCoeff_sq_of_le_expect_sub_expect_sq f hvar hK gives a nonempty S with #S ≤ 8 * K and fourierCoeff (fun x => signVal (f x)) S ^ 2 at least 1 / (4 * (M + 1) ^ m), where M = 256 / 9 * K ^ 3 * 81 ^ (8 * K) and m = ⌊8 * K⌋₊. Taking K to be the total influence gives the book's statement. The spectral step it uses, exists_sum_filter_not_subset_fourierCoeff_sq_le_of_totalInfluence_le f hε hK for hε : 0 < ε (in CslibFrontier.Foundations.BooleanAnalysis.FriedgutJunta), gives a set J of at most 4 * K ^ 3 / (9 * ε ^ 2) * 81 ^ (K / ε) coordinates such that the Fourier weight on the sets that are not subsets of J is at most ε. With sum_fourierCoeff_sq_le_of_totalInfluence_le (Proposition 3.2) it gives the book's spectral form of Friedgut's junta theorem, and Cslib.BitString.exists_dependsOn_two_mul_hammingDist_div_le_sum_not_subset_fourierCoeff_sq f J turns its J into a J-junta at relative Hamming distance at most ε / 2; this is how exists_dependsOn_hammingDist_div_le_of_totalInfluence_le is proved. Remark 9.33 needs no separate lemma: combine fourierCoeff_empty with expect_sub_expect_sq_signVal (in CslibFrontier.Foundations.BooleanAnalysis.Variance). Checked instances, the spectral step on a constant and the corollary on the dictator on one bit, are in CslibFrontierTests/BooleanAnalysisLargeCoefficient.lean.

References #

theorem Cslib.BitString.exists_le_fourierCoeff_sq_of_le_expect_sub_expect_sq {ι : Type u_1} [Fintype ι] [DecidableEq ι] (f : (ι → Bool) → Bool) {K : ℝ} (hvar : 1 / 2 ≤ Finset.univ.expect fun (x : ι → Bool) => (signVal (f x) - Finset.univ.expect fun (y : ι → Bool) => signVal (f y)) ^ 2) (hK : (totalInfluence fun (x : ι → Bool) => signVal (f x)) ≤ K) :
∃ (S : Finset ι), S ≠ ∅ ∧ ↑S.card ≤ 8 * K ∧ 1 / (4 * (256 / 9 * K ^ 3 * 81 ^ (8 * K) + 1) ^ ⌊8 * K⌋₊) ≤ fourierCoeff (fun (x : ι → Bool) => signVal (f x)) S ^ 2

A large low-degree Fourier coefficient O'Donnell, Corollary 9.32: if a Boolean function, read as signs F, has variance at least 1/2 and total influence at most K, then some nonempty S with |S| ≤ 8 K has F̂(S)² ≥ 1 / (4 (M + 1)^{⌊8 K⌋}), where M = (256/9) K³ 81^{8 K} bounds the number of coordinates of Friedgut's junta theorem at ε = 1/8. Taking K = I[F] gives the book's statement; since K ≥ I[F] ≥ Var[F] ≥ 1/2, the bound is exp(-O(K²)).