Documentation

CslibFrontier.Foundations.Combinatorics.Expander.Chernoff

The expander Chernoff bound #

A walk of length t on a graph with spectral expansion λ = λ(G), started at a uniformly random vertex, visits a set B of density β about β (t + 1) times: the fraction of its t + 1 vertices in B deviates from β by more than δ with probability at most 2 exp (-(1 - λ) δ² (t + 1) / 36) (Cslib.RotationMap.dens_filter_abs_visitCount_div_sub_dens_gt_le). This is Arora and Barak, Theorem 7.41 with the sign of the exponent corrected and a better constant; the draft's form is Cslib.RotationMap.dens_filter_abs_visitCount_div_sub_gt_lt.

The proof is the linear-algebra argument for walk Chernoff bounds. For a function g with mean zero and |g| ≤ 1, the moment-generating function 𝔼 exp (r ∑ᵢ g (Xᵢ)) is the average of the weighted walk with the constant weight P = exp (r g) (Cslib.RotationMap.expect_weightedWalk). One step x ↦ P * G.walk x changes the mean a and the mean-zero part y of x by a nonnegative 2 × 2 matrix: with ‖·‖ the root mean square and |P - 1| ≤ ε, |a'| ≤ 𝔼 P |a| + ε λ ‖y‖ and ‖y'‖ ≤ ε |a| + (1 + ε) λ ‖y‖. The potential |a| + θ ‖y‖ with θ = 4 r / (1 - λ) then grows by at most 1 + 9 r² / (1 - λ) per step when 4 r ≤ 1 - λ (Cslib.RotationMap.expect_exp_mul_sum_walkAt_le). Markov's inequality on each tail and a union bound give the two-sided bound (Cslib.RotationMap.dens_filter_le_abs_sum_walkAt_le).

Main results #

References #

theorem Cslib.RotationMap.expect_exp_mul_sum_walkAt_le {V : Type u_1} {D : Type u_2} [Fintype V] [Fintype D] (G : RotationMap V D) [Nonempty D] {g : V → ℝ} (hg : (Finset.univ.expect fun (v : V) => g v) = 0) (hg₁ : ∀ (v : V), |g v| ≤ 1) {r : ℝ} (hr : 0 ≤ r) (hrl : 4 * r ≤ 1 - G.spectralExpansion) (t : ℕ) :
(Finset.univ.expect fun (p : V × (Fin t → D)) => Real.exp (r * ∑ i ∈ Finset.range (t + 1), g (G.walkAt p i))) ≤ Real.exp (9 * r ^ 2 * (↑t + 1) / (1 - G.spectralExpansion))

The moment-generating function of an expander walk. For g with mean zero and |g| ≤ 1, and 0 ≤ r with 4 r ≤ 1 - λ(G), a uniformly started walk of length t has 𝔼 exp (r ∑_{i ≤ t} g (Xᵢ)) ≤ exp (9 r² (t + 1) / (1 - λ(G))).

theorem Cslib.RotationMap.dens_filter_le_abs_sum_walkAt_le {V : Type u_1} {D : Type u_2} [Fintype V] [Fintype D] (G : RotationMap V D) [Nonempty D] {g : V → ℝ} (hg : (Finset.univ.expect fun (v : V) => g v) = 0) (hg₁ : ∀ (v : V), |g v| ≤ 1) {δ : ℝ} (hδ : 0 < δ) (t : ℕ) :
↑{p : V × (Fin t → D) | δ * (↑t + 1) ≤ |∑ i ∈ Finset.range (t + 1), g (G.walkAt p i)|}.dens ≤ 2 * Real.exp (-(1 - G.spectralExpansion) * δ ^ 2 * (↑t + 1) / 36)

The expander Chernoff bound for a function g with mean zero and |g| ≤ 1: the sum of g over the t + 1 vertices of a uniformly started walk of length t has absolute value at least δ (t + 1) with probability at most 2 exp (-(1 - λ(G)) δ² (t + 1) / 36).

theorem Cslib.RotationMap.dens_filter_abs_visitCount_div_sub_dens_gt_le {V : Type u_1} {D : Type u_2} [Fintype V] [Fintype D] (G : RotationMap V D) [DecidableEq V] [Nonempty D] (B : Finset V) {δ : ℝ} (hδ : 0 < δ) (t : ℕ) :
↑{p : V × (Fin t → D) | δ < |↑(G.visitCount B p) / (↑t + 1) - ↑B.dens|}.dens ≤ 2 * Real.exp (-(1 - G.spectralExpansion) * δ ^ 2 * (↑t + 1) / 36)

The expander Chernoff bound for visits to a set B, with constant 36: the fraction of the t + 1 vertices of a uniformly started walk of length t that lie in B deviates from the density of B by more than δ with probability at most 2 exp (-(1 - λ(G)) δ² (t + 1) / 36). This is Arora and Barak, Theorem 7.41 with the sign of the exponent corrected and the constant 60 improved to 36; the draft's form is dens_filter_abs_visitCount_div_sub_gt_lt.

theorem Cslib.RotationMap.dens_filter_abs_visitCount_div_sub_gt_lt {V : Type u_1} {D : Type u_2} [Fintype V] [Fintype D] (G : RotationMap V D) [DecidableEq V] [Nonempty D] (B : Finset V) {lam δ : ℝ} (hlam : G.spectralExpansion ≤ lam) (hδ : 0 < δ) (t : ℕ) :
↑{p : V × (Fin t → D) | δ < |↑(G.visitCount B p) / (↑t + 1) - ↑B.dens|}.dens < 2 * Real.exp (-(1 - lam) * δ ^ 2 * (↑t + 1) / 60)

Arora–Barak Theorem 7.41, the expander Chernoff bound, in the draft's form with the sign of the exponent corrected. Let G have spectral expansion at most λ, B a set of density β, and X₁, …, X_k the k = t + 1 vertices of a t-step walk from a uniformly random vertex. Then for every δ > 0, Pr[|∑ᵢ 1_B(Xᵢ) / k - β| > δ] < 2 exp (-(1 - λ) δ² k / 60). Arora and Barak, Theorem 7.41 (p. 145, PDF p. 161) prints the exponent as +(1 - λ) δ² k / 60, which makes the bound at least 2 and the theorem vacuous. The sharper constant 36 is dens_filter_abs_visitCount_div_sub_dens_gt_le.