Sources#
- Advancing Mathematics Research with AI-Driven Formal Proof Search
- OEIS Open: How many conjectures can language models turn into theorems?
Summary#
Google DeepMind's framework for LLM-aided formal proof generation in Lean (arXiv 2605.22763). Agents query a frontier LLM (Gemini 3.1 Pro) and the Lean compiler to turn a proof sketch (a theorem with sorry for its proof) into a verified, sorry-free proof. It spans a spectrum of four agent designs from a bare loop to an evolutionary system, and is the instrument behind the first large-scale evaluation of formal proof search on open research problems — 9/353 Erdős problems, 44/492 OEIS conjectures, and results in optimization, algebraic geometry, additive combinatorics, graph theory, and quantum optics. Lean proofs are open-sourced at github.com/google-deepmind/alphaproof-nexus-results.
The four agents (A → D)#
| Agent | Design | Notes |
|---|---|---|
| (A) Basic | Independent prover subagents, no shared state; each is a "Ralph loop" of episodes | Surprisingly matched (D) on all 9 Erdős solves — see Agentic Loops Overtake Bespoke Systems |
| (B) Basic + AlphaProof | (A) plus the AlphaProof RL prover as a callable tool | More efficient than (A) on the harder problems |
| (C) Basic + evolution | (A) plus the population/Elo evolutionary search | — |
| (D) Full-featured | Evolution and AlphaProof together | Used for the open-problem exploration; Evolutionary Proof Search details its machinery |
A prover subagent runs a multi-turn Gemini 3.1 Pro session with a search_replace tool; after each edit the Lean compiler returns feedback that steers the next turn; on episode end the sketch is validated by SafeVerify (compiles, no sorryAx/axiom injection), and if sorry remains the agent writes a lessons-learned comment and continues. $N$ subagents run in parallel; all stop when one finds a proof.
Input/output: proof sketches#
Input is a Lean file — target theorem with sorry, plus needed definitions and imports — optionally with natural-language context and domain knowledge encoded in Lean. Editable regions are delimited by EVOLVE-BLOCK (helper lemmas/definitions/proof steps) and EVOLVE-VALUE (parameter expressions). The EVOLVE-VALUE mechanism enabled a genuine discovery: marking an optimization algorithm's learning schedule as a value let agent D search the schedule and the proof jointly, yielding a novel parameter choice with a stronger convergence guarantee.
AlphaProof (the tool)#
AlphaProof is a separate, prior DeepMind system — an olympiad-level Lean theorem-prover trained with reinforcement learning (the system behind DeepMind's IMO results). Within Nexus it's used as a focused proof tool: given a subgoal it returns a proof, a disproof, or failure. It has a Test-Time RL mode but here runs in cheaper low-compute tree-search (~400 simulations, ~27.5 TPU-hours ≈ $60/problem). Notably, AlphaProof in standalone tree-search mode solved none of the evaluated problems — its value is as a subgoal-closer inside the LLM-driven loop, not as a soloist.
Models and cost#
Gemini 3.1 Pro for the multi-turn prover; the cheaper Gemini 3.0 Flash for rater agents. Per-problem inference cost is "a few hundred dollars" with high variance; basic-agent versions on smaller models (Gemini 3.0 Flash, 3.1 Flash-Lite) solved nothing — capability is sharply scale-gated (Scale-Dependent Prompt Sensitivity). Reported costs exclude AlphaProof's ~$60 and the considerable cost of finding tractable problems across all 353.
Significance#
The system grounds an LLM's mathematical reasoning in a compiler, converting hallucination-prone natural-language proofs into checkable artifacts (AI-Driven Formal Proof Search) and demonstrating that, as LLMs improve, simple agentic loops increasingly rival bespoke trained systems (Agentic Loops Overtake Bespoke Systems). Solved Erdős problems were logged on Terence Tao's wiki of AI contributions.
The OEIS result re-run by a third party (2026-08)#
The 44/492 OEIS figure above is now a baseline bar in someone else's figure.
OEIS OPEN (OEIS Open: How many conjectures can language models turn into theorems?, Epoch AI,
arXiv 2608.11941, empirical) rebuilt the same 492 conjectures this system formalized into an
open, cheat-hardened evaluation that any generic LM can be run against, and a ReAct loop with three
tools (bash, a text editor, a budget reporter) under a $50 per-conjecture cap resolved
147 of 492 (30%) with Claude Opus 4.8 — 3.3× this system's 9%, at an average $10 per resolved
conjecture against this system's own ~$10 estimate, supplied by its authors to Epoch in personal
correspondence (up to ~$50 for their hardest few).
Three qualifications belong with that number. The models differ by a generation: these prover
subagents run Gemini 3.1 Pro (19 February 2026) against Opus 4.8 and GPT-5.5 (28 May and 23 April), a
gap Epoch's own footnote names, so the comparison is evidence for
harness shrinkage across a model release rather than for
this architecture being worthless at a fixed model. The artifact count does not match the paper:
Epoch notes that while the paper reports 44/492, the accompanying
google-deepmind/alphaproof-nexus-results repository releases 38 OEIS proofs. And Epoch's own
verification is stricter in one respect and looser in another — it uses the same SafeVerify this
system uses, but cross-checked against Comparator, which moved its headline from 147 to 144.
Connections#
- Many-Agent Proof Harnesses — the same job attempted without a kernel: Google's Stellar Colosseum orchestrates dozens of model instances over natural-language proofs, replacing Nexus's Lean gate with a council of adversarial falsifiers and a global verifier
- OEIS Open Benchmark — this system's own 492-conjecture OEIS item set turned into an open, cheat-hardened benchmark by a third party, where a three-tool ReAct loop resolves 147 against its 44 at matched cost per solve (confounded by a two-to-three-month model gap), and where the released-artifact count is noted as 38 rather than 44
- FrontierMath Erdős Benchmark — the scored, fixed-budget successor to this system's Erdős exploration: 68 problems curated for significance, $300 and 72 hours each, one attempt, and 2 solved by the best of five models. Its rate (2.9%) matches this system's 9/353 (2.5%) on a harder item set, partly because Epoch's protocol also pays the search cost across all items that "a few hundred dollars per problem" excludes
- Lean — the proof assistant / verifier it drives
- Google DeepMind — the lab behind it
- Evolutionary Proof Search — the full-featured agent (D)'s population/Elo mechanism
- Agentic Loops Overtake Bespoke Systems — its own basic agent (A) matched the full system on most problems
- Agent Loop Pattern — the basic prover subagent is a "Ralph loop" (huntley2025ralph)
- Client-Side Agent Optimization — the A/B/C/D cost-vs-solve-rate Pareto study is AgentOpt-style combo optimization
- The Verifiability Thesis — the design embodies "automate what you can verify"
Open Questions#
- The framework's reach is gated by Lean's mathlib maturity. What's the path to domains needing new theory rather than subgoal decomposition?
- AlphaProof adds little as a soloist but helps as a tool. As the prover LLM strengthens, does the AlphaProof tool become redundant entirely?
Sources#
- Advancing Mathematics Research with AI-Driven Formal Proof Search
- OEIS Open: How many conjectures can language models turn into theorems? — Tom Adamczewski (Epoch AI), arXiv 2608.11941, 2026-08-12, 27pp,
empirical. Cited here for the third-party re-run of this system's OEIS item set: the 147-versus-44 comparison, the cost-per-solve figures (footnote 9, including this system's own estimate obtained by correspondence), the model-release dates (footnote 10), and the 44-reported-versus-38-released artifact note (footnote 8). It does not run or re-implement any of agents A–D. Full treatment on OEIS Open Benchmark
Cited by 17
- OEIS Open Benchmark×4
Alphaproof Nexus — the system that built the item set and reported 44/492; the one whose result is…
- Agentic Loops Overtake Bespoke Systems×3
AlphaProof Nexus (evolution + Elo raters + AlphaProof tool) · 44 (9%) · ~$10 avg, up to ~$50 for…
- AI-Driven Formal Proof Search×3
The paradigm — demonstrated at research scale by Google DeepMind's Alphaproof Nexus (arXiv…
- Evolutionary Proof Search×3
The mechanism inside DeepMind's full-featured Alphaproof Nexus agent (agent D), inspired by…
- FrontierMath Erdős Benchmark×3
The motivation is that Erdős problems had become "something of a central benchmark for tracking AI…
- Lean×3
A proof assistant (interactive theorem prover) in which "definitions, theorems, and proofs are all…
- Google DeepMind×2
Google's AI research lab. In this corpus it appears as the lab behind Ai Driven Formal Proof Search…
- Terence Tao×2
Ai Driven Formal Proof Search, Alphaproof Nexus). The wiki is where a lab's claim becomes part of
- Agent Harness Engineering
Ai Driven Formal Proof Search — the Alphaproof Nexus proof-sketch-with-EVOLVE-BLOCK-markers is a…
- Agent Loop Pattern
Alphaproof Nexus — the framework whose basic agent (A) is a Ralph-loop fleet; it matched the…
- Automated Conjecturing
Alphaproof Nexus — the proof-search framework that closed a 1996 Graffiti conjecture, the result
- Autonomous Scientific Discovery
The survey's §5.1 calls mathematics and computer science "some of the clearest evidence of the…
- Epoch AI
44/492 (9%) for DeepMind's AlphaProof Nexus at comparable cost per solve.
- Kernel-Level Proof Auditing
for Alphaproof Nexus and Lean 4.29.1 / Mathlib 5e932f97 for ProofEvolve), and whether those
- Many-Agent Proof Harnesses
Every other proof-search system in this wiki — Alphaproof Nexus, ProofEvolve, LeanMarathon, the…
- Entities — People, Orgs, Tools & Projects
Alphaproof Nexus — DeepMind framework for LLM-aided Lean proof generation; four agents…
- Open Questions Backlog
Alphaproof Nexus ×2 (oldest 129d) — The framework's reach is gated by Lean's mathlib maturity.…
Related articles
- AI-Driven Formal Proof Search
LLM writes Lean, the compiler checks every step → no hallucination; DeepMind: 9/353 Erdős + 44/492 OEIS open problems;…
- Lean
Proof assistant whose compiler mechanically verifies every step; the `sorry` placeholder enables proof sketches; mathli…
- Agentic Loops Overtake Bespoke Systems
DeepMind's *basic* Ralph-loop agent matched its bespoke evolutionary+AlphaProof system as the LLM improved; the bitter…
- Many-Agent Proof Harnesses
The unformalized branch of machine proof: many-agent pipelines that write research-level proofs in natural language and…
- Logical vs Intelligible Proof
De Toffoli and Duede's (2026-09, `practitioner-opinion`) distinction between the *logical* notion of proof — deductive…
