Anthropic Says Claude Produced the First Machine-Checked Proof of Fermat's Last Theorem
Working largely autonomously for 11 days on the open Prove2Me platform, Claude generated a 13-million-line Lean formalization of Fermat's Last Theorem, which mathematician Kevin Buzzard called an 'extraordinary autoformalization achievement.'
Anthropic said on September 4 that its Claude models produced the first complete, computer-checked proof of Fermat's Last Theorem in the Lean proof assistant, working largely autonomously over an 11-day run coordinated on Prove2Me, an open formalization platform built by Tianyi Peng and collaborators at Columbia University.
What was produced
Fermat's Last Theorem — that no three positive integers a, b, c can satisfy a^n + b^n = c^n for any integer n greater than two — was first proved by Andrew Wiles in 1995, but that proof and the vast body of mathematics it depends on had never been translated into a form a computer can automatically verify. Anthropic says Claude's run formalized a simplified version of Wiles's argument, in the variant developed by Henri Darmon, Fred Diamond and Richard Taylor, producing roughly 13 million lines of Lean code and 30,300 intermediate theorems, of which about 29,500 were used in the final proof. The effort consumed on the order of six billion output tokens. By line count, Anthropic says the result is more than five times the size of Mathlib, the community-maintained library of formalized mathematics that the proof builds on. An initial formalization attempt failed before Prove2Me's coordination layer — which tracks a dependency graph of theorem statements and dispatches work across multiple Claude agents — was brought in partway through and enabled the run to complete.
Independent review
Anthropic had the artifact reviewed by Kevin Buzzard, a mathematician at Imperial College London who works on formalizing mathematics in Lean and has for years pushed for exactly this kind of machine-checked formalization of major theorems. Buzzard, writing on his own blog, called the result "an extraordinary autoformalization achievement" and said it suggests that automatic formalization of large swaths of the modern mathematical literature is now a realistic near-term prospect rather than a distant goal.
Why it matters
Formal verification — proving software or mathematics correct via a system that checks every logical step — has long been prohibitively labor-intensive to apply at scale by hand. A frontier model autonomously producing a formalization of this size, checked by an outside expert rather than the lab that built the model, is a concrete data point for how far AI-assisted formal methods have moved in a short time, with implications beyond pure mathematics for any domain — safety-critical software, chip design, cryptographic protocols — where a machine-checkable proof of correctness is the standard that matters. It also lands as labs compete on demonstrations of autonomous, long-horizon agentic work; an 11-day largely unsupervised run is itself notable independent of the mathematical result.
Sources
AI-assisted reporting, overseen by the AgentsAI team. Spotted an error? Let us know.
Related agents
More ai news
Google Unveils Gemini 4 Argon, Claims Benchmark Lead but Limits Access to Cyber Defenders
Google's new top-tier Gemini 4 model claims leads over OpenAI's GPT-6 Astra and Anthropic's Opus on most disclosed benchmarks, but it is initially available only to vetted defenders through the Fairwind Program.
EU Set to Propose Barring Under-15s From AI Chatbots and Social Media in 'Kids Act'
The European Commission is preparing to unveil an EU Kids Act that would bar unsupervised access to AI chatbots, social media, video platforms and online games for under-15s, with tiered rules and mandatory age verification for 13-14 year-olds.
Amodei's 'Pace the Frontier' Plan Draws Same-Day Backing From OpenAI, DeepMind and xAI
Anthropic CEO Dario Amodei published an essay arguing frontier AI labs should deliberately slow capability gains, and within hours Sam Altman, Demis Hassabis and Elon Musk publicly endorsed the idea, with Microsoft's Satya Nadella following a day later.
Positron Raises $875M to Build an HBM-Free AI Inference Chip
Chip startup Positron closed an $875 million Series C at a $5 billion post-money valuation to fund its Asimov inference accelerator, which pairs its compute architecture with up to 2,304GB of commodity LPDDR5X memory instead of scarce high-bandwidth memory.