Claude's Fermat proof: the task graph did the coordinating
Dozens of Claude agents formalized Fermat's Last Theorem in Lean in 11 days. The multi-agent lesson is the shared task graph, not the model.
Anthropic ran dozens of Claude agents at one of the hardest formalization problems in mathematics and got a machine-checked proof out the other side in eleven days. The headline is the theorem. The part worth stealing is how the agents avoided tripping over each other: a shared task graph that every agent read from and wrote to.
What actually happened
Per Anthropic's write-up, a team of Claude agents produced a complete, machine-checked proof of Fermat's Last Theorem in Lean 4 — around 13 million lines of Lean, 30,300 theorems proved with 29,500 used in the final proof, over five times the size of Mathlib, Lean's main library. It burned roughly 6 billion output tokens from a general-purpose internal research model Anthropic describes as roughly comparable to Claude Fable 5.1. Human mathematical input was limited to occasional high-level nudges.
The coordination layer was Prove2Me, an open platform built by Tianyi Peng and collaborators at Columbia. It holds a directed acyclic graph of theorem statements: a claim can be stated with a natural-language description before it is proved. An agent that needs a lemma looks it up, uses it as a black box, and moves on. Another agent proves it later. Lean checked the logic mechanically, and a comparator confirmed the final statement matched Mathlib's definition of FLT. Anthropic notes about 7% of non-boilerplate lines came from attempts that failed. As Kevin Buzzard, who has led the human formalization effort, put it: Anthropic got there first.
Why multi-agent orchestration matters for your business
Most teams that try parallel agents get mud. Five agents edit the same files, three solve the same subproblem, and someone spends the afternoon reconciling it by hand. The instinct is to blame the model and buy a bigger one.
That is not what happened here. The agents were coordinated by an artifact outside any of them: a graph of named, described, individually verifiable units of work, plus a checker that says pass or fail with no argument. Interface first, implementation later, machine-verified at the boundary. Swap "theorem" for "function," "endpoint," or "migration" and you have a plan for your own repo.
Concretely: before you fan out, write the interfaces — signatures, schemas, contract tests — and register them somewhere every agent can read. Let an agent depend on a stub that does not exist yet. Make the pass/fail check cheap and automatic, because six billion tokens of output is only useful if something other than a human is reading it. And budget for waste: 7% of the winning proof came from dead ends, which is a rounding error when the checker catches them for free.
Key takeaways
- Claude agents produced a machine-checked Lean proof of Fermat's Last Theorem in 11 days — ~13M lines, 30,300 theorems, ~6B output tokens
- Parallelism came from Prove2Me's shared DAG of theorem statements, not from a bigger model
- Agents used stated-but-unproved results as black boxes, so nobody blocked on anyone
- Lean was the arbiter: verification was mechanical, so failed branches cost tokens and nothing else
- Copy the pattern — publish interfaces before you fan out, and make the check automatic
Parallel agents are a coordination problem wearing a model costume. We build agent workflows with the shared task state, contract tests, and automatic checks that make fan-out actually faster than doing it serially. See how we build agent workflows, or bring us the pipeline that keeps producing merge conflicts.
Sources: Anthropic, SiliconANGLE, Xena Project.
- #multi-agent
- #ai-agents
- #anthropic
- #agent-orchestration
- #verification
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
XDOF at $1.2B: the training data is the product
XDOF is in talks at a $1.2B valuation for collecting robot training data, three months out of stealth. Proprietary training data is the asset labs cannot self-serve.
Read itProofpoint's SOC analyst agent investigates, never acts
Proofpoint's SOC Analyst Agent runs security investigations on OpenAI Daybreak models but takes no action itself. The restraint is the design lesson.
Read it