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

OpenAI Economic Research Reveals How Workers Expand Job Boundaries and Establish Recurring AI-Driven Workflows

A new report from the OpenAI Economic Research Team titled 'How workers are unlocking new ways of working' reveals a structural evolution in workforce behavior. Serving as the second installment in the 'Work at the Frontier' series following its July 2026 predecessor, the study explores how employees move beyond initial cross-occupational AI experimentation to integrate non-traditional tasks into their recurring monthly workflows. The research highlights notable differences in prompting behavior, showing that workers craft shorter, more direct prompts when venturing outside their core expertise. Additionally, adoption varies widely across disciplines: customer communications and promotional writing exhibit high stickiness rates of 54% and 44% respectively, whereas specialized activities like legal research face lower long-term integration. The findings suggest job roles may fundamentally broaden long before corporate titles officially change.

OpenAI Claims Breakthrough Solution to Millennium Prize Problem Amid Growing Unease in the Mathematical Community
Research Breakthrough

OpenAI Claims Breakthrough Solution to Millennium Prize Problem Amid Growing Unease in the Mathematical Community

OpenAI has reportedly claimed a major breakthrough by announcing a solution to one of mathematics' legendary Millennium Prize problems, marking one of the lab's most significant assertions to date. Over recent years, the artificial intelligence company has steadily expanded its focus across increasingly challenging mathematical terrain. While solving a Millennium Prize problem would ordinarily be celebrated as a historic milestone for science and computation, the reaction across the academic mathematics community has been markedly complex and reserved. Rather than unanimous acclaim, many mathematicians have observed OpenAI's relentless push into higher-level mathematics with visible hesitation and concern. This reaction highlights growing friction between corporate AI development goals—characterized by aggressive milestone-seeking and competitive advancement—and the traditional academic values of open inquiry, rigorous peer review, and deep conceptual understanding that have long defined the discipline of mathematics.

Research Breakthrough

How AI Accelerates Antibiotic Discovery: Exploring Living and Extinct Genomes with Codex and ChatGPT

As global healthcare grapples with escalating antimicrobial resistance, researchers are turning to advanced generative AI tools to accelerate drug discovery. The laboratory led by bioengineer César de la Fuente is utilizing OpenAI's Codex and ChatGPT to analyze living and extinct genomes in search of novel antimicrobial candidates. By integrating computational code generation and generative language models into bioinformatics workflows, the research team can rapidly process biological datasets, explore evolutionary lineages, and identify promising therapeutic molecules capable of combating drug-resistant infections. This approach represents a transformative paradigm shift in machine biology, illustrating how AI-powered tools can assist scientists in mining complex genetic blueprints across millennia to discover next-generation countermeasures against multi-drug resistant pathogens.