Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Complexity.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3053,7 +3053,9 @@ public import Complexity.Probability.PairwiseIndependent
public import Complexity.Probability.PairwiseIndependentHash
public import Complexity.Probability.PairwiseIndependentHash.Affine
public import Complexity.Probability.PairwiseIndependentHash.AtomChannels
public import Complexity.Probability.PairwiseIndependentHash.ConditionalAveraging
public import Complexity.Probability.PairwiseIndependentHash.DetectorChannels
public import Complexity.Probability.PairwiseIndependentHash.FrameChannel
public import Complexity.Probability.PairwiseIndependentHash.HeavyCount
public import Complexity.Probability.PairwiseIndependentHash.HierarchyChannels
public import Complexity.Probability.PairwiseIndependentHash.Retention
Expand Down
14 changes: 14 additions & 0 deletions Complexity/Foundations/Combinatorics/Expander/Mixing.lean
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ says that spectral expanders are edge expanders [Arora and Barak, Section 21.2][
expectations plus the correlation of the centered functions.
* `Cslib.RotationMap.sq_expect_mul_walk_pow_sub_le`: the mixing lemma for functions and walks of
any length.
* `Cslib.RotationMap.expect_walk_pow_sub_expect_sq_le`: walks of length `t` contract the
variance by `λ(G) ^ (2 t)`.
* `Cslib.RotationMap.abs_card_interedges_sub_le`,
`Cslib.RotationMap.abs_card_interedges_sub_le_mul_sqrt`: the expander mixing lemma.
* `Cslib.RotationMap.le_card_interedges_compl_of_expect_mul_walk_le`,
Expand Down Expand Up @@ -105,6 +107,18 @@ theorem expect_mul_walk_pow_eq (t : ℕ) (f g : V → ℝ) :
Fintype.expect_const]
ring

/-- **Variance decay along walks**: a walk of length `t` multiplies the variance of a function,
its second moment about the mean, by at most `λ(G) ^ (2 t)`; the mean is preserved by
`expect_walk_pow`. -/
theorem expect_walk_pow_sub_expect_sq_le (t : ℕ) (f : V → ℝ) :
𝔼 v, ((G.walk ^ t) f v - 𝔼 w, f w) ^ 2 ≤
G.spectralExpansion ^ (2 * t) * 𝔼 v, (f v - 𝔼 w, f w) ^ 2 := by
have hf : (G.walk ^ t) (fun w ↦ f w - 𝔼 u, f u) = fun v ↦ (G.walk ^ t) f v - 𝔼 u, f u := by
rw [show (fun w ↦ f w - 𝔼 u, f u) = f - fun _ ↦ 𝔼 u, f u from rfl, map_sub, walk_pow_const]
rfl
have h := G.expect_walk_pow_sq_le_spectralExpansion_pow_mul (expect_sub_expect f) t
rwa [hf] at h

/-- **The mixing lemma for functions**: the correlation `𝔼 v, f v * (G.walk ^ t) g v` of `f` with
`g` along walks of length `t` differs from the product of their expectations by at most
`λ(G) ^ t` times their standard deviations. Squared: the square of the difference is at most
Expand Down
Loading
Loading