Documentation

CslibFrontier.Foundations.BooleanAnalysis.LowDegreeMoments

Moments of low-degree functions #

Consequences of the Bonami Lemma ‖f‖_q ≤ √(q - 1) ^ k ‖f‖_2 (BitString.lpNorm_le_sqrt_pow_mul_lpNorm_two) for a real function f of degree at most k on the cube O'Donnell, Section 9.5:

O'Donnell states the comparison for 1 ≤ p ≤ 2, proves the case p = 1 and leaves general p to O'Donnell, Exercise 9.15; the same proof gives every 0 < p ≤ 2. For ε > 0, the exponent 2 lies between p and 2 + ε, so the log-convexity of moments (Fintype.expect_rpow_le_rpow_mul_rpow) and the Bonami Lemma at q = 2 + ε bound ‖f‖_2 by (1 + ε) ^ (k ((2 / p - 1) / ε + (1 / p - 1 / 2))) times ‖f‖_p. As log (1 + ε) ≤ ε, the logarithm of this factor is at most k (2 / p - 1) + O(ε), and we let ε → 0. The tail bound is Markov's inequality for |f| ^ q with q = t ^ (2 / k) / e ≥ 2, and the one-sided bound is Cauchy–Schwarz for f - 𝔼 f against the indicator of f > 𝔼 f, combined with the case p = 1.

Main results #

References #

theorem Cslib.BitString.lpNorm_two_le_exp_mul_lpNorm {ι : Type u_1} [Fintype ι] [DecidableEq ι] {p : ℝ} (hp₀ : 0 < p) (hp₂ : p ≤ 2) {k : ℕ} {f : (ι → Bool) → ℝ} (hf : f ∈ lowDegree ℝ ι k) :
lpNorm 2 f ≤ Real.exp (↑k * (2 / p - 1)) * lpNorm p f

The L^p–L^2 comparison for low-degree functions: if f has degree at most k and 0 < p ≤ 2, then ‖f‖_2 ≤ e ^ (k (2 / p - 1)) ‖f‖_p O'Donnell, Theorem 9.22. The book states the range 1 ≤ p ≤ 2 and leaves p ≠ 1 to O'Donnell, Exercise 9.15; the proof covers 0 < p < 1 as well.

theorem Cslib.BitString.lpNorm_two_le_exp_mul_lpNorm_one {ι : Type u_1} [Fintype ι] [DecidableEq ι] {k : ℕ} {f : (ι → Bool) → ℝ} (hf : f ∈ lowDegree ℝ ι k) :
lpNorm 2 f ≤ Real.exp ↑k * lpNorm 1 f

The L^1–L^2 comparison for low-degree functions: if f has degree at most k, then ‖f‖_2 ≤ e ^ k ‖f‖_1 O'Donnell, Theorem 9.22.

theorem Cslib.BitString.exp_neg_two_mul_le_of_sq_expect_abs_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {k : ℕ} {f : (ι → Bool) → ℝ} {C : ℝ} (hf : f ∈ lowDegree ℝ ι k) (hm : 0 < Finset.univ.expect fun (x : ι → Bool) => f x ^ 2) (hC : (Finset.univ.expect fun (x : ι → Bool) => |f x|) ^ 2 ≤ C * Finset.univ.expect fun (x : ι → Bool) => f x ^ 2) :
Real.exp (-(2 * ↑k)) ≤ C

If a function f ≢ 0 of degree at most k has (𝔼 |f|) ^ 2 ≤ C 𝔼 f ^ 2, then e ^ (-2 k) ≤ C: the squared L^1–L^2 comparison 𝔼 f ^ 2 ≤ e ^ (2 k) (𝔼 |f|) ^ 2 (lpNorm_two_le_exp_mul_lpNorm_one) and the hypothesis give 𝔼 f ^ 2 ≤ e ^ (2 k) C 𝔼 f ^ 2. This is the last step of both Theorem 9.24 (exp_neg_two_mul_div_four_le_dens_lt) and the Gotsman–Linial Theorem O'Donnell, Theorem 5.9.

