← All papers
First page of Lemmas and Conjectures in Spectral Graph Theory

Lemmas and Conjectures in Spectral Graph Theory

Tristan Cazenave

math.CO Nov 2, 2026 · v1
An AI-generated pipeline formalizes spectral graph theory lemmas and 79,505 proved conjectures in Lean 4/Mathlib, including a 3,500-line Yang–Lu proof.
The corpus of Elie Duhamel and Tristan Cazenave \cite{dc} contains $305{,}755$ automatically generated conjectures relating spectral and metric invariants of connected graphs. A pipeline generated with Claude Code (numerical refutation, proof by the SMT solver z3 from a library of lemmas, discovery of new lemmas, formalisation in \lean 4/Mathlib) refuted $162{,}964$ conjectures and proved $117{,}390$ without any unproved hypothesis, of which $79{,}505$ are verified end to end in \lean{} for every connected graph. This document collects, with proofs written for mathematicians, the most interesting lemmas that were discovered and proved, the ten most useful lemmas, the ten hardest theorems, simpler proofs of known results (Bollobás–Erdős, Yang–Lu), and the unrefuted conjectures that we find most interesting. All the proofs are gathered in an archive

A corpus of 305,755 automatically generated conjectures relates spectral and metric invariants of connected graphs. Each conjecture needs to be refuted or proved, and the proofs should be machine-checked.

A pipeline built with Claude Code first tries numerical refutation on a database of graphs. It then attempts proofs with the z3 SMT solver from a library of lemmas, mines new linear lemmas that rule out z3 countermodels, and exports the proofs to Lean 4/Mathlib for SimpleGraph (Fin n). Deep results, including the Yang–Lu Randić index bound, were formalized as a SpectralLean library.

The pipeline refuted 162,964 conjectures and proved 117,390 without unproved hypotheses; 79,505 of these are verified end to end in Lean. The Yang–Lu formalization uncovered several gaps in the original paper. Shorter proofs of known results, such as the Bollobás–Erdős bound, emerged from the formalization.

LemmaStatementProofsLean
rad_dia_posrad ≥ 1, dia ≥ 140,630✓
rank_range2 ≤ rk(A) ≤ n40,451✓
rad_diarad ≤ dia ≤ 2 rad40,124✓
yang_luR ≥ dia/2 + √2 − 112,949✓
Most used library lemmas