Eigenvalues and Expanders: A Regular Bipartite Graph Is a Strong Expander If and Only If λ(G) Is Bounded Away from 0Research Paper
Motivation
Expander graphs are sparse graphs in which every set of vertices has many neighbours. Families of them with bounded degree and expansion bounded away from zero are a basic tool of theoretical computer science: they are the main component of the sorting network of Ajtai, Komlós and Szemerédi (AKS 1983), the building block of superconcentrators and other graphs with strong connectivity properties, and an ingredient of many later constructions in coding theory, derandomization and complexity.
Expansion is hard to certify. Checking that every set of vertices has many neighbours means looking at exponentially many sets, and computing the exact expansion of a graph is coNP-complete. A spectral quantity, by contrast, is computable in polynomial time. N. Alon's paper Eigenvalues and expanders (Combinatorica 6 (1986) 83–96) proves that for regular bipartite graphs the two notions are equivalent: a graph is a strong expander if and only if the second-smallest eigenvalue of its Laplacian is bounded away from 0, with explicit constants in both directions. This is a discrete counterpart of Cheeger's inequality for Riemannian manifolds.
Timeline.
- 1983: Ajtai, Komlós and Szemerédi use bounded-degree bipartite expanders to build sorting networks of depth .
- 1984: Tanner (SIAM J. Alg. Disc. Meth. 5) bounds the neighbourhood size of a set in a regular bipartite graph by its second eigenvalue, the direction "eigenvalue gap implies expansion".
- 1985: Alon and Milman (J. Combin. Theory Ser. B 38) prove isoperimetric inequalities for graphs in terms of and introduce enlargers.
- 1986: Alon proves the converse direction, "expansion implies an eigenvalue gap" (Lemma 2.4 and Theorem 3.4 of the paper).
Setting
All graphs are finite and simple. For a graph and a set , is the set of neighbours of ; it may meet .
The Laplacian of is , where is the 0–1 adjacency matrix and the degree of . It is symmetric with eigenvalues , counted with multiplicity, and is its second-smallest eigenvalue. It is positive exactly when is connected.
- An -magnifier is a graph on vertices with maximal degree in which every with satisfies .
- An -enlarger is a graph on vertices with maximal degree and .
- A bipartite graph has inputs , outputs and edges only between and . It is a strong -expander if , the maximal degree is , and for every
Formalization targets
Goal: Theorem 3.4
Let be a -regular bipartite graph with and .
- If is a strong -expander then
- If then is a strong -expander with
Milestones, in the order of the paper
- Lemma 2.2 (Alon–Milman, already on the platform): for disjoint sets at distance , .
- Corollary 2.3: every -enlarger is an -magnifier.
- Eq. (2.1): if is an eigenvector of for and its positive part, then .
- Lemma 2.4: every -magnifier has .
- Lemma 3.1: a strong -expander is a -magnifier.
- Proof of Lemma 3.3, spectrum: the two largest eigenvalues of , with the biadjacency matrix, are and .
- Proof of Lemma 3.3, Tanner's bound: with .
- Lemma 3.3: a -regular bipartite graph is a strong -expander.
Part (1) of the goal combines Lemmas 3.1 and 2.4; part (2) follows from Lemma 3.3.
Significance
The result. Theorem 3.4 makes expansion of regular bipartite graphs checkable in polynomial time up to a constant-factor loss. A random regular bipartite graph can be generated and its expansion certified by computing one eigenvalue. Lemma 2.4 is one of the first discrete Cheeger inequalities. Together with Corollary 2.3 it shows that magnifiers and enlargers are the same graphs up to the constants, and it underlies the later theory of spectral expanders, including the Alon–Boppana bound and Ramanujan graphs.
The formalization. The results are proved in the paper. The work is to formalize the known proofs. That includes Tanner's eigenvalue bound, which the paper only cites, and a max-flow min-cut argument, for which Mathlib has no general theorem. No machine-checked version of Lemma 2.4, Lemma 3.1, Lemma 3.3 or Theorem 3.4 is known to exist. Lemma 2.2 is already stated and proved on the platform as part of the Alon–Milman mission.
Difficulty
The direction "eigenvalue gap implies expansion" is a variational argument on the spectrum of . The converse is the hard one. A first attempt bounds from below by testing the Rayleigh quotient on indicator vectors of sets. That only gives upper bounds on : any one test vector does. A lower bound has to control every vector orthogonal to the constants at once. The paper first reduces to the positive part of an eigenvector (Eq. (2.1)). It then turns the combinatorial expansion of the graph into an analytic inequality for that function, using a network flow whose existence comes from the max-flow min-cut theorem. Step (ii) of the flow conditions printed on p. 87 is false as stated: the arcs of the network absorb part of the flow. The flow argument has to be repaired before it can be formalized.
Lemma 3.1 has its own obstacle: one-sided expansion of inputs must be converted into expansion of arbitrary vertex sets that mix inputs and outputs. This needs the strong form of expansion; for ordinary expanders the lemma is false.
Formalization scope
Graphs are SimpleGraph V on a Fintype. A bipartite graph lives on the sum type I ⊕ O, and IsIOBipartite forbids edges inside I and inside O. Cardinalities are Set.ncard. "Maximal degree " is read as G.maxDegree ≤ d; every statement is monotone in or fixes by regularity (G.IsRegularOfDegree d). The condition is written in . All constants are real, and every subtraction and division is taken in .
Reused published items:
- is
AlonMilman.Diameter.lambda1, the second-smallest eigenvalue ofG.lapMatrix ℝ, which is by convention on fewer than two vertices. - is
AKSSorting.Core.neighbours. - Lemma 2.2 is
AlonMilman.Diameter.theorem_2_5, which carries Alon–Milman's standing hypotheses that is connected and ; outside them the inequality is trivial.
The page omits a few degenerate cases, and the following hypotheses are added for them. Each is necessary, with a counterexample recorded in the item's statement:
- and in Theorem 3.4 (1);
- in Theorem 3.4 (2);
- and in Lemma 2.4;
- in Lemma 3.1 and in the statement;
- in Lemma 3.3;
- in Corollary 2.3.
Eq. (2.1) is stated in multiplied form, so no quotient by appears.
The closing sentences of Theorem 2.5 and Theorem 3.4 ("Thus … one can prove efficiently …") are not formalized. Read as implications between expanders they reduce to monotonicity in , because ; their content is algorithmic.
Several encodings would trivialize the mission and are excluded:
- a other than the published second-smallest Laplacian eigenvalue, in particular one defined as the best constant of a quotient;
- expansion or magnifier conditions with a negative constant in a hypothesis;
- with truncating natural-number division.
Contributions are welcome:
- Tanner's bound in Lean, which is reusable for any regular bipartite graph;
- a max-flow min-cut theorem for finite networks;
- the corrected flow lemma behind Eqs. (2.2)–(2.3);
- the spectral facts about for bipartite graphs ( for , and ).
Selected references
- N. Alon, Eigenvalues and expanders, Combinatorica 6 (1986) 83–96. https://doi.org/10.1007/BF02579166
- N. Alon and V. D. Milman, λ₁, isoperimetric inequalities for graphs, and superconcentrators, J. Combin. Theory Ser. B 38 (1985) 73–88. https://doi.org/10.1016/0095-8956(85)90092-9
- R. M. Tanner, Explicit concentrators from generalized N-gons, SIAM J. Algebraic Discrete Methods 5 (1984) 287–293. https://doi.org/10.1137/0605030
- M. Ajtai, J. Komlós and E. Szemerédi, Sorting in c log n parallel steps, Combinatorica 3 (1983) 1–19. https://doi.org/10.1007/BF02579338