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

Google Research Leverages Transfer Learning to Improve Genomic Prediction for Underrepresented Populations
Research Breakthrough

Google Research Leverages Transfer Learning to Improve Genomic Prediction for Underrepresented Populations

Google Research has introduced a significant advancement in bioinformatics by applying transfer learning to genomic prediction, specifically targeting underrepresented populations. Historically, genomic studies have suffered from a lack of ancestral diversity, leading to health prediction models that are less accurate for non-European groups. By utilizing transfer learning, researchers can now adapt models trained on large, data-rich datasets to provide more accurate predictions for smaller, underrepresented cohorts. This approach aims to mitigate the 'data poverty' in genomics and ensure that the benefits of precision medicine, such as polygenic risk scores, are distributed more equitably across global populations. The research underscores the potential of AI to bridge gaps in healthcare data and improve diagnostic outcomes for diverse demographic groups worldwide.

Google Research Achieves Connectomics Milestone by Mapping the Complete Male Fruit Fly Brain
Research Breakthrough

Google Research Achieves Connectomics Milestone by Mapping the Complete Male Fruit Fly Brain

Google Research has reached a significant milestone in the field of connectomics with the successful mapping of the complete male fruit fly brain. This achievement represents a major leap forward in biological science, providing a comprehensive map of the neural connections within a complex organism. By detailing the intricate wiring of the male fruit fly, the project offers a foundational resource for understanding how neural architecture translates into behavior and sensory processing. As a milestone in connectomics, this work highlights the growing synergy between advanced computational techniques and biological research, setting a new standard for the scale and detail of brain mapping. The completion of this map is expected to catalyze further discoveries in neuroscience and the development of more sophisticated neural network models.

Google Research Unveils TimesFM: A Specialized Pretrained Foundation Model for Time Series Forecasting
Research Breakthrough

Google Research Unveils TimesFM: A Specialized Pretrained Foundation Model for Time Series Forecasting

Google Research has officially introduced TimesFM (Time Series Foundation Model), a groundbreaking pretrained model specifically engineered for time series forecasting. As a foundation model, TimesFM represents a shift from traditional, task-specific forecasting methods toward a more generalized approach, leveraging large-scale pretraining to understand temporal patterns. Developed by the Google Research team and hosted on GitHub, this model aims to provide a robust framework for predicting future data points across various domains. By utilizing a pretrained architecture, TimesFM allows for sophisticated temporal analysis without the need for extensive training on individual datasets from scratch. This release highlights the expanding influence of foundation models beyond natural language processing and into the critical field of numerical and sequential data analysis, offering a new tool for researchers and developers worldwide.