Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.3 — a ddd-regular bipartite graph is a strong (n,d,(2dλ−λ2)/d2)(n, d, (2d\lambda-\lambda^2)/d^2)(n,d,(2dλ−λ2)/d2)-expander

Proved
AlonExpanders.Core.lemma_3_3

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

expander-graphsp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1spectral-graph-theory

Let G=(I,O;E)G = (I, O; E)G=(I,O;E) be a ddd-regular bipartite graph with d≥1d \ge 1d≥1 and ∣I∣=∣O∣=n|I| = |O| = n∣I∣=∣O∣=n, and let λ=λ(G)\lambda = \lambda(G)λ=λ(G) be the second-smallest eigenvalue of its Laplacian QG=dI−AGQ_G = dI - A_GQG​=dI−AG​. Then GGG is a strong (n,d,c)(n, d, c)(n,d,c)-expander with

c=2dλ−λ2d2:c = \frac{2d\lambda - \lambda^2}{d^2}:c=d22dλ−λ2​:

for every X⊆IX \subseteq IX⊆I, ∣N(X)∣≥(1+c(1−∣X∣/n))∣X∣|N(X)| \ge \bigl(1 + c(1 - |X|/n)\bigr)|X|∣N(X)∣≥(1+c(1−∣X∣/n))∣X∣.

This is the direction "spectral gap implies expansion" of Theorem 3.4, with a constant obtained from Tanner's bound.

Formalization Note The hypothesis d≥1d \ge 1d≥1 is added and necessary: for d=0d = 0d=0 the formula divides by zero, which Lean evaluates to c=0c = 0c=0, and the edgeless graph with n≥1n \ge 1n≥1 does not satisfy ∣N(I)∣≥∣I∣|N(I)| \ge |I|∣N(I)∣≥∣I∣. The paper's parenthetical remark "always λ≤d\lambda \le dλ≤d and hence c≥λ/dc \ge \lambda/dc≥λ/d" is not part of the statement; it fails for n=1n = 1n=1 (the single edge K2K_2K2​ has λ=2>d=1\lambda = 2 > d = 1λ=2>d=1).

Preamble
import Mathlib
import Definitions.Def_AlonMilman_Diameter_lambda1
import Definitions.Def_AlonExpanders_Core_IsIOBipartite
import Definitions.Def_AlonExpanders_Core_IsStrongExpander
Formal statement
namespace AlonExpanders.Core

/-- Lemma 3.3 of Alon, *Eigenvalues and expanders*, Combinatorica 6 (1986), p. 92: a `d`-regular
bipartite graph on `I ⊕ O` with `|I| = |O| = n` and `λ = λ(G)` is a strong `(n, d, c)`-expander
with `c = (2dλ − λ²)/d²`. The hypothesis `1 ≤ d` is added: for `d = 0` Lean's `0/0 = 0` gives
`c = 0`, and the empty graph with `n ≥ 1` fails `|N(I)| ≥ |I|`. -/
theorem lemma_3_3 {I O : Type} [Fintype I] [Fintype O] [DecidableEq I] [DecidableEq O]
    (G : SimpleGraph (I ⊕ O)) [DecidableRel G.Adj] (n d : ℕ) (hd : 1 ≤ d)
    (hI : Fintype.card I = n) (hO : Fintype.card O = n)
    (hbip : IsIOBipartite G) (hreg : G.IsRegularOfDegree d) :
    IsStrongExpander G n d
      ((2 * (d : ℝ) * AlonMilman.Diameter.lambda1 G - AlonMilman.Diameter.lambda1 G ^ 2) /
        (d : ℝ) ^ 2) := by sorry

end AlonExpanders.Core
Source
Alon, Eigenvalues and expanders, Combinatorica 6 (1986), p. 92, Lemma 3.3
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me