Documentation

CslibFrontier.Foundations.BooleanAnalysis.NoiseSampling

Product-sampling characterization of noise stability #

Suppose each coordinate i of two bit strings x, y : ι → Bool is generated independently from a uniformly random sample π i in a finite nonempty type α via x i = u (π i) and y i = v (π i). If the signs signVal (u a) and signVal (v a) each have mean zero and their product averages to ρ, then for every F : (ι → Bool) → ℝ the expectation of F x * F y over a uniformly random π : ι → α equals the noise stability Stab_ρ[F] (BitString.expect_mul_comp_eq_noiseStability).

The proof expands F in the Fourier basis and factors the expectation of χ_S(x) χ_T(y) across coordinates (Fintype.prod_expect): coordinates outside S ∪ T contribute 1, coordinates in the symmetric difference contribute 0, and coordinates in S ∩ T contribute ρ, leaving ∑_S ρ ^ |S| F̂(S) ^ 2 = Stab_ρ[F].

Main results #

theorem Cslib.BitString.expect_mul_comp_eq_noiseStability {ι : Type u_1} [Fintype ι] [DecidableEq ι] {α : Type u_2} [Fintype α] [Nonempty α] (u v : α → Bool) {ρ : ℝ} (hu : (Finset.univ.expect fun (a : α) => signVal (u a)) = 0) (hv : (Finset.univ.expect fun (a : α) => signVal (v a)) = 0) (huv : (Finset.univ.expect fun (a : α) => signVal (u a) * signVal (v a)) = ρ) (F : (ι → Bool) → ℝ) :
(Finset.univ.expect fun (π : ι → α) => (F fun (i : ι) => u (π i)) * F fun (i : ι) => v (π i)) = noiseStability ρ F

Product-sampling characterization of noise stability: two strings whose coordinate pairs (u (π i), v (π i)) are independent draws, for a uniform π i : α, with mean-zero signs of correlation ρ, correlate F with itself by Stab_ρ[F].