Claude formalizes Fermat's Last Theorem in 11 days with 13M lines of Lean code
AI寒武纪 · wechat · 2026-09-05
A team led by Anthropic researcher Tianyi Peng had Claude nearly autonomously produce a complete Lean machine-verified proof of Fermat's Last Theorem in 11 days — over 13 million lines of code (5x the size of Mathlib), with 29,500 of 30,300 attempted derived lemmas accepted and 6B output tokens consumed. Blog and code are public.
The key enabler was Columbia's Prove2Me collaborative platform: a DAG of theorems to preserve global context across parallel agents, separate files for statements and proofs to speed compilation, and natural-language descriptions for retrieval. Human input was minimal. Kevin Buzzard called the automated formalization, resting only on Lean's axioms, a major step toward machine-verifying all of modern mathematics. Using three regular Claude Max subscriptions, the team also formalized Vinogradov's three-primes theorem in 3 days.
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