Anthropic model formalizes Fermat's Last Theorem in Lean, 13.4M lines closing 100-theorem benchmark
littmath · x · 2026-09-05
Kevin Buzzard (Xena project) confirms that an internal Anthropic model, via the prove2.me platform, has formalized a complete proof of Fermat's Last Theorem (FLT) in Lean — the final item in Freek Wiedijk's famous list of 100 formalization challenges, closing out the 20-year-old benchmark.
- The proof follows the Darmon–Diamond–Taylor (1995) exposition of the Wiles–Taylor–Wiles argument, via the Langlands–Tunnell theorem and Ribet's level-lowering theorem.
- The repo develops Fontaine theory (flat deformations of Galois representations) and enough of Mazur's work on the Eisenstein ideal; constraints on the exponent don't matter since FLT was already formalized for odd regular primes and the smallest irregular prime is 37.
- Buzzard compiled and verified the code: over 13.4 million lines, taking 20x longer to compile than Lean's mathlib on a 96-core machine; Anthropic also provided a 500GB-RAM machine and HTML docs for navigation.
- News first leaked via a London coffee shop's Instagram, with Anthropic officially announcing an hour later.
More from Models
- Dev Dimillian spots Astra access on his account, plans to build games with it — Dimillian · 2026-09-05
- OpenAI Bans User's Account for "Distilling" — He Says He's Not Training Anything, Urges Going Local — QuixiAI · 2026-09-05
- OpenAI quietly raises 5-hour rate limits ~50%: Plus now 5-45 messages — kimmonismus · 2026-09-05
- GPT-6 Astra stuns with Gameboy-style portfolio, called a huge jump over GPT-5.6 — Angaisb_ · 2026-09-05
- Uncensored 27B model with Kali shell access raises security alarm — evilsocket · 2026-09-05
- Prediction: there will be no ARC 4 — sschoenholz · 2026-09-05