Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.1 — a strong (n,d,c)(n, d, c)(n,d,c)-expander is a (2n,d,c/16)(2n, d, c/16)(2n,d,c/16)-magnifier

Proved
AlonExpanders.Core.lemma_3_1

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

expander-graphsgraph-theoryp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let G=(I,O;E)G = (I, O; E)G=(I,O;E) be a bipartite graph with ∣I∣=∣O∣=n≥2|I| = |O| = n \ge 2∣I∣=∣O∣=n≥2, and let ccc be a real number. If GGG is a strong (n,d,c)(n, d, c)(n,d,c)-expander, that is

∣N(X)∣≥(1+c(1−∣X∣n))∣X∣for every X⊆I,|N(X)| \ge \Bigl(1 + c\Bigl(1 - \frac{|X|}{n}\Bigr)\Bigr)|X| \quad \text{for every } X \subseteq I,∣N(X)∣≥(1+c(1−n∣X∣​))∣X∣for every X⊆I,

and every vertex has degree at most ddd, then GGG, viewed as a graph on its 2n2n2n vertices, is a (2n,d,c/16)(2n, d, c/16)(2n,d,c/16)-magnifier: every set X⊆I∪OX \subseteq I \cup OX⊆I∪O with ∣X∣≤n|X| \le n∣X∣≤n satisfies

∣N(X)−X∣  ≥  c16 ∣X∣.|N(X) - X| \;\ge\; \frac{c}{16}\,|X|.∣N(X)−X∣≥16c​∣X∣.

The lemma converts the one-sided expansion of a bipartite graph into the two-sided vertex expansion that Lemma 2.4 turns into a spectral gap. The word "strong" cannot be dropped (remark on p. 90 of the paper).

Formalization Note The hypothesis n≥2n \ge 2n≥2 is added and necessary: for n=1n = 1n=1 the single edge K2K_2K2​ is a strong (1,1,c)(1, 1, c)(1,1,c)-expander for every ccc, but for c>16c > 16c>16 it is not a (2,1,c/16)(2, 1, c/16)(2,1,c/16)-magnifier, since a single vertex XXX has ∣N(X)−X∣=1<c/16|N(X) - X| = 1 < c/16∣N(X)−X∣=1<c/16. No sign condition on ccc is needed.

Preamble
import Mathlib
import Definitions.Def_AlonExpanders_Core_IsStrongExpander
import Definitions.Def_AlonExpanders_Core_IsMagnifier
Formal statement
namespace AlonExpanders.Core

/-- Lemma 3.1 of Alon, *Eigenvalues and expanders*, Combinatorica 6 (1986), p. 90: a strong
`(n, d, c)`-expander on `I ⊕ O` is a `(2n, d, c/16)`-magnifier. The hypothesis `2 ≤ n` is added:
for `n = 1`, `K₂` is a strong `(1, 1, c)`-expander for every `c` but not a `(2, 1, c/16)`-magnifier
once `c > 16`. -/
theorem lemma_3_1 {I O : Type} [Fintype I] [Fintype O] [DecidableEq I] [DecidableEq O]
    (G : SimpleGraph (I ⊕ O)) [DecidableRel G.Adj] (n d : ℕ) (c : ℝ) (hn : 2 ≤ n)
    (hG : IsStrongExpander G n d c) :
    IsMagnifier G (2 * n) d (c / 16) := by sorry

end AlonExpanders.Core
Source
Alon, Eigenvalues and expanders, Combinatorica 6 (1986), p. 90, Lemma 3.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