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 completes first formal proof of Fermat's Last Theorem in Lean(23 posts)→
More from Models
- Users flag: Claude locks you out of your own Projects after subscription cancellation — BLUECOW009 · 2026-09-05
- Dev says GPT-6 Astra found 4.5x to 176x speedups in his codebase in 5 minutes — charliermarsh · 2026-09-05
- Dev calls Astra's computer use "superhuman, not human level" — intellectronica · 2026-09-05
- Codex's New Voice Mode Detects Sniffles, Coughs, and Gulp Sounds — craigsdennis · 2026-09-05
- Google shipped four Gemini Flash models in 106 days, flagship 3.5 Pro still AWOL — fortune · 2026-09-05
- GPT Astra beats Claude Fable 5.1 with 33% fewer tokens and 33% lower cost — rohanpaul_ai · 2026-09-05