Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Could not read the parquet files: [Errno 9] Bad file descriptor
Error code:   FileSystemError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

schema_version
int64
example_id
string
source_dataset
string
source_url
string
repo_commit
string
file_path
string
lean_version
string
mathlib_version
string
extractor_version
string
pantograph_version
string
theorem_name
string
theorem_statement_raw
string
theorem_source_raw
string
namespace
string
imports
list
proof_id
string
step_index
int64
state_before_raw
string
state_before_structured
string
state_before_internal
string
tactic_raw
string
atomic_tactics
list
tactic_internal
string
state_after_raw
string
state_after_structured
string
state_after_internal
string
terminal
bool
terminal_marker
string
terminal_raw
string
used_premises
list
available_context
list
source_start
string
source_end
string
theorem_fingerprint
string
state_fingerprint
string
transition_fingerprint
string
provenance
string
replay_status
string
replay_error
string
split
string
2
ltc-v2:3f7fe081cc41cd0b76d51143ce6737d45cc78d13585b24c0641445033275df9d
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000000.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_0
theorem thm_0 : let h := (3 : ℝ) / 2; let n := 5; h^n ≤ 0.5 → false :=
import Mathlib import Aesop set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat theorem thm_0 : let h := (3 : ℝ) / 2; let n := 5; h^n ≤ 0.5 → false := by intro h n norm_num [h, n]
null
[ "Mathlib", "Aesop" ]
deepseek:thm_0
0
⊢ let h := 3 / 2; let n := 5; h ^ n ≤ 0.5 → false = true
{"goals":[{"hypotheses":[],"local_names":[],"raw":"⊢ let h := 3 / 2;\n let n := 5;\n h ^ n ≤ 0.5 → false = true","target_raw":"let h := 3 / 2;"}],"raw":"⊢ let h := 3 / 2;\n let n := 5;\n h ^ n ≤ 0.5 → false = true"}
{"goalCount":1,"goals":[{"depth":0,"index":36,"kind":"syntheticOpaque","localContext":[{"binderInfo":"explicit","declarationKind":"cdecl","fvarId":"_uniq.363","index":0,"isLocalInstance":false,"localDeclKind":"auxiliary","type":{"binderName":"h","body":{"binderName":"n","body":{"binderInfo":"explicit","binderName":"a._...
intro h n
[ "intro h n" ]
{"atomicSource":"intro h n","atomicTransitions":[{"sourceEnd":{"column":12,"line":12},"sourceStart":{"column":3,"line":12},"stateAfterInternal":{"goalCount":1,"goals":[{"depth":0,"index":39,"kind":"syntheticOpaque","localContext":[{"binderInfo":"explicit","declarationKind":"cdecl","fvarId":"_uniq.363","index":0,"isLoca...
h : ℝ := 3 / 2 n : ℕ := 5 ⊢ h ^ n ≤ 0.5 → false = true
{"goals":[{"hypotheses":[{"local_names":["h"],"local_type_raw":"ℝ := 3 / 2","raw":"h : ℝ := 3 / 2"},{"local_names":["n"],"local_type_raw":"ℕ := 5","raw":"n : ℕ := 5"}],"local_names":["h","n"],"raw":"h : ℝ := 3 / 2\nn : ℕ := 5\n⊢ h ^ n ≤ 0.5 → false = true","target_raw":"h ^ n ≤ 0.5 → false = true"}],"raw":"h : ℝ := 3 /...
{"goalCount":1,"goals":[{"depth":0,"index":39,"kind":"syntheticOpaque","localContext":[{"binderInfo":"explicit","declarationKind":"cdecl","fvarId":"_uniq.363","index":0,"isLocalInstance":false,"localDeclKind":"auxiliary","type":{"binderName":"h","body":{"binderName":"n","body":{"binderInfo":"explicit","binderName":"a._...
false
null
null
[]
[ "Bool.false" ]
{"column":3,"line":12}
{"column":12,"line":12}
71257f21c5f98ef5ee0e1b5fdfd36e1fb23107c71a1c2042e4371bab5070470b
b3f8e0f0a6a8fd846bbbc03f3af33bd24456d64aee2cbbc060dac1e2c7e13403
155a8f329a0f364dc1879ba50b330560b5dbf2c2920740ab352fa66d31125c9a
{"atomic_transition_count":2,"compound_transition_count":0,"declaration_kind":"theorem","metadata":{"declaration_kind":"theorem","source_dataset":"deepseek","theorem_name":"thm_0","theorem_ordinal":0},"selection_index":0,"source_dataset":"deepseek","source_id":"thm_0","source_sha256":"c2b3dff139adb65cdfa7ab1903b30e6c28...
not_run
null
train
2
ltc-v2:db36988219045a849e71adac251bcd1cf34467f40aaede58416b0801a37df9c0
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000000.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_0
theorem thm_0 : let h := (3 : ℝ) / 2; let n := 5; h^n ≤ 0.5 → false :=
import Mathlib import Aesop set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat theorem thm_0 : let h := (3 : ℝ) / 2; let n := 5; h^n ≤ 0.5 → false := by intro h n norm_num [h, n]
null
[ "Mathlib", "Aesop" ]
deepseek:thm_0
1
h : ℝ := 3 / 2 n : ℕ := 5 ⊢ h ^ n ≤ 0.5 → false = true
{"goals":[{"hypotheses":[{"local_names":["h"],"local_type_raw":"ℝ := 3 / 2","raw":"h : ℝ := 3 / 2"},{"local_names":["n"],"local_type_raw":"ℕ := 5","raw":"n : ℕ := 5"}],"local_names":["h","n"],"raw":"h : ℝ := 3 / 2\nn : ℕ := 5\n⊢ h ^ n ≤ 0.5 → false = true","target_raw":"h ^ n ≤ 0.5 → false = true"}],"raw":"h : ℝ := 3 /...
{"goalCount":1,"goals":[{"depth":0,"index":39,"kind":"syntheticOpaque","localContext":[{"binderInfo":"explicit","declarationKind":"cdecl","fvarId":"_uniq.363","index":0,"isLocalInstance":false,"localDeclKind":"auxiliary","type":{"binderName":"h","body":{"binderName":"n","body":{"binderInfo":"explicit","binderName":"a._...
norm_num [h, n]
[ "norm_num [h, n]" ]
{"atomicSource":"norm_num [h, n]","atomicTransitions":[{"sourceEnd":{"column":18,"line":13},"sourceStart":{"column":3,"line":13},"stateAfterInternal":{"goalCount":0,"goals":[],"mctxDepth":0,"mvarCounter":41,"referencedMetavariables":[],"universeMetavariables":[]},"stateAfterRaw":"no goals","stateBeforeInternal":{"goalC...
no goals
{"goals":[],"raw":"no goals"}
{"goalCount":0,"goals":[],"mctxDepth":0,"mvarCounter":41,"referencedMetavariables":[],"universeMetavariables":[]}
true
<SOLVED>
no goals
[]
[ "Bool.false" ]
{"column":3,"line":13}
{"column":18,"line":13}
71257f21c5f98ef5ee0e1b5fdfd36e1fb23107c71a1c2042e4371bab5070470b
45e7c193528c7cc596693d78780074d4e9c3a38d6c41716b7c66f9ed24b03f4f
d4cdcafe2c5680fc3a83a92ba2f63a01b70519d73a4105ff81450624cadcaead
{"atomic_transition_count":2,"compound_transition_count":0,"declaration_kind":"theorem","metadata":{"declaration_kind":"theorem","source_dataset":"deepseek","theorem_name":"thm_0","theorem_ordinal":0},"selection_index":0,"source_dataset":"deepseek","source_id":"thm_0","source_sha256":"c2b3dff139adb65cdfa7ab1903b30e6c28...
not_run
null
train
2
ltc-v2:9a2eeadf516d819b86553e78309433553c3bb477d740c87dc4d53aa141abd43c
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000001.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_1
"theorem thm_1 (a b c d : ℚ) (h₀ : a + 1 = b + 2) (h₁ : b + 2 = c + 3) (h₂ : c + 3 = d + 4)\(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_1
0
"a b c d : ℚ\nh₀ : a + 1 = b + 2\nh₁ : b + 2 = c + 3\nh₂ : c + 3 = d + 4\nh₃ : d + 4 = a +(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\",\"c\",\"d\"],\"local_type_raw\":\"ℚ\",(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":87,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
norm_num [add_comm, add_assoc] at h₀ h₁ h₂ h₃ <;> linarith
[ "norm_num [add_comm, add_assoc] at h₀ h₁ h₂ h₃ <;>\nlinarith" ]
"{\"atomicSource\":\"norm_num [add_comm, add_assoc] at h₀ h₁ h₂ h₃ <;>\\nlinarith\",\"atomic(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":129,\"referencedMetavariables\":[],\"(...TRUNCATED)
true
<SOLVED>
no goals
[ "add_comm", "add_assoc" ]
[ "add_assoc", "add_comm" ]
{"column":3,"line":10}
{"column":11,"line":11}
8c87dabd19b5ee5806d8a4767581748267dfdd4a030da66612ff5a44a177f311
e61bdb1ffe21d28fd7717766e497110c81ee7e67f0170b6eb6181895fc50ec1f
debcc7888ce5a875224b5bca7d2fd9491de2b6e86018ff0bab51378dac922a67
"{\"atomic_transition_count\":1,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:8b06496567794cdabf8df6bc04f284c723ec96631b1208b3eb99fbf3a914d5fa
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000002.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_2
"theorem thm_2 (PQ PR : ℝ) (h₀ : PQ = 4) (h₁ : PR = 7) (h₂ : Real.sqrt 3 * PQ / 2 = 3 * Real(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_2
0
"PQ PR : ℝ\nh₀ : PQ = 4\nh₁ : PR = 7\nh₂ : Real.sqrt 3 * PQ / 2 = 3 * Real.sqrt 3\n⊢ let P(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"PQ\",\"PR\"],\"local_type_raw\":\"ℝ\",\"raw\":\"(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":57,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
simp_all only [h₀, h₁, h₂, mul_div_cancel_left]
[ "simp_all only [h₀, h₁, h₂, mul_div_cancel_left]" ]
"{\"atomicSource\":\"simp_all only [h₀, h₁, h₂, mul_div_cancel_left]\",\"atomicTransitions\":[(...TRUNCATED)
"PQ PR : ℝ\nh₀ : PQ = 4\nh₁ : PR = 7\nh₂ : Real.sqrt 3 * 4 / 2 = 3 * Real.sqrt 3\n⊢ Real.s(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"PQ\",\"PR\"],\"local_type_raw\":\"ℝ\",\"raw\":\"(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":63,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
false
null
null
[ "mul_div_cancel_left" ]
[ "Real.sqrt", "mul_div_cancel_left" ]
{"column":3,"line":13}
{"column":50,"line":13}
fb36b6b0c60f4e49fae48af30e82f62d5ab9a4cdd002e1df624abe5cb9c85b0f
e7cd77fd72269e5af47e849225bc7161354bbd1a7f786d2962d6f32ce9d86a99
ce516fb2eae297fc113d21a63ddb2985326d26bf6416c4ad8c471b462f066fe9
"{\"atomic_transition_count\":3,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:b38efda275c7efc7b122deac2d099e98f565e74ea0baffdb541f26abef32df23
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000002.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_2
"theorem thm_2 (PQ PR : ℝ) (h₀ : PQ = 4) (h₁ : PR = 7) (h₂ : Real.sqrt 3 * PQ / 2 = 3 * Real(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_2
1
"PQ PR : ℝ\nh₀ : PQ = 4\nh₁ : PR = 7\nh₂ : Real.sqrt 3 * 4 / 2 = 3 * Real.sqrt 3\n⊢ Real.s(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"PQ\",\"PR\"],\"local_type_raw\":\"ℝ\",\"raw\":\"(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":63,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
ring
[ "ring" ]
"{\"atomicSource\":\"ring\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":7,\"line\":14},\"sourc(...TRUNCATED)
"PQ PR : ℝ\nh₀ : PQ = 4\nh₁ : PR = 7\nh₂ : Real.sqrt 3 * 4 / 2 = 3 * Real.sqrt 3\n⊢ Real.s(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"PQ\",\"PR\"],\"local_type_raw\":\"ℝ\",\"raw\":\"(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":64,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
false
null
null
[]
[ "Real.sqrt", "mul_div_cancel_left" ]
{"column":3,"line":14}
{"column":7,"line":14}
fb36b6b0c60f4e49fae48af30e82f62d5ab9a4cdd002e1df624abe5cb9c85b0f
302ab180bf146b5903f460f9894340b225e5f2288aaced45ffa8962306571d77
8061d4e01454a5c8c0b5a9ad059e3557099e74cbe18567fe0cfc50b85b4217b7
"{\"atomic_transition_count\":3,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:18f7b95edba822d690b83eb1a9be3760d69a7cf4c955ca7285fad516e09b5eb6
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000002.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_2
"theorem thm_2 (PQ PR : ℝ) (h₀ : PQ = 4) (h₁ : PR = 7) (h₂ : Real.sqrt 3 * PQ / 2 = 3 * Real(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_2
2
"PQ PR : ℝ\nh₀ : PQ = 4\nh₁ : PR = 7\nh₂ : Real.sqrt 3 * 4 / 2 = 3 * Real.sqrt 3\n⊢ Real.s(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"PQ\",\"PR\"],\"local_type_raw\":\"ℝ\",\"raw\":\"(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":64,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
linarith
[ "linarith" ]
"{\"atomicSource\":\"linarith\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":11,\"line\":15},\"(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":101,\"referencedMetavariables\":[],\"(...TRUNCATED)
true
<SOLVED>
no goals
[]
[ "Real.sqrt", "mul_div_cancel_left" ]
{"column":3,"line":15}
{"column":11,"line":15}
fb36b6b0c60f4e49fae48af30e82f62d5ab9a4cdd002e1df624abe5cb9c85b0f
ca3a17aef9ef37889dfd181bf6535b000b05fab03461a69d45c705d90762eb82
bba6ba4ee89cb73ad36fdf21cfd7538a841a515e734fe4d4c8c7d38406500367
"{\"atomic_transition_count\":3,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:985c8fd3daffa3dbd538acb1c72d68bf3658cd73f83a41c184f4262d71a52c40
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000004.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_4
theorem thm_4 (N : ℕ) (h₀ : 22^2 * 55^2 = 10^2 * N^2) : N = 121 :=
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_4
0
N : ℕ h₀ : 22 ^ 2 * 55 ^ 2 = 10 ^ 2 * N ^ 2 ⊢ N = 121
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"N\"],\"local_type_raw\":\"ℕ\",\"raw\":\"N : ℕ\(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":62,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
have : N = 121 := by rw [eq_comm] at h₀ nlinarith
[]
"{\"atomicSource\":null,\"atomicTransitions\":[{\"sourceEnd\":{\"column\":23,\"line\":11},\"sourceSt(...TRUNCATED)
N : ℕ h₀ : 22 ^ 2 * 55 ^ 2 = 10 ^ 2 * N ^ 2 this : N = 121 ⊢ N = 121
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"N\"],\"local_type_raw\":\"ℕ\",\"raw\":\"N : ℕ\(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":68,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
false
null
null
[ "eq_comm" ]
[ "eq_comm" ]
{"column":3,"line":10}
{"column":14,"line":12}
f34a4e5b46f56f49c52163c93f40c7c807926ea1c8404de818b6ee7b21e5d87f
a5c83a6bfd158224c59ae10a7d2e92c5516cb9f7561e6e6e4483a81c8db9bc29
d2a2c934a9f00553cff5d04c4147fc045f021a2402b0a121a8cadb49c80afc8c
"{\"atomic_transition_count\":3,\"compound_transition_count\":1,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:5ce1b1841c1442dabc53258c2c17d04e7e3e597fa685a59e0bb6396483c90aa9
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000004.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_4
theorem thm_4 (N : ℕ) (h₀ : 22^2 * 55^2 = 10^2 * N^2) : N = 121 :=
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_4
1
N : ℕ h₀ : 22 ^ 2 * 55 ^ 2 = 10 ^ 2 * N ^ 2 this : N = 121 ⊢ N = 121
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"N\"],\"local_type_raw\":\"ℕ\",\"raw\":\"N : ℕ\(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":68,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
exact this
[ "exact this" ]
"{\"atomicSource\":\"exact this\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":13,\"line\":13},(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":105,\"referencedMetavariables\":[],\"(...TRUNCATED)
true
<SOLVED>
no goals
[]
[ "eq_comm" ]
{"column":3,"line":13}
{"column":13,"line":13}
f34a4e5b46f56f49c52163c93f40c7c807926ea1c8404de818b6ee7b21e5d87f
5e7a795698f6bcfee680d0bf92a329f2554fc2acf0490fcddc3736e53be4ddb4
7a6437e3ff3e935a8b307d9e5dab4a1e4647d3e4e245d0e810c38ddfe4b40fbf
"{\"atomic_transition_count\":3,\"compound_transition_count\":1,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:1c7eeab1a429d74daf205f89d025076d3b9d5bceae2bc0cf0e7bf2481ca846aa
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000005.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_5
"theorem thm_5 (recover_drugA_14days_prob recover_drugB_14days_prob : ℝ)\n (h₀ : recover_drug(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_5
0
"recover_drugA_14days_prob recover_drugB_14days_prob : ℝ\nh₀ : recover_drugA_14days_prob = 360 /(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"recover_drugA_14days_prob\",\"recover_drugB_14days(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":44,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
simp [h₀, h₁]
[ "simp [h₀, h₁]" ]
"{\"atomicSource\":\"simp [h₀, h₁]\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":16,\"line(...TRUNCATED)
"recover_drugA_14days_prob recover_drugB_14days_prob : ℝ\nh₀ : recover_drugA_14days_prob = 360 /(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"recover_drugA_14days_prob\",\"recover_drugB_14days(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":46,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
false
null
null
[]
[]
{"column":3,"line":12}
{"column":16,"line":12}
1bd7d195c1533cb4617a93e808b5014b9d84d2538b1cfc6d694f788ba89a4b86
7c3b46e80e9054ba65c9f479adc8a64358b41c8f45b4dc783578d7e8620f3041
c655bdc7b7339c33da5dd71ff49fde9a842a7245b64bc233f30f9a93741b99db
"{\"atomic_transition_count\":2,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
2
ltc-v2:ed9cb04b0e1170279300c49a89e78e0c9eb828053dacaed62b79f178399e6026
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000005.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
not_run
thm_5
"theorem thm_5 (recover_drugA_14days_prob recover_drugB_14days_prob : ℝ)\n (h₀ : recover_drug(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
null
[ "Mathlib", "Aesop" ]
deepseek:thm_5
1
"recover_drugA_14days_prob recover_drugB_14days_prob : ℝ\nh₀ : recover_drugA_14days_prob = 360 /(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"recover_drugA_14days_prob\",\"recover_drugB_14days(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":46,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
norm_num
[ "norm_num" ]
"{\"atomicSource\":\"norm_num\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":11,\"line\":13},\"(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":47,\"referencedMetavariables\":[],\"u(...TRUNCATED)
true
<SOLVED>
no goals
[]
[]
{"column":3,"line":13}
{"column":11,"line":13}
1bd7d195c1533cb4617a93e808b5014b9d84d2538b1cfc6d694f788ba89a4b86
c38ae287121ffe690a66629c6f6e91cc76aca6f3f139ac5f565807284143a6a6
8535dc93b02c81f7504ccc77bc066c433c2feff35ec46f31c1e33789ee809ffa
"{\"atomic_transition_count\":2,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
not_run
null
train
End of preview.

LeanTransitionCorpus

LeanTransitionCorpus is a dataset for training and studying automated theorem proving systems in Lean. Its unit of data is one tactic transition: the proof state before a tactic, the tactic that was executed, and the resulting state. This makes it suitable for tactic prediction, proof-state representation learning, premise selection, retrieval, verification, and trajectory-level training.

Many Lean datasets expose a theorem, tactic, and pretty-printed goal strings. This corpus retains those human-readable views, but also preserves richer information from Lean's elaborator: the tactic Syntax tree, resolved identifiers, recursive Lean Expr trees, local context, metavariables, universe metavariables, source ranges, and premise/context information. The extra representations make it possible to investigate models that use Lean's internal structure rather than recovering it from printed text.

Original source and environment provenance are retained per row. The repository's MIT metadata applies to this packaging; source corpus licenses and restrictions remain applicable and are not replaced by this card.

Source datasets

The extraction pipeline draws from pinned snapshots of the following Lean sources. Rows identify their origin in source_dataset, source_url, repo_commit, and toolchain columns.

Source Role in the corpus
NuminaMath-CoT Lean formalizations from the Numina mathematical reasoning corpus. This is the source of the initial uploaded seed.
DeepSeek-Prover Lean proof data used to broaden theorem and tactic coverage.
Goedel Lean Workbook Lean workbook proofs, retained as a separately attributable source.
Mathlib The pinned Mathlib snapshot supplies the theorem-proving environment and contributes directly extracted Mathlib theorems.

How the data is produced

For each selected theorem, the extractor runs the matching pinned Lean and Mathlib environment, records the sequence of tactic-state transitions, and canonicalizes the result into one row per transition. It validates internal-state structure and continuity between adjacent transitions, assigns deterministic splits, and keeps provenance needed to trace a row back to its source theorem and environment.

Rows are written as Parquet shards. Before publication, every shard is checked against its source rows; uploaded bytes are read back and verified at an immutable Hugging Face revision. Batch manifests record shard hashes, source-batch identity, and extraction evidence. A replay_status value records whether an additional replay check was performed; publication alone does not mean replay certification.

Evaluation contamination and quarantine

The clean splits are intended for training and analysis, not for preserving benchmark answers. Before publication, source provenance and canonicalized theorem statements are compared with a frozen registry of common Lean benchmarks, including miniF2F, LeanDojo held-out splits, ProofNet, PutnamBench, FIMO, ProverBench, and MathOlympiadBench. Exact source, statement, expression-fingerprint, and provenance matches are excluded. Near-duplicate statement matches are flagged for review rather than silently treated as independent training examples.

Records that trigger these checks are quarantined during extraction and are not part of the published train, dev, or internal_test splits. This policy is applied before split assignment so that structurally equivalent theorems cannot cross between clean splits.

Format

Zstandard-compressed Parquet shards, one row per transition, schema version 2. The physical encoding is leangpt-parquet-v2: all 40 columns are retained. schema_version and step_index are int64; terminal is boolean; imports, atomic_tactics, used_premises, and available_context are lists of strings. Other columns are nullable strings.

The following recursive/object columns contain lossless JSON text (parse with json.loads when non-null): provenance, source_start, source_end, state_before_structured, state_after_structured, state_before_internal, state_after_internal, and tactic_internal. This prevents inference from truncating recursive Lean trees or creating incompatible schemas between shards. Null stays null; an empty object stays the JSON string {}.

example_id is globally unique and deterministic. It is the versioned SHA-256 identity of the provenance-based proof key plus step_index, prefixed by ltc-v2:. The earlier colliding source IDs are not retained in another column.

Schema in plain language

Each row is a single ordered step within a proof. The fields fall into these groups:

Fields Meaning
example_id, proof_id, step_index, split, schema_version Stable identity, position in the proof, dataset split, and format version. example_id is globally unique; proof_id alone may not be.
source_dataset, source_url, repo_commit, file_path, lean_version, mathlib_version, extractor_version, pantograph_version, provenance Where the theorem came from and the exact environment and extraction provenance needed to reproduce or audit it.
theorem_name, theorem_statement_raw, theorem_source_raw, namespace, imports The theorem and its surrounding Lean source context.
state_before_raw, tactic_raw, state_after_raw The familiar human-readable goal display and tactic text for the transition.
state_before_structured, state_after_structured Parsed versions of the displayed proof states.
state_before_internal, state_after_internal Lean's detailed elaborator state: active goals, local declarations, targets, metavariables, universe metavariables, and recursive expressions.
atomic_tactics, tactic_internal The tactic's atomic view and its full Lean Syntax representation, including identifier resolution, premise references, and nested tactic structure when available.
used_premises, available_context, source_start, source_end Referenced declarations, candidate context, and the tactic's source span.
terminal, terminal_marker, terminal_raw Whether this step closes the proof and the source/display marker associated with closure.
theorem_fingerprint, state_fingerprint, transition_fingerprint Deterministic hashes useful for deduplication, grouping, and integrity checks.
replay_status, replay_error Result of optional replay validation; not_run means no independent replay was attempted.

The recursive structures are stored as lossless JSON strings in Parquet. Parse them with json.loads when you need their tree structure; leave them as strings for text-only training baselines.

Each shard is round-trip checked against its source records before publication, and uploaded bytes are verified at an immutable Hugging Face revision. Split assignments and provenance are retained so experiments can be reproduced and results can be traced back to their source theorem and environment.

Read

from datasets import load_dataset
import json

data = load_dataset(
    "HyperCactus0/LeanTransitionCorpus",
    revision="<immutable commit SHA>",
    split="train",
    streaming=True,
)
row = next(iter(data))
state = json.loads(row["state_before_internal"]) if row["state_before_internal"] else None

Use an immutable revision for experiments. The repository grows over time.

Identity

example_id is globally unique and deterministic. proof_id retains the source identifier and may be reused by distinct Numina selections. Identify a proof by (source_dataset, repo_commit, file_path, provenance.source_sha256, provenance.theorem_ordinal, theorem_name). Batch manifests expose these tuples as JSON-encoded proof_keys, and the versioned example_id hashes that proof key plus step_index.

Downloads last month
3,616