theorem Cslib.BitString.dens_le_exp_neg_mul_rpow {ι : Type u_1} [Fintype ι] [DecidableEq ι] {k : ℕ} {f : (ι → Bool) → ℝ} (hf : f ∈ lowDegree ℝ ι k) (hf0 : 0 < lpNorm 2 f) {t : ℝ} (ht : √(2 * Real.exp 1) ^ k ≤ t) :
↑{x : ι → Bool | t * lpNorm 2 f ≤ |f x|}.dens ≤ Real.exp (-(↑k / (2 * Real.exp 1) * t ^ (2 / ↑k)))

The tail bound for low-degree functions: if f ≢ 0 has degree at most k and t ≥ √(2 e) ^ k, then Pr[|f| ≥ t ‖f‖_2] ≤ exp (-(k / (2 e)) t ^ (2 / k)) O'Donnell, Theorem 9.23. The hypothesis ‖f‖_2 > 0 replaces the book's normalization ‖f‖_2 = 1: for f = 0 the event is everything.

theorem Cslib.BitString.exp_neg_two_mul_div_four_le_dens_lt {ι : Type u_1} [Fintype ι] [DecidableEq ι] {k : ℕ} {f : (ι → Bool) → ℝ} (hf : f ∈ lowDegree ℝ ι k) (hV : 0 < Finset.univ.expect fun (x : ι → Bool) => (f x - Finset.univ.expect fun (y : ι → Bool) => f y) ^ 2) :
Real.exp (-(2 * ↑k)) / 4 ≤ ↑{x : ι → Bool | (Finset.univ.expect fun (y : ι → Bool) => f y) < f x}.dens

One-sided anticoncentration for low-degree functions: a nonconstant function f of degree at most k exceeds its mean with probability at least e ^ (-2 k) / 4 O'Donnell, Theorem 9.24.

Khintchine's inequality #

theorem Cslib.BitString.sum_mul_signVal_mem_lowDegree_one {ι : Type u_1} [Fintype ι] (a : ι → ℝ) :
(fun (x : ι → Bool) => ∑ i : ι, a i * signVal (x i)) ∈ lowDegree ℝ ι 1

A linear form x ↦ ∑ᵢ aᵢ xᵢ in the coordinate signs has degree at most one.

theorem Cslib.BitString.lpNorm_two_sum_mul_signVal {ι : Type u_1} [Fintype ι] [DecidableEq ι] (a : ι → ℝ) :
(lpNorm 2 fun (x : ι → Bool) => ∑ i : ι, a i * signVal (x i)) = √(∑ i : ι, a i ^ 2)

A linear form ℓ = ∑ᵢ aᵢ xᵢ in uniformly random signs has ‖ℓ‖_2 = √(∑ᵢ aᵢ ^ 2): the unbiasedness of the tug-of-war estimator (Probability.IsKWiseIndependentHash.expect_sq_sum_mul_sign) for the identity hash family.

theorem Cslib.BitString.lpNorm_sum_mul_signVal_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {q : ℝ} (hq : 2 ≤ q) (a : ι → ℝ) :
(lpNorm q fun (x : ι → Bool) => ∑ i : ι, a i * signVal (x i)) ≤ √(q - 1) * √(∑ i : ι, a i ^ 2)

Khintchine's inequality, upper bound: for q ≥ 2, a linear form ℓ = ∑ᵢ aᵢ xᵢ in uniformly random signs has ‖ℓ‖_q ≤ √(q - 1) √(∑ᵢ aᵢ ^ 2), the case k = 1 of the Bonami Lemma O'Donnell, Theorem 9.21.

theorem Cslib.BitString.sqrt_sum_sq_le_exp_mul_lpNorm {ι : Type u_1} [Fintype ι] [DecidableEq ι] {p : ℝ} (hp₀ : 0 < p) (hp₂ : p ≤ 2) (a : ι → ℝ) :
√(∑ i : ι, a i ^ 2) ≤ Real.exp (2 / p - 1) * lpNorm p fun (x : ι → Bool) => ∑ i : ι, a i * signVal (x i)

Khintchine's inequality, lower bound: for 0 < p ≤ 2, a linear form ℓ = ∑ᵢ aᵢ xᵢ in uniformly random signs has √(∑ᵢ aᵢ ^ 2) ≤ e ^ (2 / p - 1) ‖ℓ‖_p, the case k = 1 of the L^p–L^2 comparison O'Donnell, Theorem 9.22.