Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Job has been terminated due to a temporary spike in resource usage and may be restarted later.
Error code:   JobManagerCrashedError

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.

example_id
string
source_dataset
string
source_url
string
repo_commit
string
file_path
string
lean_version
string
mathlib_version
string
extractor_version
string
theorem_name
string
theorem_statement_raw
string
theorem_source_raw
string
imports
list
proof_id
string
step_index
int64
state_before_raw
string
state_before_structured
string
state_before_internal
string
tactic_raw
string
tactic_internal
string
state_after_raw
string
state_after_structured
string
state_after_internal
string
terminal
bool
available_context
list
source_start
string
source_end
string
theorem_fingerprint
string
state_fingerprint
string
transition_fingerprint
string
provenance
string
split
string
ltc-v2:424864c02d6893b0f9750c50817bdc6c0f4f08a523faf2295d969fef8e845a20
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000650.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_657
"theorem thm_657 (a b : ℤ) :\n (∃ (f : ℤ → ℤ), ∀ (x y : ℤ), f x = x^2 + x * y + y^2 (...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_657
0
"a b : ℤ\n⊢ (∃ f, ∀ (x y : ℤ), f x = x ^ 2 + x * y + y ^ 2 → f x = (x + y) ^ 3 → x = 1(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℤ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":216,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
rintro ⟨f, hf⟩
"{\"atomicSource\":\"rintro ⟨f, hf⟩\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":17,\"lin(...TRUNCATED)
"case intro\na b : ℤ\nf : ℤ → ℤ\nhf : ∀ (x y : ℤ), f x = x ^ 2 + x * y + y ^ 2 → f x =(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℤ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":225,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
false
[]
{"column":3,"line":11}
{"column":17,"line":11}
ab13b1c96b3a0a86ec0d287ed21c705b917ee6a3553b5f775bc9f595c8d5dbea
e7112be0dc959eed4c503fe6272ec63dbfa6193607469112b20d3fb671364fbd
3a4b5f9fb71203dd023c8cafbb29043e190c2ec4d8db77d377f27073eaffd104
"{\"atomic_transition_count\":3,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:823269fcaa7d7d9cef507cfafecc66ca13016f9bb77062d4f096cf8ee8f9d629
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000650.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_657
"theorem thm_657 (a b : ℤ) :\n (∃ (f : ℤ → ℤ), ∀ (x y : ℤ), f x = x^2 + x * y + y^2 (...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_657
1
"case intro\na b : ℤ\nf : ℤ → ℤ\nhf : ∀ (x y : ℤ), f x = x ^ 2 + x * y + y ^ 2 → f x =(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℤ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":225,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
use 1, 2
"{\"atomicSource\":\"use 1, 2\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":11,\"line\":12},\"(...TRUNCATED)
"case h\na b : ℤ\nf : ℤ → ℤ\nhf : ∀ (x y : ℤ), f x = x ^ 2 + x * y + y ^ 2 → f x = (x (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℤ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":239,\"kind\":\"natural\",\"localContext\":[{\"bi(...TRUNCATED)
false
[]
{"column":3,"line":12}
{"column":11,"line":12}
ab13b1c96b3a0a86ec0d287ed21c705b917ee6a3553b5f775bc9f595c8d5dbea
1e10e291234b344456d8996a01727ad4201c1b9dfa6745a8dbcef1d1efee8f71
d941ba606970eb4882eabada04d7dc16749c9ce9811bf2da5b764c032ee16ad2
"{\"atomic_transition_count\":3,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:f24f00eb112d689e15eaa3a11b097fadb8e9134fc214b7b90fdc57c1c7369827
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000650.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_657
"theorem thm_657 (a b : ℤ) :\n (∃ (f : ℤ → ℤ), ∀ (x y : ℤ), f x = x^2 + x * y + y^2 (...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_657
2
"case h\na b : ℤ\nf : ℤ → ℤ\nhf : ∀ (x y : ℤ), f x = x ^ 2 + x * y + y ^ 2 → f x = (x (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℤ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":239,\"kind\":\"natural\",\"localContext\":[{\"bi(...TRUNCATED)
simp [hf]
"{\"atomicSource\":\"simp [hf]\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":12,\"line\":13},\(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":243,\"referencedMetavariables\":[],\"(...TRUNCATED)
true
[]
{"column":3,"line":13}
{"column":12,"line":13}
ab13b1c96b3a0a86ec0d287ed21c705b917ee6a3553b5f775bc9f595c8d5dbea
f4a436838389f12a40610493b82a994b09df3105501bdecb4352324a3e05f974
f705f08f81d0c01eebecc0553a9f9e1fdb2d29c70caf996daae7b4023a017c10
"{\"atomic_transition_count\":3,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:ad5218dbd6746144442fefbb87e97e202f9a3340512de84194881e5257d6e31b
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000651.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_658
"theorem thm_658 (a b : ℝ) (h₀ : 0 < a ∧ 0 < b) (h₁ : 0 < a ∧ 0 < b) (h₂ : a * b ≠ 0)\(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_658
0
"a b : ℝ\nh₀ h₁ : 0 < a ∧ 0 < b\nh₂ : a * b ≠ 0\nh₃ h₄ : ∀ (x y : ℝ), x ≠ 0 (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℝ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":98,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
intro h₅ h₆
"{\"atomicSource\":\"intro h₅ h₆\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":14,\"line\"(...TRUNCATED)
"a b : ℝ\nh₀ h₁ : 0 < a ∧ 0 < b\nh₂ : a * b ≠ 0\nh₃ h₄ h₅ h₆ : ∀ (x y : ℝ), (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℝ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":102,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
false
[]
{"column":3,"line":13}
{"column":14,"line":13}
796fbfadcf5196928c19ace2b9f5f1b70c00dae896ca4c36275f5358418f0b1d
8cd2cb3a549adde5944af29d404ab1eb6d58e461dcb1ff478d40e744e4cf65be
59413fba584458ddd666859446ff4de5c4566bdd10c1db933896dd55f68c243e
"{\"atomic_transition_count\":2,\"compound_transition_count\":1,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:0a78e44115606ce35472c14d14d85898860984c1d9660fdea2044e115b335b49
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000651.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_658
"theorem thm_658 (a b : ℝ) (h₀ : 0 < a ∧ 0 < b) (h₁ : 0 < a ∧ 0 < b) (h₂ : a * b ≠ 0)\(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_658
1
"a b : ℝ\nh₀ h₁ : 0 < a ∧ 0 < b\nh₂ : a * b ≠ 0\nh₃ h₄ h₅ h₆ : ∀ (x y : ℝ), (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"a\",\"b\"],\"local_type_raw\":\"ℝ\",\"raw\":\"a (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":102,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
exact ⟨1, by norm_num, h₅⟩
"{\"atomicSource\":null,\"atomicTransitions\":[{\"sourceEnd\":{\"column\":24,\"line\":14},\"sourceSt(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":111,\"referencedMetavariables\":[],\"(...TRUNCATED)
true
[]
{"column":3,"line":14}
{"column":29,"line":14}
796fbfadcf5196928c19ace2b9f5f1b70c00dae896ca4c36275f5358418f0b1d
84167a716858063199d846ed03ef14e9f10967b6df125c544b5bca34d18396eb
fdd458b211d3470b31bef5e60c03791737d70795779e3ddcab0abe672668aa62
"{\"atomic_transition_count\":2,\"compound_transition_count\":1,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:2b55dac9ff0c3df35d1285b3c5c57f055938a936110e7a8373fde98e21e1c535
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000652.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_659
"theorem thm_659 :\n ∀ n : ℕ, n ≥ 1 → ∀ a : ℕ → ℝ, a 1 = 2 → a 2 = 6 → ∀ S : (...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_659
0
"⊢ ∀ n ≥ 1,\n ∀ (a : ℕ → ℝ),\n a 1 = 2 →\n a 2 = 6 →\n ∀(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[],\"local_names\":[],\"raw\":\"⊢ ∀ n ≥ 1,\\n ∀ (a : ℕ →(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":98,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
intro n hn a ha hb S hS1 hS2 d hd1 n hn1 sumlt
"{\"atomicSource\":\"intro n hn a ha hb S hS1 hS2 d hd1 n hn1 sumlt\",\"atomicTransitions\":[{\"sour(...TRUNCATED)
"n✝ : ℕ\nhn : n✝ ≥ 1\na : ℕ → ℝ\nha : a 1 = 2\nhb : a 2 = 6\nS : ℕ → ℝ\nhS1 : S (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"n✝\"],\"local_type_raw\":\"ℕ\",\"raw\":\"n✝ (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":123,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
false
[ "Finset.range" ]
{"column":3,"line":13}
{"column":49,"line":13}
850285be9eabd144976626f501b33b32a89d60eeeebfa757392adf0a92081314
f8a1916a493ab1748183ba14e36224921419e605e04f3682349d2b36c8c91e83
91a3e1d99cbdf3d718ee881f9b00dd61290d40cd75873f43152926df96bfec3e
"{\"atomic_transition_count\":2,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:a7269e2c781cb9397b92d32751f92847ce57c7699ae4eae2f8fc70f3dc6616a3
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000652.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_659
"theorem thm_659 :\n ∀ n : ℕ, n ≥ 1 → ∀ a : ℕ → ℝ, a 1 = 2 → a 2 = 6 → ∀ S : (...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_659
1
"n✝ : ℕ\nhn : n✝ ≥ 1\na : ℕ → ℝ\nha : a 1 = 2\nhb : a 2 = 6\nS : ℕ → ℝ\nhS1 : S (...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"n✝\"],\"local_type_raw\":\"ℕ\",\"raw\":\"n✝ (...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":123,\"kind\":\"syntheticOpaque\",\"localContext\(...TRUNCATED)
exact ⟨n, hn1, sumlt⟩
"{\"atomicSource\":\"exact ⟨n, hn1, sumlt⟩\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":2(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":129,\"referencedMetavariables\":[],\"(...TRUNCATED)
true
[ "Finset.range" ]
{"column":3,"line":14}
{"column":24,"line":14}
850285be9eabd144976626f501b33b32a89d60eeeebfa757392adf0a92081314
bf6edd7a02b8d24dac61f50c3371368c1f35ccbdbf63c9473599edf13fab94b8
99b46a792c62cf7e736c7cc65085e3572603e65615c09acfd8f49345ec64a36e
"{\"atomic_transition_count\":2,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:366c9ee8d8ef0261cbfb23ef5d8474d0fa847e9ed3b71ff9d05464d5b788434d
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000653.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_660
"theorem thm_660 :\n ∃ (g h : ℝ → ℝ), (∀ x, g (h x) = h (g x)) ∧ (∀ x, g x = x) ∧ ((...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_660
0
"⊢ ∃ g h,\n (∀ (x : ℝ), g (h x) = h (g x)) ∧\n (∀ (x : ℝ), g x = x) ∧ (∀ ((...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[],\"local_names\":[],\"raw\":\"⊢ ∃ g h,\\n (∀ (x : ℝ), g (h(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":12,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
refine' ⟨id, id, fun x ↦ rfl, fun x ↦ rfl, fun x ↦ rfl, fun x ↦ rfl, fun x ↦ rfl⟩
"{\"atomicSource\":\"refine' ⟨id, id, fun x ↦ rfl, fun x ↦ rfl, fun x ↦ rfl, fun x ↦ rfl, (...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":42,\"referencedMetavariables\":[],\"u(...TRUNCATED)
true
[ "id", "rfl" ]
{"column":3,"line":10}
{"column":84,"line":10}
a5d6c46cadb60217200e605ab043fe8bca5a83f4ce5f6be8629e49f1c45af566
dec2cb7f003c8e74f83343cc626871034ecfad8f021db39943d5da8a54345537
7c61031e9ac89ce68afb0d7b2b83568851ce9e3d84510577cbaa51b790d0b51f
"{\"atomic_transition_count\":1,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:d14d48f6f08a541d4ac0733261b377ac6836805a35b1f9abf39c6f41dbe55d65
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000654.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_661
"theorem thm_661 (students_band students_chorus students_both : ℕ)\n (h₀ : students_band = 70)\(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_661
0
"students_band students_chorus students_both : ℕ\nh₀ : students_band = 70\nh₁ : students_choru(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"students_band\",\"students_chorus\",\"students_bot(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":20,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
simp [h₀, h₁] at h₂
"{\"atomicSource\":\"simp [h₀, h₁] at h₂\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":2(...TRUNCATED)
"students_band students_chorus students_both : ℕ\nh₀ : students_band = 70\nh₁ : students_choru(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"students_band\",\"students_chorus\",\"students_bot(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":25,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
false
[]
{"column":3,"line":13}
{"column":22,"line":13}
9287984c7628b99f0f72c7f85b836ed264d43ec006e9db7a03d2d1dee023a607
2356b318ed33cf762d59cfeb59c6ff344518163a36c83152af4cce1090257991
9ce031df7fe05b0916d5812de7064d0e8a259aa6817ae8a1ccd638060eebff2f
"{\"atomic_transition_count\":2,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
train
ltc-v2:3da84a5a13980da3201190a52600ed8b1c123c1c5bde01598bf790476bfd6d67
deepseek
frozen-local-source
1ee889f608fb12ba3596757ee91a60acd663ea81
Full/Proof_000654.lean
v4.7.0-rc2
59fdb6b04d7d16825a54483d550d9572ff473abf
LeanDojo-b5c1966+schema-v2
thm_661
"theorem thm_661 (students_band students_chorus students_both : ℕ)\n (h₀ : students_band = 70)\(...TRUNCATED)
"import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology R(...TRUNCATED)
[ "Mathlib", "Aesop" ]
deepseek:thm_661
1
"students_band students_chorus students_both : ℕ\nh₀ : students_band = 70\nh₁ : students_choru(...TRUNCATED)
"{\"goals\":[{\"hypotheses\":[{\"local_names\":[\"students_band\",\"students_chorus\",\"students_bot(...TRUNCATED)
"{\"goalCount\":1,\"goals\":[{\"depth\":0,\"index\":25,\"kind\":\"syntheticOpaque\",\"localContext\"(...TRUNCATED)
omega
"{\"atomicSource\":\"omega\",\"atomicTransitions\":[{\"sourceEnd\":{\"column\":8,\"line\":14},\"sour(...TRUNCATED)
no goals
{"goals":[],"raw":"no goals"}
"{\"goalCount\":0,\"goals\":[],\"mctxDepth\":0,\"mvarCounter\":73,\"referencedMetavariables\":[],\"u(...TRUNCATED)
true
[]
{"column":3,"line":14}
{"column":8,"line":14}
9287984c7628b99f0f72c7f85b836ed264d43ec006e9db7a03d2d1dee023a607
331ae9cd0ff20f9567e7e0acdd5eba3adcb34ea9654f8cebb1b5eeb4d329a201
135d5675512a58c73968d9f4cfcc9a4ae6131a3bdffef451b2f1916d25af0f5b
"{\"atomic_transition_count\":2,\"compound_transition_count\":0,\"declaration_kind\":\"theorem\",\"m(...TRUNCATED)
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 Apache-2.0 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.

The extraction uses immutable source revisions: Numina seed 1c12b9b8d6425f3c531c70601b1e70ccb5bc1e6a, DeepSeek-Prover 1ee889f608fb12ba3596757ee91a60acd663ea81, Goedel Lean Workbook b731852af8d8ab11498fda27bce9020738c01c59, Mathlib 29dcec074de168ac2bf835a77ef68bbe069194c5, and OProver/OProofs 3bae0c06157639c0a673679635c669d19c99e906. The Numina seed is retained in this repository as a frozen source snapshot so the packaged rows remain reproducible.

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.
OProver/OProofs A large corpus of complete Lean proofs used as an additional source.

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.

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. The physical encoding is leangpt-parquet-v3 with 31 columns. step_index is int64; terminal is boolean; imports 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 Stable identity, position in the proof, and dataset split. 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, provenance Where the theorem came from and the environment and extraction provenance needed to reproduce or audit it.
theorem_name, theorem_statement_raw, theorem_source_raw, 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.
tactic_internal The tactic's full Lean Syntax representation, including atomic and nested tactic structure, identifier resolution, and premise references when available.
available_context, source_start, source_end Candidate context and the tactic's source span.
terminal Whether this step closes the proof.
theorem_fingerprint, state_fingerprint, transition_fingerprint Deterministic hashes useful for deduplication, grouping, and integrity checks.

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
8,182

Space using HyperCactus0/LeanTransitionCorpus 1