Anthropic has published details of a project in which Claude was used to help formalize Fermat's Last Theorem using a computer proof assistant. The work, posted on anthropic.com, places the company in a growing field of researchers trying to bring rigorous machine-verified proofs to some of the most complex results in mathematics. Fermat's Last Theorem, which states that no three positive integers can satisfy the equation a^n + b^n = c^n for any integer value of n greater than two, was famously proved by Andrew Wiles in 1995 after more than 350 years as an open problem.

What Formalization Actually Means

Formalizing a proof is distinct from finding one. In this context, it means translating the logical steps of a proof into a formal language that a computer can verify line by line, leaving no room for the kind of intuitive leaps that human-written mathematics sometimes relies on. Tools like Lean and Coq are commonly used for this purpose, and the mathematics community has spent years working to encode major theorems into these systems. The Wiles proof of Fermat's Last Theorem is particularly challenging to formalize because it draws on a vast web of modern algebraic geometry and number theory, including the modularity theorem for elliptic curves. Encoding all of that machinery into a proof assistant is a multi-year undertaking even for specialist teams.

Key Facts

  • Fermat's Last Theorem was conjectured in 1637 and proved by Andrew Wiles in 1995.
  • Formalizing a proof means encoding it so a computer can verify every logical step.
  • The Wiles proof relies on the modularity theorem, itself a substantial body of mathematics to formalize.
  • Anthropic's project uses Claude to assist human mathematicians rather than replace them.
  • The project is part of a broader industry push to apply large language models to formal mathematics.

Anthropic's approach appears to use Claude as a collaborator for the human mathematicians doing the formalization work, helping to suggest proof steps, identify gaps, and translate informal mathematical reasoning into formal syntax. This kind of assistance is where large language models have shown genuine utility in technical domains. Anthropic has been positioning Claude as a tool for serious scientific and technical work, a direction also visible in its recent moves into life sciences.

Formal verification of major theorems represents one of the hardest tests for AI reasoning, because there is no room for plausible-sounding but incorrect steps.Mathematics and AI researchers, broadly
Claude AI Handboek by Leon Tindemans
Get the Claude AI Handboek
458 pages on getting more out of Claude, by AI expert Leon Tindemans. A printed book, written in Dutch, shipped worldwide with track and trace.
View the book →

Why This Project Matters for AI Research

Mathematics is often cited as a domain where AI systems struggle most visibly with reliability. A model can produce confident-sounding reasoning that contains subtle errors, and in informal settings those errors can go unnoticed. Formal proof environments change that dynamic entirely: either the proof checker accepts a step or it does not. Using Claude inside that kind of environment is one way to stress-test the model's reasoning in a setting where correctness is binary. The results, whatever they turn out to be, will give researchers concrete data on where the model's mathematical reasoning holds up and where it breaks down.

The project also fits into a wider pattern of Anthropic targeting scientific domains as a commercial and research priority. Formal mathematics sits at an unusual intersection: it is both a pure research challenge and a practical one, since verified software and hardware correctness increasingly depend on the same proof-assistant tools. Getting Claude to perform well in Lean or a similar system would have implications well beyond pure math.

It is worth noting that full formalization of the Wiles proof is likely still years away even with AI assistance. The project as described appears to be tackling components of the broader proof infrastructure rather than claiming a complete end-to-end formalization. Progress in this area tends to be incremental, with teams formalizing prerequisite lemmas and supporting theories before the main result becomes reachable. What Claude's model family contributes to that pipeline, and how reliably, will be the real measure of the project's success over time.

Anthropic has not announced a timeline for completing the formalization, and the project appears to be ongoing. Publication of the details signals that the company views this kind of foundational research work as worth sharing with the broader community, even before a finished result is in hand.

Further reading: Learn more about Claude's model family, read our background on Anthropic, or browse the latest Claude AI news.