Anthropic

Formalizing Fermat's Last Theorem

Sep 7, 2026
Formalizing Fermat's Last Theorem
SummaryAI, from the source post

This post details the first end-to-end, computer-checked proof of Fermat's Last Theorem (FLT) generated by Claude autonomously over 11 days. It involved writing 13 million lines of Lean code and proving 29,500 intermediate theorems. The process leveraged a multi-agent harness and the Prove2Me platform for managing theorem DAGs, optimizing Lean compilation, and enabling search/reuse. This work demonstrates AI's capability to formalize complex mathematical proofs, significantly reducing the time and effort compared to human efforts, and highlights the potential for AI to assist in verifying mathematical literature and AI-generated mathematics.

More from the AI-assisted Mathematical Formalization trail