Anthropic formalizes Fermat's Last Theorem in Lean with 13.4M-line proof, completing 100-theorem benchmark
AlexKontorovich · x · 2026-09-05
Anthropic announced that one of its internal models, using the prove2.me platform, has produced a complete Lean formalization of Fermat's Last Theorem.
Key facts:
- The proof spans over 13.4 million lines of code, more than 5x Mathlib, and compiles roughly 20x slower than Lean's math library even on a 96-core, 500GB-RAM machine
- It follows the Darmon–Diamond–Taylor 1995 exposition of the Wiles–Taylor–Wiles argument, via Langlands–Tunnell and Ribet's level-lowering, developing Fontaine theory and enough of Mazur's Eisenstein ideal work to rule out Frey curves with a point of a certain order
- This closes out the last item in Freek Wiedijk's famous list of 100 formalization challenges, a 20-year benchmark
Kevin Buzzard and the Xena project blog independently compiled and verified the code with the comparator — it checks out.
Related event: Claude Produces First Formalized Proof of Fermat's Last Theorem in 11 Days(52 posts)→
More from Models
- Researcher Finds Two Windows 0-Days, First in 76 Minutes with a Frontier Model — moyix · 2026-10-21
- Dev finds Gemini Argon's debug-log analysis beats Fable 5.1 — ShikharMurty · 2026-10-21
- ChatGPT Gets Stuck Screaming "AAHH" in an Infinite Loop After a Simple Prompt — AutomaticScene · 2026-10-21
- Open-weights Ornith-1.5-122B debuts with 84.5% SWE-bench Verified, runs on a single DGX card — _akhaliq · 2026-10-21
- qev-0.8B: a tiny local decision model that picks moves in 3.5ms on 1.3GB — fajfas3 · 2026-10-21
- Gemini 3.1 Pro is too ledger-pilled to play two truths and a lie, and it's delightful — mimi10v3 · 2026-10-21