Documentation

CslibFrontier.Foundations.Combinatorics.Expander.BoxProduct

Box products of permutation multigraphs #

Two families of permutations σ : K → Equiv.Perm V and τ : K' → Equiv.Perm W give the family boxProdPerms σ τ : K ⊕ K' → Equiv.Perm (V × W) that moves one coordinate at a time: σ k on the first, τ k' on the second. Its multigraph ofPerms (boxProdPerms σ τ) is the box (Cartesian) product of the multigraphs of σ and τ. Its random walk picks a coordinate, with probability proportional to the number of its permutations, and takes a step there.

A Poincaré inequality with constant c for both families gives one for the product with the same constant (mul_expect_sq_le_boxProdPerms). The proof splits a function of expectation zero on V × W orthogonally into its averages over the fibers {v} × W and a part of average zero on every fiber. The second family controls the fiber part, and the first controls the fiber averages, whose changes along σ are at most the averages of the changes of the function (Jensen). This is the two-factor case of the tensorization of the spectral gap of product chains: the gap of the product walk is at least the smaller of the gaps of the factors, weighted by their shares of the degree (secondEigenvalue_ofPerms_boxProdPerms_le). For J factors of equal degree and gap γ, iterating gives the gap γ / J. This is the walk that the OpenAI preprint on derandomizing logarithmic space applies to a uniformly selected component of its sampling environment, with gap γ / J for J components OpenAI, proof of Lemma 6.2; the statements and proofs here are ours.

Main definitions #

Main results #

References #

def Cslib.RotationMap.boxProdPerms {V : Type u_1} {W : Type u_2} {K : Type u_3} {K' : Type u_4} (σ : K → Equiv.Perm V) (τ : K' → Equiv.Perm W) :
K ⊕ K' → Equiv.Perm (V × W)

The permutations of V × W that move one coordinate: σ k on the first, τ k' on the second. Their multigraph is the box product of the multigraphs of σ and τ.

@[simp]
theorem Cslib.RotationMap.boxProdPerms_inl {V : Type u_1} {W : Type u_2} {K : Type u_3} {K' : Type u_4} (σ : K → Equiv.Perm V) (τ : K' → Equiv.Perm W) (k : K) (p : V × W) :
(boxProdPerms σ τ (Sum.inl k)) p = ((σ k) p.1, p.2)
@[simp]
theorem Cslib.RotationMap.boxProdPerms_inr {V : Type u_1} {W : Type u_2} {K : Type u_3} {K' : Type u_4} (σ : K → Equiv.Perm V) (τ : K' → Equiv.Perm W) (k : K') (p : V × W) :
(boxProdPerms σ τ (Sum.inr k)) p = (p.1, (τ k) p.2)
theorem Cslib.RotationMap.mul_expect_sq_le_boxProdPerms {V : Type u_1} {W : Type u_2} {K : Type u_3} {K' : Type u_4} {σ : K → Equiv.Perm V} {τ : K' → Equiv.Perm W} [Fintype V] [Fintype W] [Fintype K] [Fintype K'] {c : ℝ} (hσ : ∀ (f : V → ℝ), (Finset.univ.expect fun (v : V) => f v) = 0 → (c * Finset.univ.expect fun (v : V) => f v ^ 2) ≤ ∑ k : K, Finset.univ.expect fun (v : V) => (f ((σ k) v) - f v) ^ 2) (hτ : ∀ (g : W → ℝ), (Finset.univ.expect fun (w : W) => g w) = 0 → (c * Finset.univ.expect fun (w : W) => g w ^ 2) ≤ ∑ k : K', Finset.univ.expect fun (w : W) => (g ((τ k) w) - g w) ^ 2) (f : V × W → ℝ) (hf : (Finset.univ.expect fun (p : V × W) => f p) = 0) :
(c * Finset.univ.expect fun (p : V × W) => f p ^ 2) ≤ ∑ k : K ⊕ K', Finset.univ.expect fun (p : V × W) => (f ((boxProdPerms σ τ k) p) - f p) ^ 2

Poincaré inequalities tensorize: if both families satisfy the Poincaré inequality c 𝔼 f² ≤ ∑ k, 𝔼 v, (f (σ k v) - f v) ^ 2 for every function f of expectation zero, then so does their box product, with the same constant.

theorem Cslib.RotationMap.secondEigenvalue_ofPerms_boxProdPerms_le {V : Type u_1} {W : Type u_2} {K : Type u_3} {K' : Type u_4} (σ : K → Equiv.Perm V) (τ : K' → Equiv.Perm W) [Fintype V] [Fintype W] [Fintype K] [Fintype K'] [Nonempty K] [Nonempty K'] :

The spectral gap of a box product: the second eigenvalue of the box product of two permutation multigraphs is at most 1 - min (|K| (1 - λ₂(σ))) (|K'| (1 - λ₂(τ))) / (|K| + |K'|). For factors with the same number of permutations, the gap is at least half the smaller gap of the factors.

theorem Cslib.RotationMap.spectralExpansion_lazy_ofPerms_boxProdPerms_le {V : Type u_1} {W : Type u_2} {K : Type u_3} {K' : Type u_4} (σ : K → Equiv.Perm V) (τ : K' → Equiv.Perm W) [Fintype V] [Fintype W] [Fintype K] [Fintype K'] [Nonempty K] [Nonempty K'] :

The lazy box product is an expander when both factors are: its spectral expansion is at most 1 - min (|K| (1 - λ₂(σ))) (|K'| (1 - λ₂(τ))) / (2 (|K| + |K'|)).