Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 3.3 — Tanner's bound ∣N(X)∣≥d2∣X∣/(α(d2−(d−λ)2)+(d−λ)2)|N(X)| \ge d^2|X|/(\alpha(d^2-(d-\lambda)^2)+(d-\lambda)^2)∣N(X)∣≥d2∣X∣/(α(d2−(d−λ)2)+(d−λ)2)

Proved
AlonExpanders.Core.tanner_bound

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 ∣I∣=∣O∣=n|I| = |O| = n∣I∣=∣O∣=n, and let λ=λ(G)\lambda = \lambda(G)λ=λ(G) be the second-smallest eigenvalue of its Laplacian. For every set of inputs X⊆IX \subseteq IX⊆I, with α=∣X∣/n\alpha = |X|/nα=∣X∣/n,

∣N(X)∣  ≥  d2α(d2−(d−λ)2)+(d−λ)2 ∣X∣.|N(X)| \;\ge\; \frac{d^2}{\alpha\bigl(d^2 - (d-\lambda)^2\bigr) + (d-\lambda)^2}\,|X| .∣N(X)∣≥α(d2−(d−λ)2)+(d−λ)2d2​∣X∣.

This is Tanner's eigenvalue bound on the neighbourhood size in a regular bipartite graph (Tanner 1984, Theorem 2.1), written with (d−λ)2(d-\lambda)^2(d−λ)2 in place of the second-largest eigenvalue of CTCC^TCCTC. The paper cites it in the proof of Lemma 3.3; an elementary rearrangement turns it into the strong-expander inequality of Lemma 3.3.

Formalization Note When the denominator vanishes (X=∅X = \emptysetX=∅, or d=0d = 0d=0, or λ=d\lambda = dλ=d together with α=0\alpha = 0α=0), Lean's division by zero gives the left-hand side 000, which is also the correct bound in each case. The quotient α\alphaα is real; no size hypothesis on nnn is needed.

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

/-- Proof of Lemma 3.3 in Alon, *Eigenvalues and expanders*, Combinatorica 6 (1986), p. 92, first
inequality of the display (Tanner's bound, [30, Theorem 2.1]): for a `d`-regular bipartite graph
on `I ⊕ O` with `|I| = |O| = n`, every `X ⊆ I` with `α = |X|/n` satisfies
`|N(X)| ≥ d² / (α (d² − (d − λ)²) + (d − λ)²) · |X|`. -/
theorem tanner_bound {I O : Type} [Fintype I] [Fintype O] [DecidableEq I] [DecidableEq O]
    (G : SimpleGraph (I ⊕ O)) [DecidableRel G.Adj] (n d : ℕ)
    (hI : Fintype.card I = n) (hO : Fintype.card O = n)
    (hbip : IsIOBipartite G) (hreg : G.IsRegularOfDegree d) (X : Finset I) :
    (d : ℝ) ^ 2 /
        (((X.card : ℝ) / n) * ((d : ℝ) ^ 2 - ((d : ℝ) - AlonMilman.Diameter.lambda1 G) ^ 2) +
          ((d : ℝ) - AlonMilman.Diameter.lambda1 G) ^ 2) * (X.card : ℝ) ≤
      ((AKSSorting.Core.neighbours G (X.map Function.Embedding.inl)).ncard : ℝ) := by sorry

end AlonExpanders.Core
Source
Alon, Eigenvalues and expanders, Combinatorica 6 (1986), p. 92, proof of Lemma 3.3, first inequality of the display after "Therefore, by [30, Theorem 2.1]"
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