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 Develops Autonomous AI Pipeline to Discover, Validate, and Patch 948 Linux Kernel Vulnerabilities

OpenAI has developed an autonomous security pipeline capable of discovering, validating, and generating remediation patches for 948 local privilege-escalation vulnerabilities within the Linux kernel. By systematically automating the end-to-end vulnerability management cycle, the initiative marks a significant milestone in software defense and artificial intelligence applications. The Linux kernel serves as foundational infrastructure for global cloud platforms, enterprise servers, and consumer devices, making robust kernel security vital to modern digital infrastructure. OpenAI's autonomous approach addresses critical bottlenecks in cybersecurity by combining automated flaw identification with rigorous validation and precise code remediation. This development signals a major shift toward automated software assurance, demonstrating how advanced AI systems can proactively safeguard critical open-source software by eliminating hundreds of exploit paths before malicious actors can weaponize them.

Research Breakthrough

OpenAI Introduces LifeVal Benchmark to Measure AI Performance on Everyday Human Tasks and Practical Responsibilities

OpenAI has officially announced LifeVal, a new benchmark designed to evaluate how effectively artificial intelligence systems assist people in executing real-world, everyday tasks. Rather than focusing solely on abstract academic tests or technical benchmarks, LifeVal centers on practical domains that impact daily human life. Specifically, the benchmark evaluates model assistance in critical areas such as finding childcare, handling personal finances, and navigating government paperwork. By assessing how AI aids users with essential personal, financial, and administrative challenges, LifeVal marks an important effort to understand AI's real-world usefulness and utility in routine human activities.

Google Satellite AI Server Achieves Orbit Milestone by Transmitting First Model Response Directly to Earth
Research Breakthrough

Google Satellite AI Server Achieves Orbit Milestone by Transmitting First Model Response Directly to Earth

Google has achieved a significant milestone in space-based computing after its AI chip-equipped satellite successfully generated and transmitted its first artificial intelligence response from orbit back to Earth. According to a blog post published by Google on Friday, mission engineers successfully booted up the orbital payload's Tensor Processing Units (TPUs). Following the hardware activation, Google's onboard Gemma 4 language model executed an inference task prompted to compose a haiku reflecting on its presence in orbit. The resulting transmission begins with the imagery of the blue marble below as data streams, marking an initial verification that Google's specialized TPU accelerator hardware and Gemma model architecture can operate effectively in an extraterrestrial satellite environment.