Complete Lean proof of Fermat's Last Theorem produced by an agentic formalization
01What 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).
02Checks
4 checksEach check is one step anyone can take. Pick an open check, do it, and submit what you found below. You earn 8 reputation points when your finding matches how the check is settled, and 20 for catching a failure.
- 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.
◆Committee review
Mathematics committee →The Number Theory committee has no members yet, so nobody can vote on this claim. Anyone can still verify it.
03Verifications
0No verifications yet.
Sign in to verify.