Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.1 — λ1n≤ρ−2(1/a+1/b)(∣E∣−∣EA∣−∣EB∣)\lambda_1 n \le \rho^{-2}(1/a + 1/b)(|E| - |E_A| - |E_B|)λ1​n≤ρ−2(1/a+1/b)(∣E∣−∣EA​∣−∣EB​∣)

Proved
AlonMilman.Diameter.lemma_2_1

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-theoryisoperimetric-inequalitiesp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1spectral-graph-theory

Let G=(V,E)G = (V, E)G=(V,E) be a connected finite simple graph on n≥2n \ge 2n≥2 vertices and λ1=λ1(G)\lambda_1 = \lambda_1(G)λ1​=λ1​(G) the second-smallest eigenvalue of its Laplacian. Let A,B⊆VA, B \subseteq VA,B⊆V be nonempty, and let ρ≥1\rho \ge 1ρ≥1 be an integer such that every vertex of AAA is at graph distance at least ρ\rhoρ from every vertex of BBB (in particular AAA and BBB are disjoint). Put a=∣A∣/na = |A|/na=∣A∣/n, b=∣B∣/nb = |B|/nb=∣B∣/n, and let EAE_AEA​ (EBE_BEB​) be the set of edges with both endpoints in AAA (in BBB). Then

λ1⋅n≤1ρ2(1a+1b)(∣E∣−∣EA∣−∣EB∣).\lambda_1 \cdot n \le \frac{1}{\rho^2}\Big(\frac1a + \frac1b\Big)\big(|E| - |E_A| - |E_B|\big).λ1​⋅n≤ρ21​(a1​+b1​)(∣E∣−∣EA​∣−∣EB​∣).

This is the main tool of the section: a large λ1\lambda_1λ1​ forces many edges outside two far-apart sets, relative to their sizes. Theorem 2.5, Remark 2.3 and through them Theorems 2.6 and 2.7 are derived from it.

Formalization Note The paper takes ρ\rhoρ to be the distance between AAA and BBB; the Lean statement takes any integer ρ≥1\rho \ge 1ρ≥1 bounding all pairwise distances from below. Since the right-hand side decreases in ρ\rhoρ, the two versions are equivalent. AAA and BBB are required nonempty so that a,b>0a, b > 0a,b>0 (Lean's 1/0=01/0 = 01/0=0 would otherwise change the statement). Distances are Mathlib's SimpleGraph.dist; all counts are cast to R\mathbb RR before subtracting.

Preamble
import Mathlib
import Definitions.Def_AlonMilman_Diameter_lambda1
import Definitions.Def_AlonMilman_Diameter_edgesWithin
Formal statement
namespace AlonMilman.Diameter

theorem lemma_2_1 {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) [DecidableRel G.Adj] (hG : G.Connected) (hn : 2 ≤ Fintype.card V)
    (A B : Finset V) (hA : A.Nonempty) (hB : B.Nonempty) (ρ : ℕ) (hρ : 1 ≤ ρ)
    (hdist : ∀ u ∈ A, ∀ v ∈ B, ρ ≤ G.dist u v) :
    lambda1 G * (Fintype.card V : ℝ) ≤
      (1 / (ρ : ℝ) ^ 2) *
        (1 / ((A.card : ℝ) / Fintype.card V) + 1 / ((B.card : ℝ) / Fintype.card V)) *
        ((G.edgeFinset.card : ℝ) - ((edgesWithin G A).card : ℝ) - ((edgesWithin G B).card : ℝ)) := by sorry

end AlonMilman.Diameter
Source
Alon, Milman, λ1, Isoperimetric Inequalities for Graphs, and Superconcentrators, J. Combin. Theory Ser. B 38 (1985), p. 77, Lemma 2.1 (with the setup paragraph preceding it)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me