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

Research Breakthrough

GPT-6 Models Demonstrate Intrinsic Protein-Design Capabilities Using Reasoning and Code

OpenAI has announced that its GPT-6 family of models exhibits intrinsic protein-design capabilities, enabling them to generate novel protein shapes and chemical building block sequences using only reasoning and code. Without calling specialized biology models for generation, an internal research model matched or outperformed dedicated tools across various protein design tasks. In wet-lab tests conducted with Onava, proteins based on GPT-6.2 designs showed evidence of binding across five distinct targets, while redesigned antibodies maintained binding. Although specialized models still assist in supplying sequences and filtering candidates, the findings highlight how general-purpose reasoning frameworks can leverage broad scientific knowledge for biological discovery.

Research Breakthrough

VP vs VNP Over Every Field: Exploring Anthropics' Formal Math Research Paper

An in-depth look at the research paper titled 'VP ≠ VNP over Every Field', published by mikeryan52 and hosted in Anthropics' formal-math repository on GitHub. This work explores fundamental questions in computational complexity theory regarding the VP versus VNP problem across various fields. The analysis covers the core themes presented in the source repository, highlighting its significance to formal mathematics and theoretical computer science.

Supercharging Transformer Residual Connections: Insights from Google Research
Research Breakthrough

Supercharging Transformer Residual Connections: Insights from Google Research

Google Research blog presents 'Supercharging transformer residual connections', exploring advanced algorithms and theory in machine learning models. This overview highlights developments in optimizing transformer architectures through improved residual connections, published on November 23, 2026.