Back to list
Anthropic's Claude Achieves Historic Milestone by Formalizing Fermat's Last Theorem in Just 11 Days
Research BreakthroughAnthropicClaudeMathematics

Anthropic's Claude Achieves Historic Milestone by Formalizing Fermat's Last Theorem in Just 11 Days

Anthropic has announced a groundbreaking achievement in the field of mathematics and artificial intelligence: the first complete, computer-checked proof of Fermat’s Last Theorem (FLT). Utilizing the Lean programming language, the AI model Claude worked largely autonomously over an 11-day period to formalize the proof, which was originally solved by Sir Andrew Wiles in 1995. The project, led by researcher Tianyi Peng, resulted in a staggering 13 million lines of Lean code and the verification of 29,500 intermediate theorems. This milestone represents a significant advancement in autoformalization, moving the verification of complex mathematical conjectures from manual, multi-month processes to rapid, automated AI-driven workflows. Renowned mathematician Kevin Buzzard has validated the achievement, confirming the proof relies solely on the fundamental axioms of mathematics.

Hacker News

Key Takeaways

  • Rapid Autonomous Proof: Claude completed the formalization of Fermat’s Last Theorem in only 11 days, working largely without human intervention.
  • Massive Scale of Logic: The AI generated 13 million lines of Lean code and proved 29,500 intermediate theorems to reach the final result.
  • Historical Milestone: This represents the first end-to-end, computer-checked proof of one of history's most famous mathematical conjectures.
  • Axiomatic Foundation: The proof is verified to be based strictly on the axioms of mathematics, with no external assumptions, as confirmed by expert Kevin Buzzard.
  • Advancement in Autoformalization: The project demonstrates the potential for AI to handle the immense complexity of formalizing high-level mathematical reasoning into machine-readable formats.

In-Depth Analysis

From Marginalia to Machine Code: The Evolution of Fermat’s Last Theorem

The journey of Fermat’s Last Theorem (FLT) began around 1637 when Pierre de Fermat claimed that no three positive integers $a, b,$ and $c$ could satisfy the equation $a^n + b^n = c^n$ for any integer value of $n$ greater than 2. For centuries, this conjecture remained one of the most elusive challenges in mathematics. It wasn't until 1995 that Sir Andrew Wiles published a 129-page proof, a monumental effort that required months of manual verification by the mathematical community.

The transition from human-read proofs to computer-checked proofs represents a paradigm shift in mathematical certainty. In 2005, Dutch computer scientist Jan Bergstra proposed the "formalization" of Wiles’s proof—converting human reasoning into a language that computers can verify with absolute logic. This vision began to take shape more concretely in 2024 when Kevin Buzzard of Imperial College London initiated a multi-year community effort to encode the proof using the Lean proof assistant. Anthropic’s recent breakthrough, led by researcher Tianyi Peng, has accelerated this timeline dramatically. By utilizing Claude, the process of formalizing this complex proof was condensed into less than a fortnight, showcasing a leap from community-driven manual encoding to AI-driven autoformalization.

The Technical Magnitude of Claude’s Autonomous Achievement

The scale of the work performed by Claude over its 11-day autonomous period is unprecedented in the field of computational mathematics. To formalize a proof as intricate as Wiles’s version of FLT, the AI had to bridge the gap between high-level mathematical concepts and the rigid, low-level syntax of the Lean programming language. This process resulted in the creation of 13 million lines of code. To put this in perspective, the original proof by Wiles was 129 pages; the expansion into 13 million lines of formal logic illustrates the extreme density of detail required for a computer to "check" every single logical step.

Furthermore, Claude proved 29,500 intermediate theorems during the process. These intermediate steps are essential building blocks that ensure the final conclusion is logically sound from the ground up. The fact that Claude performed this "largely autonomously" suggests that the AI has reached a level of proficiency where it can navigate the vast search space of mathematical logic without constant human steering. This achievement, as noted by Kevin Buzzard, proves the theorem with no assumptions other than the basic axioms of mathematics, providing a level of verification that is theoretically immune to human error or oversight.

Industry Impact

The successful autoformalization of Fermat’s Last Theorem by Claude has profound implications for the future of research mathematics and the AI industry. Firstly, it validates the role of Large Language Models (LLMs) as capable partners in high-level scientific research. The ability to generate millions of lines of error-free formal code in a matter of days suggests that AI can significantly reduce the time required to verify complex scientific claims.

