Tech • AI • Robotics • Game

ENFR

Daily Podcast full article

Claude agents formalize Fermat proof in 30-hour multi-agent run

Anthropic researcher Lance Martin’s newly posted AI Engineer talk has sharpened the claim around Claude and Fermat’s Last Theorem: this was not AI discovering a new proof, but a large-scale formalization exercise in Lean, with 1,000 Claude agents coordinating through Git, SQL and self-built memory structures to rebuild a computer-checkable version of a known mathematical result.

Generated November 27, 2026 at 12:13 PM≈ 6 min read
AI-generated illustration

The headline: 1,000 agents, one famous theorem

Claude agents formalize Fermat proof — that is the story, and the important verb is “formalize.” In a talk posted on November 25, 2026, Anthropic’s Lance Martin described a run in which 1,000 Claude agents worked on Fermat’s Last Theorem, translating the proof path into Lean, a proof-assistant environment where the result can be checked line by line by a computer . Recent summaries of the talk say the system used a lead agent plus 999 helper agents and completed the run in roughly 30 hours, with one detailed report giving the time as 28.7 hours .

The result sits between two easy misconceptions. It was not a rediscovery of Fermat’s Last Theorem from first principles; Andrew Wiles proved the theorem in the 1990s, and the modern question here is whether machines can convert such high-level mathematics into fully explicit formal code . But it also was not just another chatbot demo. The work tested whether many autonomous agents could divide a long, fragile verification task, preserve shared state, avoid duplicating work and push a complex formal proof toward a final checked target .

That distinction matters because formal mathematics is unforgiving. A normal human proof can skip “obvious” steps, lean on context, and leave routine transformations to the reader. A formal proof cannot. Every definition, lemma and inference has to survive the proof checker. The practical bottleneck is often not mathematical inspiration but disciplined, exhaustive translation.

What Martin says changed from the earlier run

The November talk revisited Anthropic’s earlier Fermat formalization work and then described a larger, more stripped-down run. According to recent coverage, the earlier September effort used about a dozen agents, a domain-specific orchestration platform called Prove2Me, and more researcher guidance; the newer run scaled to 1,000 agents and tested whether they could coordinate with simpler tools . The AI Record’s archive of Martin’s talk records him saying that the goal for Fable 5.2 was to see whether a much larger team could do the formalization with “no domain specific harness” and no human steering of the solution .

In the reported setup, the agents did not get an open internet or a rich mathematical collaboration suite. They ran in restricted sandboxes and could connect to Git and a SQL database . The lead agent’s job was not merely to write Lean; it had to organize the labor of 999 other processes. Martin said the lead created database tables early in the run to manage announcements, assignments, notes and landed work, effectively inventing a coordination layer for the project .

This is the part of the story with the broadest technical implications. The impressive claim is not only that Claude could write formal proof code. It is that a swarm of agents could create and use shared infrastructure while the task was underway. For long-horizon work, memory is not a decorative feature. It is the work surface.

The memory problem behind the mathematics

A thousand agents are useful only if their partial progress remains legible to one another. Otherwise, parallelism becomes noise: agents repeat dead ends, overwrite assumptions, fail to notice merged work or keep solving subtasks that no longer matter. In Martin’s account, the Fermat run was as much an experiment in agent memory and coordination as in theorem formalization .

The lead agent reportedly organized the helpers into crews and used database state to track which parts of the theorem had been attacked, which results had landed, and which notes were worth preserving . AINotes’ transcript summary says the agents were given Git, a SQL database, sandboxes with restricted network access and no domain-specific harness, and that the lead agent built coordination tables within minutes . Drishvada’s digest similarly emphasizes that the 1,000-agent system coordinated through simple primitives, with the lead agent creating structures for announcements, subtasks and landed status .

The broader lesson is that memory for agents is not just a larger context window. It is a set of practices: what to record, what to ignore, what to trust, and how to expose the right fragment to the right worker at the right time. Martin’s talk reportedly connected the Fermat run with “dreaming,” Anthropic’s term for offline passes in which Claude reviews transcripts and notes to organize or correct memory . That link is central: formal proof work requires persistence across thousands of small decisions, and a multi-agent system needs a way to turn those decisions into durable shared state.

