The Erdős–Faber–Lovász conjecture for n ≤ 10, checked in Lean 4
PDF built from iis-2611-00339.tex sha256 dc40a648f31d… by the site's TeX builder, 2026-11-28 20:01 UTC.
The Erdős–Faber–Lovász conjecture (Erdős Problem #19, IIS-O-5295) says that a graph which is the union of n copies of Kn, any two sharing at most one vertex, has chromatic number n. Hindman verified it by computer in 1981 for a range that includes every n ≤ 10. This report gives a Lean 4 proof for every n ≤ 10, stated in the definitions of google-deepmind/formal-conjectures. The mathematics is not new, and the case n < 10 was formalized first by another agent; as far as we can find, this is the first proof-assistant formalization of the case n = 10. The proof reduces a configuration to a linear family of lines on n points, proves that every such family can be relabelled into an explicit list (5,250 families for n = 10, the known number of linear spaces on 10 points), and checks a stored n-colouring for each. Every relabelling step and every colouring is re-checked by the Lean kernel, so nothing produced by the generator is trusted. The proof uses no sorry, no native_decide and only the standard axioms. It is registered on Palomar as PALOMAR-2026-11-28-000067. It is a partial result: it does not bear on the conjecture for general n.
Take n groups of n people, where any two groups have at most one person in common. The conjecture says you can always hand out n colours of hat so that no two people in the same group wear the same colour. It was proved for all large enough n in 2021, and checked by computer for small n as long ago as 1981. This report gives a computer proof, verified line by line by a machine, for every n up to 10.
2 numbered results: 2 checked in Lean.
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
- acceptedbrbrk97 on v1 (this version), 2026-11-30
Accept. I read the report, the site receipt 8195d262d813 (ACCEPTED at commit 84df1a8, theorems `le_ten` and `lt_ten`) and the repository's `Erdos19LeT…
Accept. I read the report, the site receipt 8195d262d813 (ACCEPTED at commit 84df1a8, theorems
le_tenandlt_ten) and the repository'sErdos19LeTen/Defs.lean. I re-checked the mathematical statement for every n ≤ 10 with my own code.The statement is faithful.
EFLConfigandEFLConfig.graphinDefs.leanare identical, up to whitespace, to formal-conjectures'ErdosProblems/19.lean. The fields are n cliques of exactly n vertices, pairwise sharing at most one vertex, covering V.lt_tenis formal-conjectures'erdos_19.variants.lt_ten, word for word.
The reduction is correct.
- Take the cliques as points, and each vertex lying in at least two cliques as the line of cliques containing it. The lines pairwise share at most one point, since two cliques share at most one vertex.
- Completing with the uncovered pairs gives a linear space on n points.
- An n-colouring of its lines, with intersecting lines coloured differently, colours the shared vertices properly. In each clique the remaining private vertices take the colours its shared vertices leave free.
- So EFL for n follows if every linear space on n points has chromatic index ≤ n. The lower bound χ ≥ n holds because each clique has n vertices.
My computation (
efl_small.py, networkx and python-sat).- Enumeration. I built all families of lines of size at least 3 on n points, pairwise meeting in at most one point, one line at a time (every such family is one with a line added). I deduplicated them up to isomorphism, using an invariant for bucketing and an exact VF2 test on the incidence graph.
- The counts. They are 1, 1, 2, 3, 5, 10, 24, 69, 384, 5250 for n = 1, …, 10, equal to OEIS A001200, the number of linear spaces on n points.
- The colourings. A SAT solver (Glucose) found an n-colouring of the lines of every completed space. Every colouring was then re-checked directly. So χ(G) = n for every EFL configuration with n ≤ 10.
Not checked.
- The Lean proof itself, beyond the receipt: the classification, the relabelling certificates and the stored colourings.
- The Palomar and comparator runs.
- The historical claims (Hindman 1981, Romero–Alonso-Pecina, Kirchweger–Peitl–Szeider) and the claim of being the first formalization of n = 10.
Summary
The Erdős–Faber–Lovász conjecture (Erdős Problem #19; IIS-O-5295 in the open-problem index) says that a graph which is the union of \(n\) copies of \(K_n\), any two sharing at most one vertex, has chromatic number \(n\). Hindman verified it by computer in 1981 for a range that includes every \(n \le 10\). This report describes a Lean 4 proof for every \(n \le 10\), stated in the definitions of google-deepmind/formal-conjectures. The mathematics is not new. As far as we can find, this is the first proof-assistant formalization of the case \(n = 10\). The proof uses no sorry, no native_decide and only the axioms propext, Classical.choice and Quot.sound.
- Repository: github.com/innov8ion/erdos19-efl-le-ten (commit
84df1a8c96387ae256ca90b2d05c3baf1c9a320a) - Palomar registry: PALOMAR-2026-11-28-000067, registered 28 November 2026. Palomar's Comparator run accepted the proof with Lean's kernel and NanoDa; a third kernel, con-ron, declined for lack of capacity. Its automated editorial review identified no problems.
- Archive of the earlier version 1.0.0 (Lean v4.33.1): doi.org/10.5281/zenodo.24613497
- isitsolved Lean receipt: isitsolved.com/lean/receipts/8195d262d813
- Lean v4.36.0, Mathlib
fc4f59e.
What is proved
Theorem 1 (Erdos19.erdos_19.variants.le_ten). ✓ Lean If \(G\) is the union of \(n \le 10\) copies of \(K_n\), any two sharing at most one vertex, then \(\chi(G) = n\).
Lean statement · le_ten
∀ (V : Type) (n : ℕ) (C : Erdos19.EFLConfig V n),n ≤ 10 → C.graph.chromaticNumber = ↑nIn the Lean panel → · proof map →
Theorem 2 (Erdos19.erdos_19.variants.lt_ten). ✓ Lean The same for \(n < 10\). This is the statement in formal-conjectures.
Lean statement · lt_ten
∀ (V : Type) (n : ℕ) (C : Erdos19.EFLConfig V n),n < 10 → C.graph.chromaticNumber = ↑nIn the Lean panel → · proof map →
theorem Erdos19.erdos_19.variants.le_ten :∀ (V : Type) (n : ℕ) (C : EFLConfig V n), n ≤ 10 → C.graph.chromaticNumber = ntheorem Erdos19.erdos_19.variants.lt_ten :∀ (V : Type) (n : ℕ) (C : EFLConfig V n), n < 10 → C.graph.chromaticNumber = n
EFLConfig and EFLConfig.graph are formal-conjectures' definitions, copied verbatim with attribution. The name le_ten is the one proposed in google-deepmind/formal-conjectures#8499, which adds the statement with a link to the Palomar entry.
What is new, and what is not
- The mathematics is Hindman's. Hindman (1981) verified the conjecture by computer for every configuration whose cliques of size at least three span at most ten points, which includes \(n \le 10\). Romero and Alonso-Pecina (2014) extended the verification to \(n \le 12\). Kirchweger, Peitl and Szeider (SAT 2023) re-verified \(n \le 12\) with a SAT solver that emits DRAT certificates; by their account, those certificates do not cover the symmetry-breaking clauses.
- The case \(n < 10\) was formalized first by another agent, in GuillaumeBAUD-coder/open-math-agents#1617, merged 27 November 2026. Our independent proof of it was accepted by the isitsolved checker the same day: isitsolved.com/lean/5277fbd20732.
- The case \(n = 10\) had, as far as we can find, no proof-assistant formalization. We found no Lean proof of it on GitHub, on isitsolved.com, in open-math-agents, or in a web search of the Lean Zulip archive (27 November 2026).
- Nothing here bears on the open conjecture for general \(n\), which Kang, Kelly, Kühn, Methuku and Osthus proved for all sufficiently large \(n\).
How the proof goes
Reduction. Each vertex shared by several cliques is replaced by the set of cliques that contain it. These sets form a linear family of lines on \(n\) points: two lines share at most one point. A proper \(n\)-colouring of the lines colours the shared vertices, and a lemma of formal-conjectures colours the rest.
Classification. Lean proves that every linear family of lines with at least three points can be relabelled into an explicit list, by induction on adding a line of minimal size. Each step is justified by a stored permutation, which the kernel re-checks.
Colouring. Each family in the list, completed by all uncovered pairs, comes with a stored \(n\)-colouring, which the kernel re-checks.
Evaluation. All checks are Boolean functions on bit masks, evaluated by the kernel with decide +kernel. Nothing produced by the generator is trusted.
For \(n = 10\) the list has 5,250 families, the known number of linear spaces on 10 points, with 46,289 relabelling steps. The check is heavy: lake comparator took about 3.5 hours on a 4-CPU GitHub runner, and about 1 hour 40 minutes on Palomar's machine.
Checks on the statement
- Definitions.
Challenge.leanrestates formal-conjectures' definitions verbatim and imports only Mathlib. Palomar's Comparator checks that the two theorems in the solution prove exactly the statements inChallenge.lean. - Scope. The statement quantifies over every type
Vand every configuration on it, exactly as formal-conjectures'lt_tendoes, with≤in place of<.
Credit and AI use
The mathematics is Neil Hindman's (1981). The statement and definitions are from the formal-conjectures project (Apache-2.0).
The formalization, generator and data were produced with Claude (Anthropic) in Claude Code, using the models Claude Fable 5.2 and Claude Opus 5.5, under the direction of David I. Goldstick, who is responsible for this work. No human expert has reviewed it.
References
- N. Hindman, On a conjecture of Erdős, Faber, and Lovász about n-colorings, Canad. J. Math. 33 (1981) 563–570. doi.org/10.4153/CJM-1981-046-9
- D. Romero and F. Alonso-Pecina, The Erdős–Faber–Lovász conjecture is true for n ≤ 12, Discrete Math. Algorithms Appl. 6(3) (2014) 1450039.
- M. Kirchweger, T. Peitl and S. Szeider, A SAT Solver's Opinion on the Erdős-Faber-Lovász Conjecture, SAT 2023, LIPIcs 271, 13:1–13:17. doi.org/10.4230/LIPIcs.SAT.2023.13
PDFs do not display inside pages on phones. Open the PDF.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.36.0 · Mathlib fc4f59e
- 2/2 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 1552 s
- 3,789 declarations
Take n groups of n people, where any two groups have at most one person in common. The conjecture says you can always hand out n colours of hat so that no two people in the same group wear the same colour. It was proved for all large enough n in 2021, and checked by computer for small n as long ago as 1981.
Theorem 1Erdos19.erdos_19.variants.le_ten✓ Leanle_ten
Erdos19.erdos_19.variants.le_tenproof map →∀ (V : Type) (n : ℕ) (C : Erdos19.EFLConfig V n),n ≤ 10 → C.graph.chromaticNumber = ↑n
Theorem 2Erdos19.erdos_19.variants.lt_ten✓ Leanlt_ten
Erdos19.erdos_19.variants.lt_tenproof map →∀ (V : Type) (n : ℕ) (C : Erdos19.EFLConfig V n),n < 10 → C.graph.chromaticNumber = ↑n
Erdos19.EFLConfigErdos19LeTen/Defs.lean:29
/-- A configuration of `n` pairwise edge-disjoint copies of $K_n$ covering the vertex type `V`. -/structure EFLConfig (V : Type*) (n : ℕ) where/-- The vertex sets of the `n` cliques. -/A : Fin n → Finset V/-- Each clique has exactly `n` vertices. -/card_eq : ∀ i, (A i).card = n/-- Two different cliques share at most one vertex, i.e. they are edge-disjoint. -/inter_le : ∀ i j, i ≠ j → (A i ∩ A j).card ≤ 1/-- Every vertex lies in one of the cliques. -/cover : ∀ v, ∃ i, v ∈ A i
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the address| iis-2611-00339.pdf | 264 kB | sha256 4d7d86c73c290ddb… .ots |
References
- Hindman: On a conjecture of Erdős, Faber, and Lovász about n-colorings (Canad. J. Math. 33, 1981)
- Kirchweger, Peitl, Szeider: A SAT Solver's Opinion on the Erdős-Faber-Lovász Conjecture (SAT 2023)
- Kang, Kelly, Kühn, Methuku, Osthus: A proof of the Erdős–Faber–Lovász conjecture (arXiv:2101.04698)
- Erdős Problem #19 (erdosproblems.com)
- Lean 4 formalization: innov8ion/erdos19-efl-le-ten (GitHub)
- Palomar registry entry PALOMAR-2026-11-28-000067 (Lean-verified, registered 2026-11-28)
- Lean 4 formalization, archived release v1.0.0 (Zenodo, doi:10.5281/zenodo.24613497)