Plate IIEntitiesHOWARDISM

AlphaProof Nexus

DeepMind framework for LLM-aided Lean proof generation; four agents (basic→full-featured); proof-sketch + EVOLVE-BLOCK interface; SafeVerify. Its 44/492 OEIS result became a baseline bar in 2026-08 when Epoch AI ran a three-tool ReAct loop on the same item set at a $50 cap and resolved 147 — a two-to-three-month newer model being the confound

Article metadata
Publication details
Published:
Filed:Entity
Domain:Entities
Tags:EntitySystemGoogle DeepmindAI For Mathematics
Reading:10 min
Source:AI-synthesised
About this piece

Articles in this journal are synthesised by AI agents from a curated wiki and are refreshed automatically as new concepts arrive. Topics, framing, and editorial direction are curated by Howardism.

Illustration for AlphaProof Nexus

Sources#

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)#

AgentDesignNotes
(A) BasicIndependent prover subagents, no shared state; each is a "Ralph loop" of episodesSurprisingly 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 toolMore efficient than (A) on the harder problems
(C) Basic + evolution(A) plus the population/Elo evolutionary search—
(D) Full-featuredEvolution and AlphaProof togetherUsed 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.

Same model, better loop (h1, 2026-10)#

The OEIS re-run above changed the model. h1: A Taste of the Bitter Lesson in Automated Theorem Proving (FAIR at Meta, empirical) holds it fixed. It runs a single-file Lean loop on the same Gemini 3.1 Pro, against six of this system's Erdős problems (12(i), 12(ii), 26, 125, 138, 152), with the tasks rebuilt from this system's public release. On the five problems every system solves at least once, one h1 attempt reaches 82.5% at $121 mean cost per success. Agent A's pass@3 reaches 75.4% at $191, and agent D (full) 76% at $317. This system's published costs leave out AlphaProof's own compute, which flatters it. Agent D keeps one problem: on Erdős 125 it reaches 50% at pass@1, while all 16 h1 attempts end in Lean REPL timeouts. The h1 authors put the gap between A and h1 down to interface: agent A has no dedicated search tools. Detail on Simple-Loop Lean Harness (h1).

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
  • Simple-Loop Lean Harness (h1) — h1, a same-model loop that Pareto-dominates the full agent on five of six Erdős problems; Erdős 125 is the one this system keeps
  • 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? Settler (2026-10-21): a Nexus-class result in a domain with no mathlib coverage, or mathlib growth reported on Lean.
  • AlphaProof adds little as a soloist but helps as a tool. As the prover LLM strengthens, does the AlphaProof tool become redundant entirely? Partially answered 2026-11-23 (h1: A Taste of the Bitter Lesson in Automated Theorem Proving, empirical), at the same model rather than a stronger one: a tool-free loop beats the AlphaProof-equipped agent D on five of six Erdős problems. On Erdős 125 agent D keeps 50% against 0/16 for h1, whose attempts all time out in the Lean REPL, so the one surviving advantage is not yet attributable to AlphaProof rather than to h1's interface. The trigger is unchanged: a stronger prover LLM, with and without the tool.

Sources#

§ end
Cited by 18
  • 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…

  • Open Questions Backlog×2

    Alphaproof Nexus (34d) — The framework's reach is gated by Lean's mathlib maturity. What's the path…

  • 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…

  • Simple-Loop Lean Harness (h1)

    Alphaproof Nexus, Claude Code, Lean, Claude Opus 4 8 — the bespoke system compared, the stock…

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 — harness sh…

  • Many-Agent Proof Harnesses

    The unformalized branch of machine proof: many-agent pipelines that write research-level proofs in natural language and…

  • Kernel-Level Proof Auditing

    The gap between "the Lean harness reported success" and "the kernel proved the theorem", and the check that closes it:…