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
Sanders and Casar Introduce Bill to Ban 'Artificial Superintelligence' Outright
Sen. Bernie Sanders and Rep. Greg Casar introduced the Ban Artificial Superintelligence Act on September 3, which would permanently prohibit superintelligent AI systems, pause frontier development pending federal safety rules, and impose prison terms and a 'corporate death penalty' for violations.
OpenAI Launches GPT-6 Astra, Its First Model Rated 'Critical' Risk for Cyber Offense
OpenAI says Astra is state-of-the-art on coding, computer use and science benchmarks, and is the first model to trip the company's 'critical' cybersecurity threshold — able to find and exploit unknown vulnerabilities without step-by-step human guidance.
Nvidia Agrees to Acquire Hugging Face for $11.9 Billion, Confirming Weeks of Sale Talk
Nvidia will pay $11.9 billion in cash for the open-source AI hub, plus up to $1 billion in retention equity for employees who join, confirming reports from late August that Hugging Face was exploring a sale.
DeepSeek Nears $7.4 Billion Round at $74 Billion Valuation Ahead of Shanghai IPO
DeepSeek is reportedly close to raising roughly 50 billion yuan at a 500 billion yuan ($74B) pre-money valuation, its second mega-round of 2026, as the Chinese AI lab prepares to file for a Shanghai STAR Market listing.