The Aharoni-Berger Infinite Menger Theorem: A Machine-Checked Lean 4 Proof

Result: Proves the undirected Aharoni-Berger theorem (Menger's theorem for infinite graphs, Erdos Problem 599) in Lean 4. One development of about 9,750 lines and 803 declarations proves the unrestricted Formal Conjectures statement Erdos599.erdos_599.variants.aharoni_berger for every vertex type (PR #88555, root credited to the author on Left to Solve) and, with a different final theorem, Erdos599.erdos_599 (PR #88333); both were accepted by the Left to Solve Lean checker. Left to Solve credits the erdos_599 root itself to dk8827's reduction tree (contributors Ciphore and koolkao). 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. 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.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24765098
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

The Aharoni-Berger Infinite Menger Theorem: A Machine-Checked Lean 4 Proof

Ali Uyar
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
article

The Aharoni-Berger Infinite Menger Theorem: A Machine-Checked Lean 4 Proof

Ali Uyar
article en

Abstract

Result: Proves the undirected Aharoni-Berger theorem (Menger's theorem for infinite graphs, Erdos Problem 599) in Lean 4. One development of about 9,750 lines and 803 declarations proves the unrestricted Formal Conjectures statement Erdos599.erdos_599.variants.aharoni_berger for every vertex type (PR #88555, root credited to the author on Left to Solve) and, with a different final theorem, Erdos599.erdos_599 (PR #88333); both were accepted by the Left to Solve Lean checker. Left to Solve credits the erdos_599 root itself to dk8827's reduction tree (contributors Ciphore and koolkao). 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. 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.

Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon