Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_QED_M109.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 30 Nov 2026original source ↗

66 lines · 4.6 kBraw
/-From Prove2Me, definition `QED_M109` (https://prove2.me/definitions/4459135c-139c-47f7-ae0f-88c89dd22ccf). Apache-2.0 per Prove2Me's terms.-/import Mathlib /-! QED-M109: Are random Cayley graphs of S_n expanders?Pick two uniformly random permutations s, t of n symbols and run the random walk on the group they generate (with high probability all of S_n or A_n) that at each step multiplies by one of s, t, s^-1, t^-1 chosen uniformly. Is the spectral gap of this walk bounded below by a fixed positive constant, with probability tending to 1 as n grows? Specific bounded generating sets of S_n are known to give expanders, but for random generators the best proven gap still tends to 0 polynomially in n.Informal statement: For $\sigma,\tau\in S_n$ let $H=\langle\sigma,\tau\rangle$ and $Pf(x)=\tfrac14\sum_{g\in\{\sigma^{\pm1},\tau^{\pm1}\}}f(xg)$ on $\ell^2(H)$, with second-largest eigenvalue $\lambda_2(\sigma,\tau)$ (largest eigenvalue on $\{f:\sum_x f(x)=0\}$). Prove or disprove: there is an absolute $\varepsilon>0$ such that, for $\sigma,\tau$ independent and uniform in $S_n$, $\Pr[\lambda_2(\sigma,\tau)\le 1-\varepsilon]\to1$ as $n\to\infty$.Formalization notes: `S_n` is `Equiv.Perm (Fin n)` and `H` is the subtype of`Subgroup.closure {σ, τ}` (finite; a `Fintype` instance is obtained classically). Thegenerators are lifted to elements `s t : H`. The Markov operator is`(P f) x = (f (x*s) + f (x*s⁻¹) + f (x*t) + f (x*t⁻¹)) / 4` on `H → ℝ`. Because the stepmultiset {s, s⁻¹, t, t⁻¹} is closed under inversion, `P` is self-adjoint for the countinginner product `⟨f,g⟩ = ∑ₓ f x * g x`; constants are fixed by `P`, so `P` preserves themean-zero subspace `{f : ∑ₓ f x = 0}` (the orthogonal complement of the constants). Bythe min–max (Rayleigh) principle, the largest eigenvalue `λ₂` of `P` on that subspace is`sup {⟨f,Pf⟩/⟨f,f⟩ : f ≠ 0, ∑ f = 0}`, hence `λ₂ ≤ 1 - ε` iff`⟨f,Pf⟩ ≤ (1-ε)⟨f,f⟩` for all mean-zero `f` — this is `HasGap ε σ τ`. (λ₂ is thesecond-largest eigenvalue, not the second-largest in absolute value, so bipartitenesswhen σ, τ are both odd is irrelevant, as intended.) For trivial `H` (n ≤ 1) the mean-zerospace is zero and the condition holds vacuously; this only affects finitely many n.The probability for independent uniform σ, τ is the counting ratio`#{(σ,τ) | HasGap ε σ τ} / (n!)^2`, using `Set.ncard` on the finite type`Perm (Fin n) × Perm (Fin n)` (of cardinality `(n!)^2`).Claim: ∃ ε > 0 such that this ratio tends to 1 as n → ∞. Proving Claim establishes thatrandom 2-generated Cayley graphs of S_n (on the generated subgroup) are a.a.s. uniformexpanders; proving ¬Claim shows that for every ε > 0 the probability of a gap ≥ ε doesnot tend to 1.-/namespace OpenProblems.QEDM109noncomputable sectionopen Filter Topology /-- The subgroup of `S_n` generated by `σ` and `τ`. -/def gen (n : ℕ) (σ τ : Equiv.Perm (Fin n)) : Subgroup (Equiv.Perm (Fin n)) :=  Subgroup.closure ({σ, τ} : Set (Equiv.Perm (Fin n))) /-- `σ` as an element of the generated subgroup. -/def genS (n : ℕ) (σ τ : Equiv.Perm (Fin n)) : gen n σ τ :=  ⟨σ, Subgroup.subset_closure (Set.mem_insert σ {τ})⟩ /-- `τ` as an element of the generated subgroup. -/def genT (n : ℕ) (σ τ : Equiv.Perm (Fin n)) : gen n σ τ :=  ⟨τ, Subgroup.subset_closure (Set.mem_insert_of_mem σ (Set.mem_singleton τ))⟩ /-- The simple random walk operator on the Cayley graph of `H = ⟨σ, τ⟩`with step set `{σ, σ⁻¹, τ, τ⁻¹}` (right multiplication). -/def walkOp (n : ℕ) (σ τ : Equiv.Perm (Fin n)) (f : gen n σ τ → ℝ) (x : gen n σ τ) : ℝ :=  (f (x * genS n σ τ) + f (x * (genS n σ τ)⁻¹) + f (x * genT n σ τ) + f (x * (genT n σ τ)⁻¹)) / 4 open Classical in/-- `λ₂(σ,τ) ≤ 1 - ε`, expressed by the Rayleigh quotient on mean-zero functions. -/def HasGap (ε : ℝ) (n : ℕ) (σ τ : Equiv.Perm (Fin n)) : Prop :=  ∀ f : gen n σ τ → ℝ, ∑ x : gen n σ τ, f x = 0 →    ∑ x : gen n σ τ, f x * walkOp n σ τ f x ≤ (1 - ε) * ∑ x : gen n σ τ, f x ^ 2 /-- Probability, for independent uniform `σ, τ ∈ S_n`, that `λ₂(σ,τ) ≤ 1 - ε`. -/def gapProb (ε : ℝ) (n : ℕ) : ℝ :=  ({p : Equiv.Perm (Fin n) × Equiv.Perm (Fin n) | HasGap ε n p.1 p.2}.ncard : ℝ) /    ((n.factorial : ℝ) ^ 2) def Claim : Prop :=  ∃ ε : ℝ, 0 < ε ∧ Tendsto (fun n : ℕ => gapProb ε n) atTop (𝓝 1) endend OpenProblems.QEDM109

download (.tar)