‹ Blog
AINov 14, 20266 min read

Anthropic Says 1,000 Claude Fable 5.2 Agents Formalized Fermat's Last Theorem in 30 Hours

Anthropic says a team of 1,000 Claude Fable 5.2 agents rebuilt a computer-checked proof of Fermat's Last Theorem in about 30 hours, down from 11 days for its first attempt in September. The run had a head start, and the new proof has not yet been published for outside review.

Anthropic Says 1,000 Claude Fable 5.2 Agents Formalized Fermat's Last Theorem in 30 Hours – MoovX

Key takeaways

  1. Anthropic says a team of 1,000 Claude Fable 5.2 agents formalized Fermat's Last Theorem in the Lean proof assistant in about 30 hours, a claim it made at the model's November 9 launch.
  2. Anthropic's first formalization, by an unreleased research model with occasional researcher direction, took 11 days and was published in September; Kevin Buzzard compiled and checked it.
  3. The 30-hour run started with 60 target statements, a one-sentence route sketch, definitions, and 47 lemmas already proved in the September work.
  4. Anthropic has not published the new proof, and no outside mathematician has reported checking it.
  5. This is a machine-checked version of Andrew Wiles's existing proof, not a new proof of the theorem.

Anthropic says a team of 1,000 agents running Claude Fable 5.2 formalized the proof of Fermat's Last Theorem in about 30 hours. The company made the claim on November 9, 2026, in its launch announcement for Claude Fable 5.2 and Claude Mythos 5.2, and described the run in more detail in an engineering post the same day.

The hosts of the Moonshots podcast made "30 hours" their number of the week in episode 310.

The result is a repeat, not a first. In September, Anthropic published what it called the first complete computer-checked proof of the theorem, written in the Lean proof assistant by dozens of agents running an unreleased research model over 11 days, with occasional direction from a researcher.

The new run is Anthropic's own test, which it calls a "toy experiment," and the new proof has not yet been published for outside review.

What Fermat's Last Theorem Actually Is

Pierre de Fermat scribbled a note in the margin of a book in 1637, claiming he had a proof that no three positive integers can satisfy the equation a^n + b^n = c^n for any integer value of n greater than 2. He famously added that the margin was too small to contain it.

That marginal note kicked off over 350 years of mathematical obsession. The theorem itself is easy to state. The proof is anything but.

Andrew Wiles, a British mathematician at Princeton, announced a proof in June 1993 after about seven years of largely secret work. A reviewer soon found a gap, and Wiles spent about a year fixing it, partly with his former student Richard Taylor. The corrected proof was published in 1995.

It runs to roughly 130 pages and draws on deep areas of number theory, including elliptic curves and modular forms, that Fermat almost certainly never knew.

350years
Fermat's Last Theorem remained unproven
130pages
approximate length of Wiles's published proof

Figures as stated in this article.

Formalizing a Proof Is a Different Beast

There is a meaningful gap between understanding a mathematical proof and formalizing it. Formalization means translating every logical step into a machine-verifiable language that a proof assistant, such as Lean, Rocq (formerly Coq), or Isabelle, can check line by line without any hand-waving.

Human mathematicians routinely skip steps that feel obvious, trusting that a reader can fill in the gaps. A proof assistant has no such generosity. Every inference must be spelled out explicitly, which is why formalizing even modest proofs can take months of expert effort.

Diagram comparing a human proof, where steps that feel obvious may be skipped, with a formalized proof in which every logical step is translated into a machine-verifiable language so a proof assistant can check it line by line – MoovX
Figure 1. Formalization means translating every logical step into a machine-verifiable language that a proof assistant, such as Lean, Rocq (formerly Coq), or Isabelle, can check line by line without any hand-waving.

Several major mathematical results have been formalized over the past two decades, including the four-color theorem and the Feit-Thompson odd order theorem. Each took specialists years to complete. Anthropic's September run did Fermat's Last Theorem in 11 days, and the company says the new run took about 30 hours.

What Anthropic Says the Fable 5.2 Agents Did

According to Anthropic's engineering post, one lead agent and 999 helpers, each running an early version of Claude Fable 5.2 in its own sandbox with no internet access, wrote the proof in Lean using Mathlib, Lean's main mathematics library.

