Claude formalizes Fermat's Last Theorem in 11 days with 13M lines of Lean code
新智元 · wechat · 2026-09-05
Anthropic says Claude completed the first end-to-end machine-verified proof of Fermat's Last Theorem in 11 days, working largely autonomously — generating 13 million lines of Lean code, 30,300 verifiable theorems (29,500 adopted), and burning 6 billion tokens, over 5x the size of Mathlib. The formalization was expected to take years.
Key details:
- Early multi-agent runs collapsed entirely (failed attempts = 7% of final code); the fix was Tianyi Peng's (Columbia/Anthropic, Tsinghua Yao class) Prove2Me platform: theorem-DAG task trees, statement/proof separation for faster compilation, and natural-language indexing for retrieval.
- Claude also proved 29,000 intermediate theorems across previously unformalized branches; Lean verified everything from just three base axioms.
- A side demo formalized Vinogradov's three-primes theorem in 3 days using 3 consumer accounts.
- Imperial College's Kevin Buzzard, who planned a years-long effort, called it a major step for automated formalization; Anthropic argues this ends the era of '99% certain' proofs.
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