Claude completes 13M-line Lean formalization of Fermat's Last Theorem, largest proof ever
burny_tech · x · 2026-09-06
Anthropic announced that Claude last month completed the first full formalized proof of Fermat's Last Theorem in Lean: over 13 million lines of code, the largest Lean proof ever written, which also machine-verified more than 29,000 prerequisite theorems. Experts had expected the project to take many years.
- FLT was first proven by Sir Andrew Wiles in 1995, 350+ years after the conjecture; formalization enables computer proof assistants to verify the reasoning.
- Per the retweet, the bulk of the work was done by Kevin Buzzard's large team of students and postdocs; the proof is not yet formalized in Heyting arithmetic, and the poster has started building a Heyting arithmetic library for that final step.
- The related repo leanprovercommunity/flt-regular covers FLT for regular primes in Lean.
Related event: Claude Produces First Formalized Proof of Fermat's Last Theorem in 11 Days(52 posts)→
More from Research
- Quantum Researcher: Even a P=BQP Proof Wouldn't Mean a Usable Algorithm — MJBiercuk · 2026-12-05
- NeurIPS reviewer reveals a paper he rated accept was rejected over 'benchmaxxing' objection — lpachter · 2026-12-05
- OpenAI insiders deny rumor of BPQ=P proof, urge verification before panic — tszzl · 2026-12-05
- Fact localization in LLMs is somewhere between 1 and N neurons, not fully distributed — thebasepoint · 2026-12-05
- How facts spread across neurons: delete a set and the model flips the Hunchback's author — thebasepoint · 2026-12-05
- Robot learning researcher asks if the field's framing is a 'fake problem' — kscottz · 2026-12-05