Datasets:
messages listlengths 6 299 | tools listlengths 1 1 | task_id large_stringclasses 750
values | key large_stringclasses 750
values | task_source large_stringclasses 3
values | kind large_stringclasses 3
values | run large_stringclasses 3
values | copy int64 0 7 | qwen_proved int64 0 6 | qwen_attempts int64 4 8 | band large_stringclasses 13
values | loss_model large_stringclasses 1
value | segments int64 1 5 | segment int64 0 4 | summary bool 2
classes | num_tokens int64 2.82k 219k | loss_tokens int64 160 189k | group_id large_stringclasses 737
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[
{
"role": "system",
"content": "You are a helpful Lean 4 theorem-proving assistant that can interact with a computer shell.",
"reasoning_content": null,
"tool_calls": null,
"loss": null,
"tool_call_id": null
},
{
"role": "user",
"content": "Please solve this Lean theorem-proving ... | [
{
"type": "function",
"function": {
"name": "bash",
"description": "Execute a bash command",
"parameters": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "The bash command to execute"
}
}... | t-66310a956db45de6 | palomar/PALOMAR-2026-10-16-000003-v2-2ce076abb1054424-BrooksTheorem.Aux.greedy_core@synthetic | palomar | synthetic | iter2-flash1017 | 0 | 5 | 8 | 5/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 55,475 | 20,136 | g-63f1e5acc71e43b5 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-7f621d671a1d260e | nemotron/27530696-ccc0-51ca-b970-3a96b8c0197f | nemotron | statement | iter2-flash1017 | 0 | 5 | 8 | 5/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 48,604 | 19,457 | nemotron/27530696-ccc0-51ca-b970-3a96b8c0197f |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-7e13d5d65f0b9300 | palomar/PALOMAR-2026-08-19-000002-v3-70ddddf31ad0c96b-Erdos501.pos_measure_Q@synthetic | palomar | synthetic | iter2-flash1017 | 0 | 5 | 8 | 5/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 80,370 | 29,610 | g-c1facf2bdf83f182 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-1e70cb5a495582b4 | numina/e9171a83-0f62-5f38-bb2b-8363a615ad75 | numina | statement | iter2-flash1017 | 0 | 6 | 8 | 6/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 85,284 | 45,300 | numina/e9171a83-0f62-5f38-bb2b-8363a615ad75 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-08d9e51205bfc336 | nemotron/c0c8aa90-0d83-5a20-9f55-d93e6300c8c5 | nemotron | statement | iter2-flash1017 | 0 | 6 | 8 | 6/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 78,563 | 40,281 | nemotron/c0c8aa90-0d83-5a20-9f55-d93e6300c8c5 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-86fa8bf54d96fbce | nemotron/c1a82b0a-5b4a-5633-a07d-1b6095cac5c7 | nemotron | statement | iter2-flash1017 | 0 | 1 | 4 | 1/4 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 117,857 | 61,480 | nemotron/c1a82b0a-5b4a-5633-a07d-1b6095cac5c7 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-b2bdc4435bbf4595 | nemotron/76ce45fe-91d3-55c7-941d-8d1400c01905 | nemotron | statement | iter2-flash1017 | 0 | 0 | 4 | 0/4 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 81,602 | 66,899 | nemotron/76ce45fe-91d3-55c7-941d-8d1400c01905 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-6ef93a60bda47a53 | nemotron/88268749-39c8-5371-a962-b9ca5a211e0d | nemotron | statement | iter2-flash1017 | 0 | 2 | 4 | 2/4 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 75,059 | 50,477 | nemotron/88268749-39c8-5371-a962-b9ca5a211e0d |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-71eefa76e4c3b202 | numina/2436e81a-e021-5648-bff0-772dce45d103 | numina | statement | iter2-flash1017 | 0 | 5 | 8 | 5/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 100,357 | 29,618 | numina/2436e81a-e021-5648-bff0-772dce45d103 |
[{"role":"system","content":"You are a helpful Lean 4 theorem-proving assistant that can interact wi(...TRUNCATED) | [{"type":"function","function":{"name":"bash","description":"Execute a bash command","parameters":{"(...TRUNCATED) | t-36d761e09ca37bd1 | numina/5d6803be-b510-547b-a3fc-26053ad820d6 | numina | statement | iter2-flash1017 | 0 | 6 | 8 | 6/8 | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1 | 0 | false | 72,322 | 45,390 | numina/5d6803be-b510-547b-a3fc-26053ad820d6 |
Goedel-Prover-V3 training data
The supervised fine-tuning data of
Goedel-Prover-V3: proved Lean 4 agent
trajectories of DeepSeek-V4.1-Flash, in the harness the model runs in (a sandbox with the
statement file /work/Main.lean, a bash tool, Lean 4.34.0 and Mathlib v4.34.0). These are the
training and validation sets of the released model, one config per SFT iteration, with a few
samples removed for licensing (see License):
| Config | Teacher | Split | Samples | Attempts | Tasks | Tokens | Trained tokens |
|---|---|---|---|---|---|---|---|
iter1 |
DeepSeek-V4.1-Flash | train | 2,733 | 1,815 | 536 | 362,907,119 | 233,652,590 |
| validation | 53 | 33 | 11 | 7,487,425 | 5,128,668 | ||
iter2 |
DeepSeek-V4.1-Flash-1017 | train | 4,693 | 2,861 | 750 | 636,013,347 | 338,071,939 |
| validation | 79 | 50 | 13 | 10,305,709 | 5,704,827 |
Tokens are counted with the Qwen3.8-27B tokenizer and chat template; trained tokens are those of
the assistant turns. Goedel-Prover-V3 is Qwen3.8-27B trained 4 epochs on iter1, then 4 epochs on
iter2 from that checkpoint.
from datasets import load_dataset
ds = load_dataset("PrincetonPLI/Goedel-Prover-V3-train", "iter2", split="train")
Tasks
| Source | Kind | iter1 train samples |
iter2 train samples |
|---|---|---|---|
| NuminaMath-LEAN | statement |
1,029 | 1,538 |
| Nemotron-Math-Proofs-v1 | statement |
948 | 2,338 |
| Palomar registry | prefix |
216 | 147 |
| Palomar registry | synthetic |
540 | 670 |
- Olympiad statements (
statement): formal statements filtered for olympiad-level problems, difficulty and correctness. - Research-level theorems from Palomar registry entries that depend only on Mathlib and its
shared libraries. A
prefixtask is the source file up to the target theorem, with every earlier declaration and its proof; asynthetictask removes every other theorem and lemma (keeping imports and definitions), so the prover states and proves its own helper lemmas. - Adaptive curriculum. Each iteration keeps only the tasks its student does not reliably solve: at most 6 of 8 attempts. It then takes up to 4 of the teacher's proved attempts per task.
- Validation holds out about 2% of task groups (
group_id), so a task and its variants are on one side only.
Format
One row per sample. A long attempt is split where the harness compacted its context: when a conversation reaches 180k tokens, the model is asked for a summary and the conversation restarts from it. Segment k is the system and task messages, the compaction note with summary k (none for the first segment), the turns up to the next compaction, and the summary request with the summary reply that closed the segment. Samples are at most 240,000 tokens.
| Column | Description |
|---|---|
messages |
the conversation: role (system, user, assistant, tool), content, reasoning_content (the assistant's thinking), tool_calls (bash with a command), tool_call_id, and loss on assistant turns (all: the whole turn is trained) |
tools |
the tool definitions (one bash tool) |
task_id |
the task |
key |
the source and the statement's ID in it (numina/…, nemotron/…, palomar/<entry>-<theorem>@<kind>) |
task_source |
numina, nemotron or palomar |
kind |
statement, prefix or synthetic |
group_id |
the task group used for the train/validation split |
run |
the data-generation round that produced the attempt |
copy |
the attempt's index among the teacher's attempts on the task in that round |
loss_model |
the teacher model whose turns are trained |
qwen_proved, qwen_attempts, band |
how many of the student's attempts proved the task (band = qwen_proved/qwen_attempts) |
segment, segments |
this sample's segment index and the attempt's number of segments |
summary |
whether the sample ends with a compaction summary |
num_tokens, loss_tokens |
the sample's tokens and trained tokens (Qwen3.8-27B chat template with tools) |
To tokenize a row as in training, render messages with tools through the Qwen3.8-27B chat
template in one pass and put the loss on each assistant turn after its
<|im_start|>assistant\n header (thinking, reply, tool calls and the closing <|im_end|>).
Agent trajectories are anonymized: the account, group and host names in tool outputs read
user, group and node.
License
This dataset is released under CC BY-SA 4.0, the license of Nemotron-Math-Proofs-v1, whose statements it contains. The other sources keep their licenses and are included under their terms: NuminaMath-LEAN (Apache 2.0), the Palomar projects (Apache 2.0, MIT, CC0 1.0 or CC BY 4.0, each listed with its copyright notice in ATTRIBUTION.md), and Mathlib (Apache 2.0) quoted in tool outputs. Note: 72 samples (under 1% of the data) have been removed from this release because their source does not allow redistribution under CC BY-SA 4.0.
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},
}
- Downloads last month
- 58