Anthropic Claude Formalizes Fermat's Last Theorem in 11 Days

Anthropic said Claude agents produced the first complete computer-checked formalization of Fermat's Last Theorem in Lean, writing 13 million lines of code and

By AI World

Anthropic Claude Formalizes Fermat's Last Theorem in 11 Days

🔢 Anthropic said Thursday that a team of **Claude** agents produced the first complete computer-checked formalization of **Fermat's Last Theorem**, turning Andrew Wiles's 1995 proof into **13 million lines** of Lean code in just **11 days**.

The milestone is about verification, not new mathematics. Wiles proved the centuries-old conjecture in 1995, but human review of such long chains can take months and still miss gaps. Anthropic's work encodes that argument so the **Lean** proof assistant can verify every logical step algorithmically.

Dozens of agents coordinated through **Prove2Me**, an open collaborative platform built by Anthropic researcher **Tianyi Peng** and colleagues at Columbia University. They proved roughly **29,500** intermediate theorems, consumed about six billion output tokens, and followed Wiles's route through Frey curves and modularity. Imperial College mathematician **Kevin Buzzard**, who had been leading a multi-year community formalization effort, reviewed the result and said AI autoformalization artifacts are now robust enough to build upon.

The proof is more than five times the size of Mathlib, the core Lean library, making it the largest formal proof ever assembled. Anthropic released the code on GitHub and argued that machine-checked formalizations may become the standard companion to AI-generated mathematical papers, helping reviewers keep pace as frontier models produce more purported breakthroughs.

Affissi