AI and the Formalization of Mathematical Theorems
Artificial intelligence is making strides in the formalization of mathematical proofs, with Anthropic recently sharing the first complete computer-checked proof of Fermat’s Last Theorem.


Anthropic researchers have announced that their AI model, Claude, produced the first complete computer-checked proof of Fermat's Last Theorem in just 11 days, using the Lean programming language. This achievement was accomplished with minimal human intervention, as Claude worked largely autonomously over the course of 11 days to write the proof in the Lean programming language, according to the source from www.anthropic.com (id: 2). The proof involved writing 13 million lines of Lean code and proving 29,500 intermediate theorems, marking a significant milestone in the use of AI for mathematical verification. [2]
The formalization of Fermat's Last Theorem, originally proposed by Pierre de Fermat in 1637, was a mathematical challenge that took centuries to solve. The first proof was provided by Sir Andrew Wiles in 1995, after months of painstaking work to verify its correctness. The use of AI to formalize this proof in just 11 days represents a major advancement in the field of automated theorem proving and highlights the potential of AI in mathematics (id: 2). [2]
The process of formalizing complex mathematical proofs, such as Fermat's Last Theorem, involves converting the reasoning into a form that computers can check automatically. This is a significant step towards a future in which all of mathematics can be readily checked, as AI produces more proofs, and the ability to formalize work can lighten the burden of evaluating new results (id: 2). The achievement was made possible through the use of Prove2Me, an open collaborative platform for formalizing mathematics, which helped manage the proof process efficiently. [2]
Anthropic researchers have announced that their AI model, Claude, produced the first complete computer-checked proof of Fermat's Last Theorem in just 11 days, using the Lean programming language. This achievement marks a significant advancement in the field of mathematics and AI collaboration. The formalization of complex mathematical proofs, such as Fermat's Last Theorem, involves converting the reasoning into a form that computers can check automatically (source ID 2). [2]
Advertisement
The process of formalizing Fermat's Last Theorem was largely autonomous, with Claude working over 11 days to write the proof in the Lean programming language. Along the way, it wrote 13 million lines of Lean and proved 29,500 intermediate theorems. The result was shared with Kevin Buzzard, who noted the significance of this achievement in autoformalization (source ID 2). [2]
The formalization of Fermat's Last Theorem, originally proposed by Pierre de Fermat in 1637, was a mathematical challenge that took centuries to solve. The first proof, from Sir Andrew Wiles in 1995, ran to 129 pages and required months of painstaking work to verify. The use of AI in this process has demonstrated the potential to significantly reduce the time and effort required for formal verification (source ID 2). [2]
Anthropic researchers have announced that their AI model, Claude, produced the first complete computer-checked proof of Fermat's Last Theorem in just 11 days, using the Lean programming language (source ID: 2). The formalization of Fermat's Last Theorem, originally proposed by Pierre de Fermat in 1637, was a mathematical challenge that took centuries to solve. The process of formalizing complex mathematical proofs, such as Fermat's Last Theorem, involves converting the reasoning into a form that computers can check automatically (source ID: 2). [2]
Claude worked largely autonomously over 11 days to write the proof in the Lean programming language (source ID: 2). The formalization process was expected to take years, as the blueprint the mathematical community has been using to describe the initial phase of the project runs to 86 pages (source ID: 2). However, Claude completed the proof in 11 days, producing computer-verifiable proofs of 30,300 theorems along the way (source ID: 2). [2]
Advertisement
The result went further than expected, as Claude produced the first end-to-end, computer-checked proof of FLT (source ID: 2). Along the way, it wrote 13 million lines of Lean and proved 29,500 intermediate theorems (source ID: 2). The proof was checked by Lean; it uses just Lean’s three standard axioms, and a comparator confirmed that the theorem’s statement matches Mathlib’s own statement of FLT (source ID: 2). [2]
Sources
Prepared with AI assistance from the cited sources.
The Cali Reporter newsletter
The stories worth your time.
California, the country, and what comes next. Join our free newsletter for reporting that keeps you informed.
More in World
- Zelensky Condemns Putin as 'Killer' Amid Trump's Remarks
Ukraine's President Volodymyr Zelensky has strongly condemned Russian President Vladimir Putin, calling him a 'killer' following comments by U.S. President Donald Trump referring to Putin as a 'friend.'
- UK Anti-Migrant Activist Jailed for Damaging Rescue Boat
A British anti-migrant activist has been sentenced to 15 months in prison for slashing a dinghy used by migrants crossing the English Channel while a French rescue worker was still on board.
- Africa Launches Its Own Credit Rating Agency
The African Union has launched the Africa Credit Rating Agency (AfCRA), aiming to provide more accurate and context-specific assessments of African economies and borrowers.