---
title: Anthropic's Lean artifact formalizes Fermat's Last Theorem, not a new discovery — Ground Truth
url: https://groundtruth.day/news/anthropic-lean-formalizes-fermats-last-theorem.html
description: A public Anthropic Lean repository contains a complete formalization of a classical Fermat's Last Theorem proof route, which mathematician Kevin Buzzard says compiles and checks.
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://groundtruth.day/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

News · [2026-09-05](https://groundtruth.day/news/2026-09-05.html)

# Anthropic's Lean artifact formalizes Fermat's Last Theorem, not a new discovery

Anthropic has released a Lean formalization of a complete classical proof route for Fermat's Last Theorem, and mathematician Kevin Buzzard says the code compiles and checks. The result is a major advance in autoformalization, but it is not an AI discovering a new theorem or independently reinventing the mathematics from scratch.

### Key facts

- Anthropic published a [research announcement](https://www.anthropic.com/research/formalizing-fermats-last-theorem) and [public Lean repository](https://github.com/anthropics/fermats-last-theorem).
- Kevin Buzzard writes that the artifact formalizes a complete proof and that he compiled it and ran a comparator.
- Buzzard says the route follows the Darmon-Diamond-Taylor exposition of the Wiles/Taylor-Wiles argument.
- He estimates the end-to-end formalization involved thousands of pages and took about 11 days.

Fermat's Last Theorem says that the equation x to the n plus y to the n equals z to the n has no positive-integer solutions when n is greater than two. Andrew Wiles's proof, completed with Richard Taylor, is one of the landmarks of modern mathematics. A Lean formalization is not a narrative explanation of that proof. It is a program-like object in the Lean proof assistant whose every step is checked against formal definitions and rules.

Buzzard is unusually well placed to scope the result because he leads related formalization work. In [his post](https://xenaproject.wordpress.com/2026/09/04/flt-anthropic-has-beaten-me-to-it/), he says Anthropic's internal model, through prove2.me, 'formalized a complete proof of Fermat's Last Theorem (FLT) in Lean.' He adds, 'it checks out,' after compiling the code and running a comparator. He says he also inspected every non-mathematical line for malicious material. That is substantially stronger confirmation than a launch benchmark.

The precision matters. Buzzard says this is not the modern proof route his own project has been formalizing. It follows an early Darmon-Diamond-Taylor exposition using Langlands-Tunnell and Ribet. The repository develops enough Fontaine theory and Mazur Eisenstein-ideal machinery to rule out relevant Frey curves for p at least 17; other pieces were already present. So the theorem statement is fully formalized, while the mathematical content remains existing literature.

An analogy helps. Translating a classic novel into a language with an unforgiving compiler does not write a new novel. It proves that the translation preserves every sentence under strict grammatical rules, and it creates a version future readers can mechanically check. The difficult part is that mathematics contains definitions, library dependencies and tacit conventions that humans handle informally. Turning thousands of pages into verified Lean code is a substantial systems and reasoning achievement.

Buzzard is careful not to overclaim. He says the artifact 'tells us essentially nothing' mathematically because it adds no new theorem content. His own EPSRC-funded work still needs contributions to Lean's math library and a dynamic, human-readable document so mathematicians can explore the proof. A formal artifact can be correct and still be difficult for a human to maintain or learn from.

That is the best counterargument to triumphalist headlines: autoformalizing an established proof is not the same as creating mathematics. The response is not to minimize the result, but to name it correctly. It demonstrates that an AI-assisted system can produce a complete, independently checkable formal artifact at a scale that was recently implausible. That may make mathematical review, collaboration and assumption-checking more rigorous. It will not eliminate the need for people who know what result is worth proving and why. For background, see [what a proof assistant is](https://groundtruth.day/learn/what-is-a-proof-assistant.html).

---

Primary source, verified: [read the paper →](https://www.anthropic.com/research/formalizing-fermats-last-theorem)

Key questions

## Did Anthropic discover a new proof of Fermat's Last Theorem?

No; the public result is a machine-checked formalization of a known classical proof route, not a new mathematical theorem or proof idea.

## Has an independent mathematician checked the artifact?

Kevin Buzzard says he compiled the codebase and ran a comparator, concluding that it checks out.

## Why is a formalization significant if the theorem was already known?

A complete formalization turns a long human proof into an artifact a proof assistant can mechanically verify, which is a major autoformalization capability.

**Cite this**

APA

```
Ground Truth. (2026, September 5). Anthropic's Lean artifact formalizes Fermat's Last Theorem, not a new discovery. Ground Truth. https://groundtruth.day/news/anthropic-lean-formalizes-fermats-last-theorem.html
```

BibTeX

```
@misc{groundtruth:anthropic-lean-formalizes-fermats-last-theorem,
title  = {Anthropic's Lean artifact formalizes Fermat's Last Theorem, not a new discovery},
author = {{Ground Truth}},
year   = {2026},
month  = {sep},
url    = {https://groundtruth.day/news/anthropic-lean-formalizes-fermats-last-theorem.html}
}
```

Topics: [mathematics](https://groundtruth.day/tags/mathematics.html) · [formal-verification](https://groundtruth.day/tags/formal-verification.html) · [lean](https://groundtruth.day/tags/lean.html) · [anthropic](https://groundtruth.day/tags/anthropic.html) · [research](https://groundtruth.day/tags/research.html)

**Related on Ground Truth**

- [Anthropic says Claude produced a complete Lean proof of Fermat's Last Theorem](https://groundtruth.day/news/claude-produced-a-complete-lean-proof-of-fermats-last-theorem.html) News
- [A new Lean repository packages RH and Dirichlet GRH proofs in a shorter edition](https://groundtruth.day/news/shorter-lean-formalization-riemann-hypothesis-grh.html) News
- [The non-sofic group is the one OpenAI claim a computer can check](https://groundtruth.day/news/the-non-sofic-group-is-the-openai-claim-a-computer-can-check.html) News
- [A record elliptic curve now lists Claude as a collaborator](https://groundtruth.day/news/a-record-elliptic-curve-now-lists-claude-as-a-collaborator.html) News

Comments are replies to this story on Bluesky — reply with any Bluesky account to join in.
