id stringlengths 54 58 | messages listlengths 4 55 | tools stringclasses 36
values | reasoning_effort stringclasses 1
value | identity stringclasses 0
values | environment stringclasses 0
values | reference stringlengths 210 8.3k | meta dict |
|---|---|---|---|---|---|---|---|
lean_qwen_agentic__verified_v1:c8df0f7dbea8421514cd72cc | [
{
"role": "user",
"content": "Complete the proof in Problem.lean using the Lean tools. Preserve the theorem statement.\n\n```lean\nimport Mathlib\nimport Aesop\nset_option maxHeartbeats 0\nopen BigOperators Real Nat Topology Rat\n\ntheorem lean_workbook_254299 (f : ℝ → ℝ) (h₁ : ∀ x y : ℝ, f (x + y) = f x * ... | [{"type":"function","function":{"name":"mcp__lean_probe__read_problem_file","description":"Return the current contents of Problem.lean.","parameters":{"properties":{},"title":"read_problem_fileArguments","type":"object"}}},{"type":"function","function":{"name":"mcp__lean_probe__write_problem_file","description":"Replac... | high | null | null | import Mathlib
import Aesop
set_option maxHeartbeats 0
open BigOperators Real Nat Topology Rat
theorem lean_workbook_254299 (f : ℝ → ℝ) (h₁ : ∀ x y : ℝ, f (x + y) = f x * f y + x * y) : (∀ x y : ℝ, f (x * y) = f x * f y) ↔ ∃! c:ℝ, ∀ x : ℝ, f x = c * x := by
set a := f 1 with ha
have hstep : ∀ x : ℝ, f (x + 1) = f ... | {
"source": "lean_qwen_agentic__verified_v1",
"teacher": "Qwen/Qwen3.8-27B",
"subset": "verified_tool_proof",
"task": "goedel_rl_v2/c8df0f7dbea8421514cd72cc",
"language": "eng_Latn",
"answer_language": "eng_Latn",
"tags": "{\"source_goal\":\"lean_workbook_254299\",\"goal_statement_sha256\":\"b8d011d9ed384... |
lean_qwen_agentic__verified_v1:44ab6b3600006e2ffda64367 | [
{
"role": "user",
"content": "Complete the proof in Problem.lean using the Lean tools. Preserve the theorem statement.\n\n```lean\nimport Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology Rat\n\n/- Prove that $x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1})$. -/... | [{"type":"function","function":{"name":"mcp__lean_probe__lean_check","description":"Verify a standalone Lean 4 snippet and return diagnostics; the default checker.\n\n Pass the full snippet (imports + declarations). `ok=true` means it elaborated with\n no errors and no `sorry`. No file path or declaration... | high | null | null | import Mathlib
import Aesop
set_option maxHeartbeats 0
open BigOperators Real Nat Topology Rat
/- Prove that $x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+...+xy^{n-2}+y^{n-1})$. -/
theorem lean_workbook_21493 (x y : ℝ) (n : ℕ) : x^n - y^n = (x - y) * (∑ i ∈ Finset.range n, x^(n-1-i) * y^i) := by
induction' n with n ih
· simp... | {
"source": "lean_qwen_agentic__verified_v1",
"teacher": "Qwen/Qwen3.8-27B",
"subset": "verified_tool_proof",
"task": "goedel_rl_v2/44ab6b3600006e2ffda64367",
"language": "eng_Latn",
"answer_language": "eng_Latn",
"tags": "{\"source_goal\":\"lean_workbook_21493\",\"goal_statement_sha256\":\"1ee7dac2ac4136... |
lean_qwen_agentic__verified_v1:6305dd970101a23d4090ab70 | [
{
"role": "user",
"content": "Complete the proof in Problem.lean using the Lean tools. Preserve the theorem statement.\n\n```lean\nimport Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology Rat\n\n/-Given circles $C_1: x^2+y^2=1$ and $C_2: (x-3)^2+(y-4)^2=16$, which of... | [{"type":"function","function":{"name":"mcp__lean_probe__lean_check","description":"Verify a standalone Lean 4 snippet and return diagnostics; the default checker.\n\n Pass the full snippet (imports + declarations). `ok=true` means it elaborated with\n no errors and no `sorry`. No file path or declaration... | high | null | null | import Mathlib
import Aesop
set_option maxHeartbeats 0
open BigOperators Real Nat Topology Rat
/-Given circles $C_1: x^2+y^2=1$ and $C_2: (x-3)^2+(y-4)^2=16$, which of the following statements is correct?
A: The equation of the line containing the common chord of circles $C_{1}$ and $C_{2}$ is $3x+4y-5=0$
B: Circle... | {
"source": "lean_qwen_agentic__verified_v1",
"teacher": "Qwen/Qwen3.8-27B",
"subset": "verified_tool_proof",
"task": "goedel_rl_v2/6305dd970101a23d4090ab70",
"language": "eng_Latn",
"answer_language": "eng_Latn",
"tags": "{\"source_goal\":\"lean_workbook_plus_54060\",\"goal_statement_sha256\":\"e7c87b388... |
lean_qwen_agentic__verified_v1:fd918a619abd1b37ac538172 | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__lean_check\",\"description\":\"Ve(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
lean_qwen_agentic__verified_v1:1be8e426bef8b6ac0fa63cb3 | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__lean_check\",\"description\":\"Ve(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
lean_qwen_agentic__verified_v1:b170434e9a049a183cd71e83 | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__write_problem_file\",\"descriptio(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\nset_option maxHeartbeats 0\nopen BigOperators Real Nat Topology Rat\n(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
lean_qwen_agentic__verified_v1:50b2d35937ce9f92fd139155 | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__read_problem_file\",\"description(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\nset_option maxHeartbeats 0\nopen BigOperators Real Nat Topology Rat\n(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
lean_qwen_agentic__verified_v1:e0e5d4c020dc7f527348723b | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__read_problem_file\",\"description(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
lean_qwen_agentic__verified_v1:45b19bee9bdbfd7d3014e81f | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__lean_check\",\"description\":\"Ve(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
lean_qwen_agentic__verified_v1:d8f075f41aaad74960bf2ad6 | [{"role":"user","content":"Complete the proof in Problem.lean using the Lean tools. Preserve the the(...TRUNCATED) | "[{\"type\":\"function\",\"function\":{\"name\":\"mcp__lean_probe__lean_check\",\"description\":\"Ve(...TRUNCATED) | high | null | null | "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED) | {"source":"lean_qwen_agentic__verified_v1","teacher":"Qwen/Qwen3.8-27B","subset":"verified_tool_proo(...TRUNCATED) |
Lean Agentic Proof Trajectories
This training set contains 243 successful Lean proof trajectories, one per theorem. Each conversation pairs the model’s reasoning and tool invocations with the tool responses it actually received. The tools support reading and writing a Lean file, checking a proof, inspecting the proof state, searching Mathlib, and running Python. The recorded exchanges include 1,854 tool calls with responses and 1,904 nonempty reasoning turns.
Data and selection
The source goals come from the training split of the Goedel-Prover-V2 RL dataset. Four in-house runs using Qwen3.8-27B attempted 500 distinct goals, with three runs revisiting the same 100-goal subset. The run ledgers reported 368 distinct solved goals.
Selection required a run-reported successful check of the original theorem statement, permitted axioms, and a recorded write matching the verified proof file. It also required matched tool calls and responses, validated arguments, screened reasoning in English, and one trajectory per goal. This produced 264 candidates. Benchmark decontamination removed 15, and six exceeded the Apertus limit of 131,072 tokens. For the 500-goal run, the initial user instruction was reconstructed from the recorded problem. Tool definitions for that run came from a companion run and were checked against the recorded arguments. Tool feedback was cleaned of host metadata and absolute paths. Adjacent fragments were joined into turns.
The distributed split contains training examples only. In the Apertus render, 149 of them exceeded 16,384 tokens, with a maximum of 128,783. The split accounted for 7,477,392 serialized tokens and 5,450,766 positive-loss tokens with the Apertus tokenizer at revision b801ff1. Other tokenizers can yield different lengths. The source runs used these goals for a local comparison, and 216 retained statements already occur in the earlier Apertus Lean Part 1 training prompts. Treat these examples as training material when interpreting evaluation results.
Format
The Parquet file contains one native conversation per row. The messages list stores chat turns, with assistant reasoning in reasoning_content, tool invocations in tool_calls, and tool results linked via tool_call_id. The tools column contains JSON-encoded function definitions. Function arguments and meta.tags are JSON-encoded strings. The reference field contains the verified proof file, and meta carries the goal identity, model and verification metadata. The reasoning_effort column records the Apertus training label, which is high for every row in this release.
import json
from datasets import load_dataset
train = load_dataset("EPFL-LARA/Lean-Agentic-Proof-Trajectories", split="train")
row = train[0]
tools = json.loads(row["tools"])
The dataset is distributed under Apache License 2.0. Attribution and descriptions of the transformations are in NOTICE.
- Downloads last month
- 48