They coordinated through Git and a shared database rather than the Prove2Me formalization platform used in September, and no researcher steered the work. The final theorem was proved at hour 28.7 of a 30-hour budget. Activity stopped near hour 18, and Anthropic restarted the run from its last save with 12 more hours.

The agents did not start from scratch. Anthropic gave them 60 statements to prove (the final theorem plus 59 intermediate milestones), a one-sentence sketch of the classical route, the definitions those statements use, and 47 lemmas already proved in its September formalization.

Anthropic amended its launch page on November 11 to describe those inputs more accurately.

Diagram of what Anthropic says it gave 1,000 Claude Fable 5.2 agents — 60 statements, a one-sentence sketch, definitions, and 47 lemmas — and a 30-hour timeline with a stop near hour 18 and the final theorem proved at hour 28.7 – MoovX
Figure 2. According to Anthropic, one lead agent and 999 helpers ran in isolated sandboxes, wrote the proof in Lean using Mathlib, and proved the final theorem at hour 28.7 of a 30-hour budget. They did not start from scratch.
30hours
run budget; the final theorem was proved at hour 28.7
47lemmas
carried over from the September proof as a starting point

Figures as stated in this article.

Anthropic says the run used about one-third as many tokens as the first and produced a proof about one-seventh the length. On the same 1,000-agent setup, Claude Opus 5.5 completed only 26% of the formalization in 18 hours.

Claude Fable 5.2 and Claude Mythos 5.2 are the same underlying model, Anthropic says. Fable carries cybersecurity and biology safeguards and is available to all users. Mythos is limited to organizations approved through Anthropic's verification programs.

Both are priced at $8 per million input tokens and $40 per million output tokens.

The Same Launch Made a Hardware Claim

Anthropic paired the math result with a hardware one. It says that from a one-paragraph prompt, Fable 5.2 designed three working electronic devices: a home voice-assistant hub, a USB speakerphone, and a handheld virtual pet.

Claude wrote the specifications, chose components, routed each four-layer circuit board, modeled the enclosures, and wrote the software. Diode, a company that designs and manufactures circuit boards, built the boards, and Anthropic says all three devices worked without electrical modifications.

Like the Fermat run, this is Anthropic's own prerelease test, not an independent evaluation.

How to Think About This Claim Right Now

AI capability claims have a complicated track record. Some that seemed implausible turned out to be real. Others that generated significant media excitement collapsed on closer inspection, usually because the benchmark or task definition was narrower than it appeared.

A formal proof in a proof assistant is easier to verify than many AI benchmarks. Either Lean accepts the proof, or it does not. Experts still check two more things: that the formal statement really is Fermat's Last Theorem, and that the proof uses no extra axioms.

If Anthropic publishes the Lean files, outside experts can compile them and run those checks.

01 / 03
A formal proof can be checked

Lean either accepts a proof or rejects it, so the claim becomes testable as soon as the code is public.

02 / 03
The speedup mixes several changes

A newer model, 1,000 agents instead of dozens, and 47 lemmas reused from the first run all differ between the 11-day and 30-hour runs.

03 / 03
No outside check yet

Anthropic has not published the new proof, and no outside mathematician has reported reviewing it.

Comparison of Anthropic's September formalization, which took 11 days, was posted on GitHub, and was reviewed by Kevin Buzzard, with the November 9 run of about 30 hours, which has not been published for outside review – MoovX
Figure 3. The November run is a repeat, not a first. The speedup mixes several changes, including a newer model, 1,000 agents instead of dozens, and 47 lemmas reused from the first run, and the new proof has not yet been published.

What Verification Would Actually Look Like

The September proof shows what a fuller package looks like. Anthropic posted it on GitHub. Lean checked it using only Lean's three standard axioms, a comparator tool confirmed that its statement matches Mathlib's own statement of Fermat's Last Theorem, and Buzzard compiled and reviewed it.

For the 30-hour run, Anthropic says its own grader accepted the proof using only Lean's standard axioms, but it does not say whether a comparator confirmed the theorem statement. The new proof is not in Anthropic's public Fermat repository, and the company names no outside reviewer.

Until that changes, the 30-hour figure is Anthropic's own account of a rerun of a task it had already completed. It is still a striking jump from 11 days, and one that outside experts will be able to test if the code is released.

Sources

aiclaudeanthropicmathematics

Found this useful? Charge it.

Tap up to 10 times