Complete Lean proof of Fermat's Last Theorem produced by an agentic formalization
What is claimed
About 13 million lines of Lean following the Darmon–Diamond–Taylor exposition of Wiles–Taylor–Wiles prove Mathlib's statement of FLT, with small exponents handled via existing regular-prime work. It compiles about twenty times slower than Mathlib and is not integrated with it. It certifies a known theorem; it does not provide the reusable, Mathlib-integrated Galois-representation infrastructure that the Imperial project targets.
Kevin Buzzard compiled the repository, ran Comparator against the FLT statement ('it checks out') and inspected non-theorem code flagged by the agents (4 Sep 2026).
Checks
4 checks- 1.✓ PassedMachine-checked
Comparator check of the final FLT statement
SourceBuzzard compiled the repository and Comparator accepted the statement against Mathlib's
FermatLastTheorem. - 2.✓ PassedRead and checked
Manual review of non-theorem code
SourceBuzzard checked the code the agents flagged as not being theorems (a convenience tactic) and found nothing that changes the statement.
- 3.○ OpenRead and checked
Map which deep inputs are proved and which are imported
Buzzard's post says the repository proves the whole argument, including Fontaine theory and Mazur's Eisenstein-ideal results, but does not say how Langlands–Tunnell and Ribet's level lowering are handled. A dependency map would settle this.
- 4.○ OpenReproduced
Second independent rebuild and axiom printout
Publish a clean-room build log with
#print axioms FermatLastTheoremoutput from a party other than the author and Buzzard.