Alignment No. 11 · AI for Science

Essay · 4 min read

The referee is a compiler

On 8 October 2026 Science published AlphaProof Nexus, which settled nine open Erdős problems in Lean. A month earlier Claude finished a machine-checked proof of Fermat's Last Theorem.

Lean does not care who wrote the proof. That is the whole appeal.

For most of the last three years the trouble with language models in mathematics was not that they could not write proofs. It was that nobody could afford to read them. A plausible argument with a subtle hole can cost a referee days. The systems that changed that in 2026 took the human reader out of the first pass and put a compiler there instead.

The clearest example is AlphaProof Nexus, a Google DeepMind system described in Science on 8 October 2026 by George Tsoukalas and colleagues. The preprint went up on arXiv on 21 May. Nexus runs prover agents that rewrite a Lean sketch, a theorem statement with a placeholder where the proof should go, and hand every attempt to the Lean compiler. Error messages come back as the next turn's feedback. The fuller version can call AlphaProof, DeepMind's reinforcement-learning prover for Olympiad-level Lean, on goals that remain open, and it coordinates attempts through an evolving population of sketches.

The results are stated as fractions, which is the honest way to state them. Nexus resolved nine of the 353 open Erdős problems it attempted, two of which had been open for 56 years. It proved 44 of 492 open conjectures from the On-Line Encyclopedia of Integer Sequences, settled an open question in algebraic geometry, and improved a known bound in min-max optimisation. The authors also report that a basic agent, one that simply alternates model generation with Lean checking, replicated the Erdős successes. That line matters more than the headline. It says the gain comes from the loop, not from one private trick.

Aarhus University, whose mathematician Gergely Bérczi is a co-author, describes his role as finding suitable problems, validating the system's solutions and co-writing the natural-language versions of the proofs. It puts the typical cost at a few hundred dollars per problem. DeepMind has published the Lean outputs and the prose proofs on GitHub, with the list of Erdős problems it attempted. The repository holds only the successes and says so. The failures live in the denominator.

In a Perspective published alongside the paper, Jeremy Avigad and Matthew Ballard pick out the authors' report that "even unsuccessful proof attempts by AI could help them understand the problems better and make progress on solving them." That is a modest sentence about a large result, and it is the right register. A failed search that leaves behind a checked lemma is still mathematics.

A proof that compiles still has to be about the right theorem.

Anthropic's result points the other way, at settled mathematics rather than open problems. On 4 September 2026 the company said Claude had produced the first complete computer-checked proof of Fermat's Last Theorem, working largely autonomously for 11 days. The proof runs to 13 million lines of Lean and rests on 29,500 intermediate theorems, out of 30,300 proved along the way. Anthropic says that is more than five times the size of Mathlib, the community library it builds on. The work began as a test by Tianyi Peng, an Anthropic researcher, and grew into dozens of collaborating agents running on an internal model the company describes as roughly comparable to Claude Fable 5.1, consuming about six billion output tokens.

Two details in that post deserve more attention than the line count. The proof uses only Lean's three standard axioms, and a comparator confirmed that its final statement matches Mathlib's own statement of the theorem. Kevin Buzzard, who began the human-led Lean formalisation of Fermat at Imperial College London in 2024, said the result "proves Fermat's Last Theorem with no assumptions other than the axioms of mathematics." Those two checks are what separate a verified proof from a very long file that happens to compile.

The same pattern is leaving mathematics. On 10 November 2026 DeepMind described AlphaProof Code, which its researchers used to prove security properties of the code behind the Signal protocol. Human experts reviewed every formal specification. Agents produced more than six million lines of Lean and flagged about one percent of it for a human second look. The division of labour is the point. People decide what must be true, machines do the volume, and the checker settles disputes between them.

None of this retires the informal route. In June the First Proof initiative, a group of mathematicians that tests AI on unpublished research problems, released its second batch: ten unpublished problems, four AI systems, and anonymised solutions graded by thirty expert mathematicians. ProofCouncil, an agentic system from the IMProofBench team at ETH Zürich and Aarhus, had six of its ten submissions judged correct up to minor revisions, at roughly $350 a problem in model calls. Those proofs were checked the old way, by people. Both routes now work, and they fail differently. A formal proof can be correct about the wrong statement. An informal one can be about the right statement and wrong.

What is unresolved is the specification. Nexus works on problems someone has already formalised. Fermat had a target statement waiting in Mathlib. Signal's properties were written down by experts before any agent started. The compiler can tell you that a proof is valid. It cannot tell you that the theorem is the one you meant. That job still belongs to a mathematician, and in 2026 it is where the human hours went.

Notes

  1. 1Advancing mathematics research with AI-driven formal proof search · Science
  2. 2Advancing Mathematics Research with AI-Driven Formal Proof Search · arXiv
  3. 3Introducing AlphaProof Nexus: An AI tool for formal mathematical proof discovery · EurekAlert! (AAAS)
  4. 4Aarhus mathematician co-authors Google DeepMind breakthrough on machine-verified proofs of open problems · Aarhus University
  5. 5alphaproof-nexus-results · Google DeepMind on GitHub
  6. 6Formalizing Fermat's Last Theorem · Anthropic
  7. 7First Proof Second Batch · First Proof
  8. 8ProofCouncil: An LLM Agent for Solving Open Mathematical Problems · arXiv
  9. 9Introducing AlphaProof Code: a breakthrough in verifying complex software at depth · Google DeepMind