Goedel-Prover-V3
A Frontier Lean Agent for Research-level Mathematics on a Single GPU
1Princeton Language and Intelligence, Princeton University
2Rutgers University
- Models & Data
- Code
- Paper forthcoming
Key Achievements
-
Model size
27B
Runs locally on one 80GB GPU.
Also available in FP8. -
PutnamBench
99%
Undergraduate competition problems.
665 of 672 proved at pass@4. -
FATE-X
59%
PhD qualifying exam problems.
First among open-weight models. -
ArXivLean
37%
Research-level theorems.
17 of 46 proved (June 2026).
Better than Claude-Opus-5, comparable to GPT-5.6-Sol.
Introduction
We present Goedel-Prover-V3, an open-source 27B model that achieves a new state-of-the-art in formal theorem proving at < 100B scale and approaches research-level math. The model can be run locally on a single GPU for proof development.
mini-Lean-agent, developed by our team (Ortega et al., 2026), showed that a minimal agentic harness, when applied to frontier models, is a powerful, yet cost-efficient way to generate formal proofs.
We take one step further and train (SFT) a 27B model on trajectories from DeepSeek-V4.1-Flash with the harness. We collect formal statements, ranging from competition problems to research-level theorems in the Palomar registry.
Our model saturates PutnamBench and FATE-H and sets a new state-of-the-art result on FATE-X among all open-weights models. On ArXivLean June 2026, it writes a correct formal proof to 17 out of 46 research-level theorems, matching frontier models at 2T scale. We release the model weights and its inference code. We plan to further release all code in the near future. The quantized version (fp8) can be hosted on a single H100 GPU for local proof development.
Benchmark Performance
We evaluate on benchmarks ranging from undergraduate olympiad problems to research-level math.
We evaluate with pass@1, except on PutnamBench, where we report pass@4.
Each table entry is the number of problems solved, with the number of attempts per problem after the @ sign.
| System | Model size | PutnamBench | FATE-H | FATE-X | ArXivLean 0626 |
|---|---|---|---|---|---|
| Level | Undergraduate | Graduate | PhD qualifying exam | Research | |
| Problems | 672 | 100 | 100 | 46 | |
| Goedel-Prover-V3 (ours) | 27B | 665 @ 4 | 95 @ 1 | 59 @ 1 | 17 @ 1 |
| Leanstral 1.5 | 119B (6B active) | 587 @ 8 | 87 @ 8 | 34 @ 8 | - |
| DeepSeek-V4-Flash + NEAR AI | 284B (13B active) | 653 @ 2 | - | - | - |
| DeepSeek-V4-Flash + h1 | 284B (13B active) | 598 @ 1 | - | 43 @ 1 | - |
| DeepSeek-V4-Flash + Goedel-Architect | 284B (13B active) | 597 @ 4 | - | - | - |
Inference-time Scaling
Pareto Frontier on Research-Level Math
Our Methodology
We employ the following modifications to mini-Lean-agent, a minimal harness built on mini-SWE-agent.
mini-Lean-agent
We deploy mini-Lean-agent in an offline Apptainer container. The model uses bash to search Mathlib, edit proof files, and run Lean.
Thinking Budget
When our model's reply reaches 32k token limit inside its thinking block, we append a stop-thinking instruction (see Qwen 3 Technical Report Section 4.3) to the cut thinking and let the model finish within 8k more tokens. Later turns keep the reply written after the close but drop that turn's thinking.
Context Summarization
When a context reaches 180k tokens, we ask the model to summarize its progress (the proof status, verified lemmas, useful facts, etc.) within 16k tokens. From the next turn, the context resets with a user message with the summary and an instruction to continue. The files in the working directory, including the proof, are kept.
Termination
By default, an attempt ends after 3 consecutive replies without a valid tool call, at a specified budget, or when the agent submits a proof. Optionally, we let the agent resume from an invalid proof submission (e.g., still contains sorry) by appending an error message.
We collect a mixture of formalized statements of Olympiad problems and research-level math.
Olympiad Problems
We collect formal statements from
project-numina/NuminaMath-LEAN and
nvidia/Nemotron-Math-Proofs-v1,
filtered by Olympiad level problems. We apply manual heuristics and LLM-as-a-judge to filter for
difficulty and correctness.
Research-Level Math
We take research-level formalizations from the Palomar registry, a public registry of projects formalized into Lean. From revision 414 (registered between August 8 and October 20, 2026), we keep the entries that depend only on Mathlib and its shared libraries.
From each entry, we extract every named theorem and lemma in the import closure of its files, not only the registered result. For each theorem, we prepare two tasks with the same reference proof:
-
The prefix task is the source file up to the target statement, followed by
:= by sorry. It keeps the original imports and every earlier declaration of the file with its proof, so the prover can use the earlier lemmas. It does not include the declarations after the target. - The synthetic task removes every theorem and lemma other than the target (but not the imports or definitions). The prover must state and prove its own helper lemmas.
We sort the theorems by the length (the number of non-comment lines) of the original proof of the target: short (1–19 lines), medium (20–99 lines) and long (100+ lines).
Adaptive Curriculum and Supervised Finetuning
We run two iterations of supervised finetuning. At the beginning of each iteration, we discard any task where the student can solve at least seven of eight attempts. We then train for 4 epochs on correct proof trajectories from DeepSeek-V4.1-Flash. In total, we have approximately 5000 trajectories with a total of ~1B tokens.
Model & Dataset Downloads
| Release | Kind | Download |
|---|---|---|
| Goedel-Prover-V3 (27B) | Model | Hugging Face |
| Goedel-Prover-V3-FP8 (27B) | Model | Hugging Face |
| Training data | Dataset | Hugging Face |
Acknowledgment
The authors acknowledge funding from the DARPA expMath program and Renaissance Philanthropy. We thank Dr. Patrick Shafto for useful discussions.
Citation
@misc{park2026GoedelProverV3,
title = {Goedel-Prover-V3: A Frontier Lean Agent for Research-level Mathematics on a Single GPU},
author = {Simon Park and Tomas Ortega and Rodrigo Porto and Jui-Hui Chung and Yoonsang Lee and Yikai Wu and Qishuo Yin and Ayush Khaitan and Alex Kontorovich and Sanjeev Arora and Danqi Chen and Liam Fowl},
year = {2026},
url = {https://princeton-pli.github.io/Goedel-Prover-V3},
}
@article{ortega2026miniLeanagent,
title = {Do Theorem Provers Need Theorem-Proving Agents? mini-Lean-agent: A Coding-Agent Baseline for Lean},
author = {Tomas Ortega and Simon Park and Ayush Khaitan and Liam Fowl and Alex Kontorovich and Sanjeev Arora},
journal = {arXiv preprint arXiv:2610.17331},
url = {https://arxiv.org/abs/2610.17331},
}