Formal verification, not mathematical discovery

The safest reading of the result is also the most interesting one. This was formal verification of a known theorem, not a claim that Claude discovered Fermat’s Last Theorem or replaced Wiles. Sulat’s November 27 report explicitly frames the November run as a rebuilt computer-checked proof, and it notes that Anthropic itself calls the run a “toy experiment” because the theorem had already been formalized, the agents received a route sketch, and some proved lemmas were supplied from earlier work .

Those caveats do not erase the achievement. They define it. A known proof can still be enormously hard to formalize. The difficulty lies in creating a machine-checkable chain from foundations to final theorem, while managing dependencies and avoiding hidden gaps. If 1,000 agents can take a scaffolded but still large mathematical formalization and push it through in about 30 hours, that is evidence that agent teams may become useful for other verification-heavy domains .

The analogy to software is direct. Large software systems also depend on many small claims: this function preserves an invariant, that compiler optimization does not change semantics, this cryptographic implementation matches its specification. Formal methods have long promised stronger guarantees, but they are expensive. If agent teams can reduce the cost of writing and maintaining formal proofs, the same machinery that checked a famous theorem could help check programs, protocols and research artifacts.

Why the caveats matter

The strongest version of the story is not “AI solved Fermat.” It is “AI agents showed a new scale of coordination on a formalization task.” That phrasing avoids two kinds of hype. First, it preserves credit for the human mathematical lineage behind the theorem. Second, it leaves room for independent verification of the November run itself.

Recent reporting notes that the 28.7-hour result is self-reported and that the November proof repository was not linked in the same way as the earlier public September work . That means outside readers should treat the performance numbers as Anthropic’s report unless and until the artifacts are independently inspected. The AI Record also flags the institutional context: Martin is an Anthropic employee presenting Anthropic experiments, and Anthropic sells AI systems . That does not invalidate the claims, but it does affect how cautious a reader should be.

There is also a difference between executing a known route and choosing a new one. The agents reportedly received a final theorem, milestones, definitions and previously proved lemmas . That makes the result a test of execution, orchestration and formal proof production, not a test of autonomous mathematical taste at the frontier. In research, knowing which path to formalize can be as hard as carrying it out.

The real signal

The real signal is that parallel agents are moving from short tasks to long, stateful work. A single model session can draft code or summarize a paper. A coordinated fleet can attempt something structurally different: maintain a shared project state, branch and merge work, reassign labor, and keep pushing against bottlenecks for more than a day.

Fermat’s Last Theorem is a symbolically perfect benchmark because it is famous, unforgiving and already known. Everyone understands the romance of Fermat’s margin note; fewer people appreciate the engineering challenge of making every step acceptable to Lean. Claude did not need a wider margin. It needed a thousand processes, memory tables, sandboxes, monitoring, Git, SQL and plenty of compute.

That is why this story matters beyond mathematics. The future suggested by Martin’s talk is not an oracle that casually invents theorems, but a disciplined agent organization that can grind through verification, audit trails and formal artifacts at a scale humans usually avoid. If that pattern holds, software verification and research automation may be the larger beneficiaries of the Fermat run.

Comments

Be the first to comment.

Sources from the last 72 hours

  1. [1]Anthropic’s Lance Martin walks through the 1,000-agent Fermat run and how Claude “dreams” its memoryNov 27, 2026, 1:00 AM
  2. [2]1,000 Claude Agents Formalized Fermat's Last Theorem — Lance Martin, AnthropicNov 25, 2026, 9:00 PM
  3. [3]Lance Martin, Anthropic: “And so the agents all autonomously, without specific prompti…”Nov 25, 2026, 9:00 PM
  4. [4]1,000 Claude Agents Formalized Fermat's Last Theorem — Lance Martin, Anthropic Transcript, AI Summary & Key PointsNov 26, 2026, 1:00 AM
  5. [5]1,000 Claude Agents Formalized Fermat's Last Theorem — Lance Martin, AnthropicNov 25, 2026, 1:00 AM

AI-generated article based on recent web research, then preserved as a dated editorial snapshot.