Olympiad-level formal mathematical reasoning with reinforcement learning

A long-standing goal of artificial intelligence (AI) is to build systems capable of complex reasoning in vast domains, a task epitomized by mathematics with its boundless concepts and demand for rigorous proof. Recent AI systems, often reliant on human data, typically lack the formal verification necessary to guarantee correctness. By contrast, formal languages such as Lean<sup>1</sup> offer an interactive environment that grounds reasoning, and reinforcement learning (RL) provides a mechanism for learning in such environments. Here we present AlphaProof, an AlphaZero-inspired<sup>2</sup> agent that learns to find formal proofs through RL by training on millions of auto-formalized problems. For the most difficult problems, it uses test-time RL, a method of generating and learning from millions of related problem variants at inference time to enable deep, problem-specific adaptation. AlphaProof substantially improves state-of-the-art results on historical mathematics competition problems. At the 2024 International Mathematical Olympiad competition, our AI system, with AlphaProof as its core reasoning engine, solved three out of the five non-geometry problems, including the competition's most difficult problem. Combined with AlphaGeometry 2<sup>3</sup>, this performance, achieved with multi-day computation, resulted in reaching a score equivalent to that of a silver medallist, marking the first time an AI system achieved any medal-level performance, to our knowledge. Our work demonstrates that learning at scale from grounded experience produces agents with complex mathematical reasoning strategies, paving the way for a reliable AI tool in complex mathematical problem solving.

Authors

Institutions

Publication Details

Journal
Nature
Published
2025-11-12
DOI
https://doi.org/10.1038/s41586-025-09833-y
Citations
4
Primary Topic
Evolutionary Algorithms and Applications
Type
article
Field-Weighted Citation Impact
9.92

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Olympiad-level formal mathematical reasoning with reinforcement learning

Vivek Veeriah, Demis Hassabis, Aja Huang, Edward Hughes et al.
4 citations
Nature
Evolutionary Algorithms and Applications
9.92
article

Olympiad-level formal mathematical reasoning with reinforcement learning

Vivek Veeriah, Demis Hassabis, Aja Huang, Edward Hughes, Pushmeet Kohli, Henryk Michalewski, Miklós Z. Horváth, Borja Ibarz, Tom Zahavy, Rajni Mehta, Nicolas Sonnerat, Eric Wieser, Ingrid von Glehn, Daniel Zheng, Laurent Sartran, Hussain Masoom, Simon Schmitt, Ottavia Bertolli, Amol Mandhane, Oliver Nash, Salvatore Mercuri, Julian Schrittwieser, Edward Lockhart, Thomas Hubert, Yannick Schroecker, J.‐Y. Yung, David Silver, Lei Yu, Alex Davies, Samuel Albanie, Bhavik A. Mehta, Fabián Pedregosa, Mark Rowland, Yin Li, Ameya Velingker, Goran Žužić, Iuliya Beloshapka, Paul Lezeau, Calle Sönne
article en
4 citations

Abstract

A long-standing goal of artificial intelligence (AI) is to build systems capable of complex reasoning in vast domains, a task epitomized by mathematics with its boundless concepts and demand for rigorous proof. Recent AI systems, often reliant on human data, typically lack the formal verification necessary to guarantee correctness. By contrast, formal languages such as Lean<sup>1</sup> offer an interactive environment that grounds reasoning, and reinforcement learning (RL) provides a mechanism for learning in such environments. Here we present AlphaProof, an AlphaZero-inspired<sup>2</sup> agent that learns to find formal proofs through RL by training on millions of auto-formalized problems. For the most difficult problems, it uses test-time RL, a method of generating and learning from millions of related problem variants at inference time to enable deep, problem-specific adaptation. AlphaProof substantially improves state-of-the-art results on historical mathematics competition problems. At the 2024 International Mathematical Olympiad competition, our AI system, with AlphaProof as its core reasoning engine, solved three out of the five non-geometry problems, including the competition's most difficult problem. Combined with AlphaGeometry 2<sup>3</sup>, this performance, achieved with multi-day computation, resulted in reaching a score equivalent to that of a silver medallist, marking the first time an AI system achieved any medal-level performance, to our knowledge. Our work demonstrates that learning at scale from grounded experience produces agents with complex mathematical reasoning strategies, paving the way for a reliable AI tool in complex mathematical problem solving.

NatureVol. 651(8106)
Google DeepMind (United Kingdom) (GB), Google (United Kingdom) (GB)
DeepMind
Openalex Percentile: Top 2%
Evolutionary Algorithms and Applications
9.92
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.