← Retour au blog
tech 4 September 2026

Formalizing Fermat's Last Theorem: A Mathematical Revolution

Claude, an AI model, autonomously formalized Fermat's Last Theorem in just 11 days, marking a major breakthrough in AI-driven automatic verification of mathematics.

Article inspired by the original source
Formalizing Fermat's Last Theorem ↗ www.anthropic.com

Introduction: A Turning Point for Mathematics

Fermat's Last Theorem, first stated by Pierre de Fermat in 1637, puzzled mathematicians for centuries until Sir Andrew Wiles provided a proof in 1995. Today, a new milestone has been reached: Claude, an AI model, successfully formalized this proof in just 11 days. Let’s explore what this means for the future of mathematics.

Historical Context

Fermat wrote in the margin of his book that the equation aⁿ + bⁿ = cⁿ has no solutions in positive integers for n > 2. This conjecture became a subject of fascination and frustration for over 350 years. Wiles' proof, although brilliant, was complex and lengthy to verify.

The Rise of Formalization

In the early 2000s, Jan Bergstra proposed formalizing Wiles' proof, transforming mathematical reasoning into a form that computers can automatically verify. This led to community efforts, notably by Kevin Buzzard, to use the Lean proof assistant in this task.

Claude and Automatic Formalization

Tianyi Peng, a researcher at Anthropic, conducted an experiment to see if Claude could formalize Fermat's Last Theorem. Working almost autonomously, Claude produced a computer-verified proof, writing 13 million lines of Lean code and proving 29,500 intermediate theorems.

Implications for Mathematical Research

This breakthrough means we are moving towards a future where all mathematics can be automatically verified. This could revolutionize the process of validating new mathematical findings, reducing the time required for verification.

Toward a New Paradigm

AI-driven autoformalization not only offers faster verification. It provides a model for integrating artificial intelligence into mathematical work, which could transform how mathematics is taught and practiced.

Conclusion: A Promising Future

Claude's formalization of Fermat's Last Theorem is a significant milestone. It paves the way for advancements where human-machine collaboration becomes essential in the mathematical field.

Let's discuss your project in 15 minutes.

Fermat's Last Theorem AI formalization Lean proof assistant mathematics verification Claude AI
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call