Documentation

CslibFrontier.Foundations.BooleanAnalysis.InvarianceNoise

Invariance on the cube for Lipschitz tests and noise-smoothed functions #

O'Donnell, Corollaries 11.68 and 11.69. Write f(y) for the Fourier expansion of f : (ι → Bool) → ℝ evaluated at independent random variables y i whose laws μ i satisfy Hypothesis 11.65 (for instance standard Gaussians, hasInvarianceMoments_gaussianReal), and E[ψ(f(x))] for the expectation 𝔼 x, ψ (f x) over uniformly random bits.

Inequality (11.31) is Corollary 11.68 on the cube: if f has degree at most k, Var[f] ≤ 1 and every influence is at most ε, then |E[ψ(f(x))] - E[ψ(f(y))]| ≤ 9 K · 2ᵏ · ε^(1/4) for K-Lipschitz ψ. Splitting f = f^{≤k} + f^{>k} extends it to all f: if Var[f] ≤ 1 and f^{≤k} has influences at most ε, then |E[ψ(f(x))] - E[ψ(f(y))]| ≤ 9 K · 2ᵏ · ε^(1/4) + 2 K ‖f^{>k}‖₂ (inequality (11.32)), where ‖f^{>k}‖₂² = ∑_{|S| > k} f̂(S)².

Applied to f = T_{1-δ} h for h with Var[h] ≤ 1 and no (ε, δ)-notable coordinates, i.e. Inf_i^{(1-δ)}[h] ≤ ε for every i O'Donnell, Definition 6.9, the tail is at most (1 - δ)ᵏ for every k, which gives inequality (11.33) (the book weakens (1 - δ)ᵏ to exp(-k δ)); choosing k = ⌊ln(1/ε) / 3⌋ yields |E[ψ(T_{1-δ}h(x))] - E[ψ(T_{1-δ}h(y))]| ≤ 15 K · ε^(δ/3) for ε ≤ 1 and δ ≤ 1/20.

Main results #

References #

Corollary 11.68 on the cube #

