Ai Engineering 2 min read

Claude Formalized Fermat's Last Theorem in Lean After 11 Days of Autonomous Work

Anthropic announced Claude produced a complete machine-checked Lean formalization of Fermat's Last Theorem after working largely autonomously for 11 days, generating verified proofs of 30,300 intermediate theorems.

Anthropic announced on September 4 that Claude, working largely autonomously for 11 days, produced a complete machine-checked Lean formalization of Fermat’s Last Theorem, per Anthropic’s research post and SiliconANGLE’s coverage. Along the way it generated computer-verified proofs of 30,300 intermediate theorems, using 29,500 of them in the final proof, amounting to roughly 13 million lines of coherent Lean code by mathematician Daniel Litt’s count. A human collaborative project has been working toward the same goal for years.

Why This Is Different From a Benchmark Score

Formalization is the least forgiving task in AI evaluation. A Lean proof does not accept plausible-sounding arguments; the compiler either verifies the mathematics or rejects it, which makes this the rare AI achievement that cannot be inflated by benchmark contamination or generous grading. The verification is the result. It also explains the working pattern: an 11-day autonomous run implies sustained subgoal planning, error recovery across millions of lines, and the judgment to build reusable intermediate lemmas (the 30,300 verified theorems function as a library), which is a fuller demonstration of agentic engineering than any single-shot benchmark.

What It Means for Formal Mathematics and Beyond

The immediate implication lands on the formalization community, which has spent years human-months formalizing major results and now has both a completed FLT artifact and, more importantly, 30,300 verified building blocks future formalizations can import. Mathematician reaction over the weekend ranged from astonishment to scrutiny of how much human-authored structure Claude inherited from the existing Lean library, and that scrutiny is healthy: the claim is not that Claude invented new mathematics, but that it executed a formalization workload previously considered a multi-year human project.

The broader signal connects directly to Astra solving open math problems with Lean 4 proofs last month: formal verification is emerging as the field’s preferred ground truth for AI reasoning claims, precisely because everything else can be gamed. Expect the next generation of model announcements to include machine-checked artifacts rather than benchmark tables, and for formalization capacity to become a competitive metric labs report on purpose.

Get Insanely Good at AI

Get Insanely Good at AI

The book for developers who want to understand how AI actually works. LLMs, prompt engineering, RAG, AI agents, and production systems.

Keep Reading

Ai Engineering

How to Use Claude Across Excel and PowerPoint with Shared Context and Skills

Learn how to use Claude's shared Excel and PowerPoint context, Skills, and enterprise gateways for faster analyst workflows.

Ai Engineering

The Claude-assisted Riemann hypothesis proof passes every machine check, and Anthropic has cut it from 17 million lines of Lean to 76,000

A week after Levent Alpöge released a 17-million-line Lean proof of the Riemann hypothesis, the Lean FRO and Mathlib Initiative have certified it, a Waterloo mathematician has replayed it through several independent kernels, and an Anthropic team has published a 76,000-line rewrite. No human has read the argument yet.

Ai Engineering

An Anthropic mathematician says he and Claude proved the Riemann hypothesis. All he has released is Lean code

Levent Alpöge announced on November 20 that he and Claude have a formalized proof of the Riemann hypothesis and its generalized form, published as 14 archive files of Lean with no paper. Nobody has independently verified it. Here is what the statement says and what checking it involves.

Ai Engineering

Alpöge and Buckmaster claim AI-aided blowup for Navier-Stokes with no external force, the version OpenAI's proof sidestepped

Hours after his Riemann claim on November 20, Anthropic's Levent Alpöge and NYU's Tristan Buckmaster posted a 79-page paper and a Lean formalization claiming finite-time blowup for the unforced 3D Navier-Stokes equations. The certificate that the proof depends on has not been released.

Ai Engineering

PSI says a non-public Anthropic model proved the Aaronson-Ambainis conjecture, with a full Lean check

Physical Superintelligence says its research system, running an unreleased Anthropic model, proved a central open problem in quantum query complexity by day three of a run. The 9,454-line Lean formalization uses no added axioms; independent review has only just started.