Dataset Viewer
Auto-converted to Parquet Duplicate
config
stringclasses
1 value
problem_id
stringclasses
10 values
difficulty
stringclasses
3 values
area
stringclasses
3 values
verified
bool
2 classes
claimed_correct
bool
2 classes
trace
stringclasses
7 values
lean_code
stringclasses
10 values
llm_calls
int64
1
1
tokens_in
int64
178
330
tokens_out
int64
6
3.31k
latency_s
float64
0.15
20.3
model
stringclasses
1 value
baseline_a
mathd_algebra_141
basico
algebra
true
true
theorem mathd_algebra_141 (a b : ℝ) (h₁ : a * b = 180) (h₂ : 2 * (a + b) = 54) : a ^ 2 + b ^ 2 = 369 := by have h₃ : a + b = 27 := by linarith [h₂] have h₄ : (a + b) ^ 2 = a ^ 2 + b ^ 2 + 2 * (a * b) := by ring rw [h₃, h₁] at h₄ linarith
1
212
79
6.226
gemini-3.5-flash-lite
baseline_a
mathd_algebra_33
basico
algebra
false
false
7:6: error: Tactic `rewrite` failed: Did not find an occurrence of the pattern 7 / 10 * (2 / 5) * x / x in the target expression 7 / 10 * (2 / 5 * x) / x = 7 / 25 x y z : ℝ h₀ : x ≠ 0 h₁ : 2 * x = 5 * y h₂ : 7 * y = 10 * z hy : y = 2 / 5 * x hz : z = 7 / 10 * y this : 7 / 10 * (2 / 5) * x / x = 7 / 10 * (2 / 5) ⊢ ...
theorem mathd_algebra_33 (x y z : ℝ) (h₀ : x ≠ 0) (h₁ : 2 * x = 5 * y) (h₂ : 7 * y = 10 * z) : z / x = 7 / 25 := by have hy : y = (2 / 5) * x := by linarith [h₁] have hz : z = (7 / 10) * y := by linarith [h₂] rw [hz, hy] have : (7 / 10) * (2 / 5) * x / x = (7 / 10) * (2 / 5) := mul_div_cancel_right₀ _ h₀ ...
1
216
121
1.179
gemini-3.5-flash-lite
baseline_a
mathd_algebra_398
basico
algebra
true
true
theorem mathd_algebra_398 (a b c : ℝ) (h₀ : 0 < a ∧ 0 < b ∧ 0 < c) (h₁ : 9 * b = 20 * c) (h₂ : 7 * a = 4 * b) : 63 * a = 80 * c := by linarith
1
229
7
0.153
gemini-3.5-flash-lite
baseline_a
mathd_numbertheory_99
basico
teoria_de_numeros
true
true
theorem mathd_numbertheory_99 (n : ℕ) (h₀ : 2 * n % 47 = 15) : n % 47 = 31 := by omega
1
192
6
1.371
gemini-3.5-flash-lite
baseline_a
mathd_numbertheory_521
basico
teoria_de_numeros
false
false
8:28: error: linarith failed to find a contradiction m n : ℕ h₀ : Even m h₁ : Even n h₂ : m - n = 2 h₃ : m * n = 288 h_sub : n = m - 2 h : 18 < m a✝ : m * (m - 2) ≤ 18 * 16 ⊢ False failed 9:4: error: omega could not prove the goal: a possible counterexample may satisfy the constraints b ≥ 289 a ≥ 19 where a := ↑m ...
theorem mathd_numbertheory_521 (m n : ℕ) (h₀ : Even m) (h₁ : Even n) (h₂ : m - n = 2) (h₃ : m * n = 288) : m = 18 := by have h_sub : n = m - 2 := by omega have h1 : m ≤ 18 := by by_contra! h have : 288 < m * (m - 2) := by calc 288 = 18 * 16 := by norm_num _ < m * (m - 2) := by nlinarith ...
1
199
1,579
3.987
gemini-3.5-flash-lite
baseline_a
imo_1962_p2
avanzado
algebra
false
false
13:32: error: Tactic `rewrite` failed: Did not find an occurrence of the pattern √(x + 1) * √(x + 1) in the target expression (√(x + 1) + 1 / 2) * (√(x + 1) + 1 / 2) < 3 - x case mp x : ℝ h3x : 0 ≤ 3 - x hx1 : 0 ≤ x + 1 h : 1 / 2 < √(3 - x) - √(x + 1) this : -1 ≤ x h1 : √(x + 1) + 1 / 2 < √(3 - x) h2 : 0 ≤ √(x + 1...
theorem imo_1962_p2 : {x : ℝ | 0 ≤ 3 - x ∧ 0 ≤ x + 1 ∧ 1 / 2 < Real.sqrt (3 - x) - Real.sqrt (x + 1)} = Set.Ico (-1) (1 - Real.sqrt 31 / 8) := by ext x simp only [Set.mem_setOf_eq, Set.mem_Ico] constructor · rintro ⟨h3x, hx1, h⟩ have : -1 ≤ x := by linarith refine ⟨this, ?_⟩ have h1 : Real...
1
229
2,793
17.308
gemini-3.5-flash-lite
baseline_a
amc12_2000_p20
intermedio
algebra
false
false
8:56: error: Tactic `rewrite` failed: Did not find an occurrence of the pattern ?a * ?b * ?c in the target expression 1 + x * y = x * y + y * y⁻¹ x y z : ℝ h₁ : x + 1 / y = 4 h₂ : y + 1 / z = 1 h₃ : z + 1 / x = 7 / 3 hx : 0 < x hy : 0 < y hz : 0 < z hy_ne : y ≠ 0 hz_ne : z ≠ 0 hx_ne : x ≠ 0 ⊢ 1 + x * y = x * y + y...
theorem amc12_2000_p20 (x y z : ℝ) (h₀ : 0 < x ∧ 0 < y ∧ 0 < z) (h₁ : x + 1 / y = 4) (h₂ : y + 1 / z = 1) (h₃ : z + 1 / x = 7 / 3) : x * y * z = 1 := by rcases h₀ with ⟨hx, hy, hz⟩ have hy_ne : y ≠ 0 := hy.ne' have hz_ne : z ≠ 0 := hz.ne' have hx_ne : x ≠ 0 := hx.ne' have eq1 : x * y + 1 = 4 * y := by ...
1
330
548
5.548
gemini-3.5-flash-lite
baseline_a
mathd_numbertheory_12
basico
conteo
true
true
theorem mathd_numbertheory_12 : Finset.card (Finset.filter (fun x => 20 ∣ x) (Finset.Icc 15 85)) = 4 := by rfl
1
178
7
4.277
gemini-3.5-flash-lite
baseline_a
amc12a_2021_p19
intermedio
conteo
false
false
11:28: error: linarith failed to find a contradiction S : Finset ℝ h₀ : ∀ (x : ℝ), x ∈ S ↔ 0 ≤ x ∧ x ≤ π ∧ Real.sin (π / 2 * Real.cos x) = Real.cos (π / 2 * Real.sin x) a✝ : π < 0 ⊢ False failed 29:10: error: Unknown constant `Finset.card_insert_of_not_mem` 34:40: error: omega could not prove the goal: a possible count...
theorem amc12a_2021_p19 (S : Finset ℝ) (h₀ : ∀ x : ℝ, x ∈ S ↔ 0 ≤ x ∧ x ≤ Real.pi ∧ Real.sin (Real.pi / 2 * Real.cos x) = Real.cos (Real.pi / 2 * Real.sin x)) : S.card = 2 := by have h0_in : (0 : ℝ) ∈ S := by rw [h₀] refine ⟨by norm_num, by linarith [R...
1
309
2,644
20.302
gemini-3.5-flash-lite
baseline_a
imo_1974_p3
avanzado
teoria_de_numeros
false
false
12:17: error: omega could not prove the goal: a possible counterexample may satisfy the constraints b ≥ 0 1 ≤ b - 5*c ≤ 4 a ≥ 0 where a := ↑(∑ k ∈ Finset.range (n + 1 + 1), (2 * (n + 1) + 1).choose (2 * k + 1) * 2 ^ (3 * k)) / 5 b := ↑(∑ k ∈ Finset.range (n + 1), (2 * n + 1).choose (2 * k + 1) * 2 ^ (3 * k)) c...
theorem imo_1974_p3 (n : ℕ) : ¬5 ∣ ∑ k ∈ Finset.range (n + 1), Nat.choose (2 * n + 1) (2 * k + 1) * 2 ^ (3 * k) := by intro h induction' n with n ih · revert h decide · -- The full inductive step requires establishing the recurrence relation -- modulo 5 for the sum, which connects step n + 1 t...
1
224
3,314
16.719
gemini-3.5-flash-lite

Dataset card

Contents

File Description
data/eval_set.jsonl 30 miniF2F problems selected for evaluation, with split and labels
results/*.jsonl one record per problem and configuration (5 configurations × dev/test)

Evaluation set

30 formal statements taken from miniF2F (Lean 4 version, statements only: no reference proofs are included). Families: amc12 (11), mathd (10), aime (5), imo (4).

Basic Intermediate Advanced Total
Development 6 2 2 10
Test 4 9 7 20

Areas (manual labels): algebra 11, counting 9, number theory 10. Development: algebra 5 / counting 2 / number theory 3; test: 6 / 7 / 7. The split is fixed: development problems were used to build and tune the system, test problems were evaluated once after the code was frozen.

Fields of eval_set.jsonl

id, source_family, difficulty (basico | intermedio | avanzado), area, area_source (nombre = from the problem name, heuristica = keywords; the latter are less reliable), statement_nl (natural language), statement_lean, lean_with_sorry, has_reference_proof, maintainer_note, prelude (open scoped Nat Real), split (dev | test).

Results files

File names: baseline_a_<split>.jsonl, baseline_b_<split>.jsonl, pipeline_<config>_<split>_v1[_lean].jsonl (_lean = RAG query built from the Lean statement). Main fields: problem_id, verified (accepted by Lean), claimed_correct (delivered as correct), lean_code, trace (last Lean message), llm_calls, tokens_in, tokens_out, latency_s; pipeline runs add subgoals, retrieved, r (replans), k, status, failure_reason. Baseline B's verification is post-hoc (it never uses Lean to decide what to deliver).

Known issues and limitations

  • Labels for area and difficulty are manual; some counting labels are debatable (see data/auditoria.md).
  • Formal statements are used as in miniF2F; Lean checks the proof against the formal statement, not against the natural-language problem. Mis-formalizations are possible.
  • miniF2F is public and its proofs circulate online: training-data contamination of the LLM cannot be ruled out.
  • 30 problems and one run per configuration give very wide confidence intervals.
  • Results depend on Lean 4.36.0-rc2, Mathlib commit 9d581dfff2e41de989072ea63abf3daf69311520 and gemini-3.5-flash-lite (temperature 0). Error categories are heuristic.

Licenses and attribution

miniF2F (Zheng, Han, Polu, 2022) and Mathlib have their own licenses [verificar y citar]. Generated proofs and analysis: [licencia por definir].

Citation

Figueroa Zapata, K. N. and Páez Alarcón, A. Multi-agent generative AI with formal verification in Lean 4. UPTC Sogamoso, 2026. [completar con la referencia final del informe]

Downloads last month
78