theorem Cslib.BitString.abs_expect_comp_sub_integral_comp_multilinearEval_le_of_lipschitzWith {ι : Type u_1} [Fintype ι] [DecidableEq ι] (μ : ι → MeasureTheory.Measure ℝ) [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {ψ : ℝ → ℝ} {K : NNReal} (hμ : ∀ (i : ι), ProbabilityTheory.HasInvarianceMoments (μ i)) {f : (ι → Bool) → ℝ} {k : ℕ} (hf : totalDegree f ≤ k) (hvar : (Finset.univ.expect fun (x : ι → Bool) => (f x - Finset.univ.expect fun (y : ι → Bool) => f y) ^ 2) ≤ 1) {ε : ℝ} (hε0 : 0 ≤ ε) (hε : ∀ (i : ι), influence i f ≤ ε) (hψ : LipschitzWith K ψ) :
|(Finset.univ.expect fun (x : ι → Bool) => ψ (f x)) - ∫ (y : ι → ℝ), ψ (ProbabilityTheory.multilinearEval (fourierCoeff f) y) ∂MeasureTheory.Measure.pi μ| ≤ 9 * ↑K * 2 ^ k * ε ^ (1 / 4)

Corollary 11.68 on the cube, inequality (11.31) of O'Donnell, Corollary 11.68: if f on the cube has degree at most k, variance at most 1 and every influence at most ε ≥ 0, then for every K-Lipschitz ψ : ℝ → ℝ, the expectation of ψ ∘ f at uniformly random bits differs from that of ψ applied to the Fourier expansion of f at y by at most 9 K · 2ᵏ · ε^(1/4), where the y i are independent with laws μ i satisfying Hypothesis 11.65. The book leaves the hypothesis Var[f] ≤ 1 implicit in (11.31); it is inherited from Corollary 11.68.

theorem Cslib.BitString.abs_expect_comp_sub_le_sqrt {ι : Type u_1} [Fintype ι] [DecidableEq ι] {ψ : ℝ → ℝ} {K : NNReal} (hψ : LipschitzWith K ψ) (f g : (ι → Bool) → ℝ) :
|(Finset.univ.expect fun (x : ι → Bool) => ψ (f x)) - Finset.univ.expect fun (x : ι → Bool) => ψ (g x)| ≤ ↑K * √(∑ S : Finset ι, (fourierCoeff f S - fourierCoeff g S) ^ 2)

On the cube, |𝔼 x, ψ (f x) - 𝔼 x, ψ (g x)| ≤ K ‖f - g‖₂ for K-Lipschitz ψ, where ‖f - g‖₂² = ∑ S, (f̂(S) - ĝ(S))².

Corollary 11.69, first statement #

theorem Cslib.BitString.abs_expect_comp_sub_integral_comp_multilinearEval_le_add_sqrt {ι : Type u_1} [Fintype ι] [DecidableEq ι] (μ : ι → MeasureTheory.Measure ℝ) [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {ψ : ℝ → ℝ} {K : NNReal} (hμ : ∀ (i : ι), ProbabilityTheory.HasInvarianceMoments (μ i)) {f : (ι → Bool) → ℝ} (k : ℕ) (hvar : (Finset.univ.expect fun (x : ι → Bool) => (f x - Finset.univ.expect fun (y : ι → Bool) => f y) ^ 2) ≤ 1) {ε : ℝ} (hε0 : 0 ≤ ε) (hε : ∀ (t : ι), ∑ S : Finset ι with t ∈ S ∧ S.card ≤ k, fourierCoeff f S ^ 2 ≤ ε) (hψ : LipschitzWith K ψ) :
|(Finset.univ.expect fun (x : ι → Bool) => ψ (f x)) - ∫ (y : ι → ℝ), ψ (ProbabilityTheory.multilinearEval (fourierCoeff f) y) ∂MeasureTheory.Measure.pi μ| ≤ 9 * ↑K * 2 ^ k * ε ^ (1 / 4) + 2 * ↑K * √(∑ S : Finset ι with k < S.card, fourierCoeff f S ^ 2)

Corollary 11.69, first statement, inequality (11.32) of O'Donnell, Corollary 11.69: if f on the cube has variance at most 1 and its low-degree part f^{≤k} has every influence Inf_t[f^{≤k}] = ∑_{t ∈ S, |S| ≤ k} f̂(S)² at most ε ≥ 0, then for every K-Lipschitz ψ : ℝ → ℝ, |𝔼 x, ψ (f x) - E[ψ(f(y))]| ≤ 9 K · 2ᵏ · ε^(1/4) + 2 K ‖f^{>k}‖₂, where ‖f^{>k}‖₂ = √(∑_{|S| > k} f̂(S)²) and f(y) is the Fourier expansion of f at independent y i with laws μ i satisfying Hypothesis 11.65.

Corollary 11.69, second statement #

theorem Cslib.BitString.abs_expect_comp_noiseOp_sub_integral_comp_multilinearEval_le_add_pow {ι : Type u_1} [Fintype ι] [DecidableEq ι] (μ : ι → MeasureTheory.Measure ℝ) [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {ψ : ℝ → ℝ} {K : NNReal} (hμ : ∀ (i : ι), ProbabilityTheory.HasInvarianceMoments (μ i)) {h : (ι → Bool) → ℝ} (k : ℕ) (hvar : (Finset.univ.expect fun (x : ι → Bool) => (h x - Finset.univ.expect fun (y : ι → Bool) => h y) ^ 2) ≤ 1) {ε δ : ℝ} (hε0 : 0 ≤ ε) (hδ0 : 0 ≤ δ) (hδ1 : δ ≤ 1) (hε : ∀ (i : ι), stableInfluence (1 - δ) i h ≤ ε) (hψ : LipschitzWith K ψ) :
|(Finset.univ.expect fun (x : ι → Bool) => ψ (noiseOp (1 - δ) h x)) - ∫ (y : ι → ℝ), ψ (ProbabilityTheory.multilinearEval (fourierCoeff (noiseOp (1 - δ) h)) y) ∂MeasureTheory.Measure.pi μ| ≤ 9 * ↑K * 2 ^ k * ε ^ (1 / 4) + 2 * ↑K * (1 - δ) ^ k

Inequality (11.33) of O'Donnell, Corollary 11.69: if h on the cube has variance at most 1 and no (ε, δ)-notable coordinates, i.e. Inf_i^{(1-δ)}[h] ≤ ε for every i, with 0 ≤ δ ≤ 1 and ε ≥ 0, then for every k and every K-Lipschitz ψ, |E[ψ(T_{1-δ}h(x))] - E[ψ(T_{1-δ}h(y))]| ≤ 9 K · 2ᵏ · ε^(1/4) + 2 K (1 - δ)ᵏ, where T_{1-δ}h(y) is the Fourier expansion of T_{1-δ}h at independent y i with laws μ i satisfying Hypothesis 11.65. This is the sharper form of (11.33): the book then bounds (1 - δ)ᵏ ≤ exp(-k δ).

theorem Cslib.BitString.abs_expect_comp_noiseOp_sub_integral_comp_multilinearEval_le_of_lipschitzWith {ι : Type u_1} [Fintype ι] [DecidableEq ι] (μ : ι → MeasureTheory.Measure ℝ) [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {ψ : ℝ → ℝ} {K : NNReal} (hμ : ∀ (i : ι), ProbabilityTheory.HasInvarianceMoments (μ i)) {h : (ι → Bool) → ℝ} (hvar : (Finset.univ.expect fun (x : ι → Bool) => (h x - Finset.univ.expect fun (y : ι → Bool) => h y) ^ 2) ≤ 1) {ε δ : ℝ} (hε0 : 0 ≤ ε) (hε1 : ε ≤ 1) (hδ0 : 0 ≤ δ) (hδ : δ ≤ 1 / 20) (hε : ∀ (i : ι), stableInfluence (1 - δ) i h ≤ ε) (hψ : LipschitzWith K ψ) :
|(Finset.univ.expect fun (x : ι → Bool) => ψ (noiseOp (1 - δ) h x)) - ∫ (y : ι → ℝ), ψ (ProbabilityTheory.multilinearEval (fourierCoeff (noiseOp (1 - δ) h)) y) ∂MeasureTheory.Measure.pi μ| ≤ 15 * ↑K * ε ^ (δ / 3)

Corollary 11.69, second statement O'Donnell, Corollary 11.69: if h on the cube has variance at most 1 and no (ε, δ)-notable coordinates, i.e. Inf_i^{(1-δ)}[h] ≤ ε for every i, with 0 ≤ ε ≤ 1 and 0 ≤ δ ≤ 1/20, then for every K-Lipschitz ψ : ℝ → ℝ, |E[ψ(T_{1-δ}h(x))] - E[ψ(T_{1-δ}h(y))]| ≤ 15 K · ε^(δ/3), where T_{1-δ}h(y) is the Fourier expansion of T_{1-δ}h at independent y i with laws μ i satisfying Hypothesis 11.65 (for instance standard Gaussians).