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.
Related event: Claude Produces First Formalized Proof of Fermat's Last Theorem in 11 Days(52 posts)→
More from Models
- Matthew Berman predicts next-gen Chinese models will match frontier in ~3 months — MatthewBerman · 2026-12-05
- Gemini 4 Neon hits 100T tokens in two weeks; AI Ultra subs doubled — Saboo_Shubham_ · 2026-12-05
- Neon model has processed 100 trillion cumulative tokens on the Gemini API — OfficialLoganK · 2026-12-05
- Pichai: Gemini 4 Neon crosses 100T tokens on APIs, Google AI Ultra subs more than doubled — sundarpichai · 2026-12-05
- A Reddit user on a 5070 Ti (16GB VRAM, 32GB RAM) runs Qwen3.8 27B ud-q2-k-xl at 131k context with 50-60 tps. With the new Qwen4 35B A3B MoE, they're stuck between 60 tps at 2-bit and 40 tps at 4-bit, and feel Qwen4 needs more guidance for the same tasks, making perceived speed slower. Unclear if it's an optimization issue; they haven't tried Basalt yet. — CrowKing63 · 2026-12-05
- A Reddit user shares a hands-on session on M1 Ultra 64GB running unsloth's Qwen4-35B-A3B-GGUF UD-Q4_K_XL via latest llama.cpp: **Speed** - Prompt processing: starts ~875 tps, settles ~685 tps on a 144K prompt - Decode: 35-50 tps at 300K+ context, ~80 tps at low context - Low TTFT even at high context; performance decay with growing context is among the gentlest they've seen **Quality** - Mixed vs Qwen3.8 27B: each catches issues the other misses - Usable on a moderately complex project, though needing slightly more guidance than 27B **Takeaway**: first time using 250K+ context efficiently on this class of hardware with no perceived quality drop — a real productivity jump for local LLM users. — TechnoRhythmic · 2026-12-05