Secondly, this work sets a new standard for the field of "autoformalization." By proving that an AI can take a known, complex proof and translate it into a machine-checked format, Anthropic has opened the door for the formalization of other major mathematical conjectures. This could lead to a future where all new mathematical research is accompanied by a computer-verified proof, ensuring absolute accuracy in the global body of mathematical knowledge. Finally, the collaboration between AI researchers at institutions like Columbia University and Anthropic with traditional academic figures like Kevin Buzzard highlights a growing trend of cross-disciplinary efforts that are likely to define the next era of scientific discovery.

Frequently Asked Questions

Question: What is Fermat’s Last Theorem?

Fermat’s Last Theorem is a famous mathematical conjecture stating that no three positive integers $a, b,$ and $c$ satisfy the equation $a^n + b^n = c^n$ for any integer value of $n$ greater than 2. It was first proposed by Pierre de Fermat in 1637 and remained unproven for over 350 years.

Question: What does it mean to "formalize" a mathematical proof?

Formalizing a proof involves converting mathematical reasoning into a formal language, such as Lean, that a computer can check automatically. This ensures that every logical step in the proof is correct according to the fundamental axioms of mathematics, removing the possibility of human error in the verification process.

Question: How long did it take Claude to complete the proof?

Claude completed the end-to-end, computer-checked proof in 11 days. During this time, it worked largely autonomously, producing 13 million lines of Lean code and proving 29,500 intermediate theorems.

Related News

Optimizing High-Concurrency Generative SLM Inference Engines Under Strict Latency Constraints for Search and Recommendation
Research Breakthrough

Optimizing High-Concurrency Generative SLM Inference Engines Under Strict Latency Constraints for Search and Recommendation

Meituan's technical team has unveiled an advanced high-concurrency inference engine tailored for Small Language Models (SLMs) with 0.5B to 1B parameters deployed in online search and recommendation systems. While traditional large language model serving architectures are tailored for open-ended text generation, search and recommendation platforms operate under extreme low-latency boundaries where standard systems falter. By categorizing tasks into bounded generation workloads—such as prefill-only classification and fixed-step beam search—the engineering team restructured the execution path using a static Directed Acyclic Graph (DAG) abstraction. Integrated with PyTorch AOTInductor compilation, packed prefill, intra-request KV cache sharing, and selective FP8 quantization, the engine keeps end-to-end latency strictly below 20 milliseconds. The system achieves a prefill-only effective Model FLOPs Utilization (MFU) of 67% and delivers a tenfold throughput improvement over SGLang, establishing a scalable paradigm for enterprise AI deployment.

Research Breakthrough

How Third Moment Research Deploys 10,000 Autonomous Agents for Over 36 Hours of Continuous Operation

AI laboratory Third Moment Research has demonstrated an operational architecture capable of running 10,000 agents continuously for 36 or more hours. Featured on the OpenAI Blog, the initiative highlights systems designed to maintain sustained focus for days while actively improving with continued use. To achieve this scale and long-duration execution, Third Moment Research leverages a suite of foundational models and specialized tools, including GPT-6 Astra, GPT-6.1 Sol, Codex, and Daybreak for cybersecurity operations. This milestone underscores substantial advancements in multi-agent orchestration, agentic endurance, autonomous software engineering, and defensive cybersecurity workflows, pointing toward scalable, self-improving multi-agent environments.

Mathematicians Face Years of Analysis as OpenAI Abruptly Drops Unprecedented Flood of Mathematical Results
Research Breakthrough

Mathematicians Face Years of Analysis as OpenAI Abruptly Drops Unprecedented Flood of Mathematical Results

OpenAI has abruptly published a massive volume of mathematical findings, leaving the global academic community in a state of profound shock and contemplation. In discussions with The Verge, more than three dozen leading mathematicians characterized the unexpected release with terms ranging from 'staggering' and 'overwhelming' to 'unprecedented,' 'surreal,' and 'pure insanity.' The sudden drop has triggered widespread awe and excitement alongside deep uncertainty regarding how researchers will process and verify the sheer scale of the output. Academic experts indicate that sorting through and making sense of this deluge of AI-generated mathematics will demand years of dedicated effort, marking a transformative moment in the relationship between commercial frontier artificial intelligence labs and pure academic sciences.