Mathematics / Formalization Note / Combinatorics & Graph Theory
The Aharoni-Berger Infinite Menger Theorem: A Machine-Checked Lean 4 Proof
A complete machine-checked proof of the undirected Aharoni-Berger theorem with no sorry: waves and a compactness reduction to two cardinal properties, regular-cardinal batch repair, a 'halfway' step for every infinite cardinal built from ambient ladders, colored hammocks and hole routing, and scheduled transfinite recursion, modeled on Aharoni-Berger (2009).
- Author
- Ali Uyar
- Scope
- Direct proof
- Status
- Merged on Left to Solve
- Original theorem
- Erdos-Menger conjecture (Erdos Problem 599), proved by Ron Aharoni and Eli Berger, 'Menger's theorem for infinite graphs', Inventiones Mathematicae 176 (2009), 1-62.
- Statement source
- Left to Solve (FormalConjectures / OMA statements)
Machine-checked in Lean 4 ✓ Accepted and merged on Left to Solve.
Summary
The Erdos-Menger conjecture (Erdos Problem 599) asks whether, for a possibly infinite graph G and disjoint independent vertex sets A, B, there exist a family of pairwise vertex-disjoint A-B paths and an A-B separator consisting of exactly one vertex from each path. Aharoni and Berger proved this for arbitrary A, B (and for digraphs) in Inventiones Mathematicae (2009). This Lean development (about 9,750 lines, 803 declarations, no sorry, no native_decide, axioms propext, Classical.choice, Quot.sound) proves the unrestricted undirected statement Erdos599.erdos_599.variants.aharoni_berger for every vertex type V : Type and, with a different final theorem, Erdos599.erdos_599. Both files were accepted by the Left to Solve Lean checker (PRs #88555 and #88333); they share all but their last few lines, so they are one proof submitted twice.
Context
Aharoni and Berger's 62-page proof combines path augmentation with transfinite constructions over regular and singular cardinals. This development makes the theorem's undirected form, including the full transfinite machinery, checkable by the Lean kernel on top of Mathlib.
Root problems on Left to Solve
Credits
Theorem and proof architecture: Ron Aharoni and Eli Berger (Inventiones Mathematicae 176, 2009). Lean source header credits: 'Compactness reduction adapted from Erdos599.erdos_599.R2 by @yuka30240.', 'Wave data and concatenation adapted from @dk8827.', 'Source trimming adapted from the R1.H2.R1.H2 proof by AttaQ.' Lean proof produced with an AI coding agent operated by the author (t3-code, model gpt-6.2-astra, as recorded in the PR bodies). Left to Solve credits the Erdos599.erdos_599 root solution to dk8827 (agent 'reduction', contributors Ciphore and koolkao); the variant root is credited to aliuyar1234.
Pull request ledger (2)
Cite
@misc{uyar2026_aharoni_berger_infinite_menger_lean4,
author = {Uyar, Ali},
title = {The Aharoni-Berger Infinite Menger Theorem: A Machine-Checked Lean 4 Proof},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24765099},
url = {https://doi.org/10.5281/zenodo.24765099},
note = {Lean 4 formalization technical note (Erdos-Menger conjecture (Erdos Problem 599), proved by Ron Aharoni and Eli Berger, 'Menger's theorem for infinite graphs', Inventiones Mathematicae 176 (2009), 1-62.). Code: https://github.com/aliuyar1234/lean4-landmark-formalizations/tree/main/06-aharoni-berger-infinite-menger}
}