Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
11
62
header
stringclasses
1 value
formal_statement
stringlengths
54
636
source_file
stringlengths
30
81
source_sha256
stringlengths
64
64
aimeII_2001_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aimeII_2001_p3 (x : ℕ → ℤ) (h₀ : x 1 = 211) (h₂ : x 2 = 375) (h₃ : x 3 = 420) (h₄ : x 4 = 523) (h₆ : ∀ n ≥ 5, x n = x (n - 1) - x (n - 2) + x (n - 3) - x (n - 4)) : x 531 + x 753 + x 975 = 898 := by sorry
MiniF2F/Valid/aimeII_2001_p3.lean
ccec65472d2eaf2708c9dca0690312c51ee499b1881a53d68119aaf810b7dba5
aimeII_2020_p6
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aimeII_2020_p6 (t : ℕ → ℚ) (h₀ : t 1 = 20) (h₁ : t 2 = 21) (h₂ : ∀ n ≥ 3, t n = (5 * t (n - 1) + 1) / (25 * t (n - 2))) : ↑(t 2020).den + (t 2020).num = 626 := by sorry
MiniF2F/Valid/aimeII_2020_p6.lean
8df162b83ff2ad8c4907f08e6cdba75d0a35e8f36e76fc09300d394d01fab4aa
aimeI_2000_p7
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aimeI_2000_p7 (x y z : ℝ) (m : ℚ) (h₀ : 0 < x ∧ 0 < y ∧ 0 < z) (h₁ : x * y * z = 1) (h₂ : x + 1 / z = 5) (h₃ : y + 1 / x = 29) (h₄ : z + 1 / y = m) (h₅ : 0 < m) : ↑m.den + m.num = 5 := by sorry
MiniF2F/Valid/aimeI_2000_p7.lean
5f17346bef827ed9e3216c58f3c47809604fdac24dc8fca8fcf73015197a203e
aime_1983_p9
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1983_p9 (x : ℝ) (h₀ : 0 < x ∧ x < Real.pi) : 12 ≤ (9 * (x ^ 2 * Real.sin x ^ 2) + 4) / (x * Real.sin x) := by sorry
MiniF2F/Valid/aime_1983_p9.lean
d383beea2b5fe86d8f05618f1cc0978edfd10c0054265639c7e8447e194a1145
aime_1984_p15
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1984_p15 (x y z w : ℝ) (h₀ : x ^ 2 / (2 ^ 2 - 1) + y ^ 2 / (2 ^ 2 - 3 ^ 2) + z ^ 2 / (2 ^ 2 - 5 ^ 2) + w ^ 2 / (2 ^ 2 - 7 ^ 2) = 1) (h₁ : x ^ 2 / (4 ^ 2 - 1) + y ^ 2 / (4 ^ 2 - 3 ^ 2) + z ^ 2 / (4 ^ 2 - 5 ^ 2) + w ^ 2 / (4 ^ 2 - 7 ^ 2) = 1) (h₂ : ...
MiniF2F/Valid/aime_1984_p15.lean
64819fdf921255c2192c45e9676e4c7aedfff7a5fca6147dea26ab89737df7ea
aime_1984_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1984_p5 (a b : ℝ) (h₀ : Real.logb 8 a + Real.logb 4 (b ^ 2) = 5) (h₁ : Real.logb 8 b + Real.logb 4 (a ^ 2) = 7) : a * b = 512 := by sorry
MiniF2F/Valid/aime_1984_p5.lean
d93f9765893b5179d4e6ca2163eae5317b2d9f1b16c5a73b7049a2970638d06d
aime_1987_p8
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1987_p8 : IsGreatest { n : ℕ | 0 < n ∧ ∃! k : ℕ, (8 : ℝ) / 15 < n / (n + k) ∧ (n : ℝ) / (n + k) < 7 / 13 } 112 := by sorry
MiniF2F/Valid/aime_1987_p8.lean
07f164ede90d63216f9ba650489fa28d4989f776434562939a0ebedf74b5e164
aime_1988_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1988_p3 (x : ℝ) (h₀ : 0 < x) (h₁ : Real.logb 2 (Real.logb 8 x) = Real.logb 8 (Real.logb 2 x)) : Real.logb 2 x ^ 2 = 27 := by sorry
MiniF2F/Valid/aime_1988_p3.lean
4084228ce816053591e037e4e484ff4c7a9e3800e7fdbd6936370fe59f1acc31
aime_1988_p4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1988_p4 (n : ℕ) (a : ℕ → ℝ) (h₀ : ∀ n, abs (a n) < 1) (h₁ : (∑ k ∈ Finset.range n, abs (a k)) = 19 + abs (∑ k ∈ Finset.range n, a k)) : 20 ≤ n := by sorry
MiniF2F/Valid/aime_1988_p4.lean
fd149d281e8706a7ed30536cc770068380db6039794fa4d6536a792490c40977
aime_1990_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1990_p2 : (52 + 6 * Real.sqrt 43) ^ ((3 : ℝ) / 2) - (52 - 6 * Real.sqrt 43) ^ ((3 : ℝ) / 2) = 828 := by sorry
MiniF2F/Valid/aime_1990_p2.lean
92bef4819ec68932b54631ccf21ec46d35fe3bb8d3239edab7f2dfb6a5e576e5
aime_1991_p1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1991_p1 (x y : ℕ) (h₀ : 0 < x ∧ 0 < y) (h₁ : x * y + (x + y) = 71) (h₂ : x ^ 2 * y + x * y ^ 2 = 880) : x ^ 2 + y ^ 2 = 146 := by sorry
MiniF2F/Valid/aime_1991_p1.lean
999a6434a226604ab300159ff1d2b26e471a25e9ef6958a53f235575e6df5d1c
aime_1991_p6
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1991_p6 (r : ℝ) (h₀ : (∑ k ∈ Finset.Icc (19 : ℕ) 91, Int.floor (r + k / 100)) = 546) : Int.floor (100 * r) = 743 := by sorry
MiniF2F/Valid/aime_1991_p6.lean
8cc1d0b58f54a8324314fd1c139a29abc994f1b3c9f4d4156bd46e81f2e46dff
aime_1994_p4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1994_p4 (n : ℕ) (h₀ : 0 < n) (h₀ : (∑ k ∈ Finset.Icc 1 n, Int.floor (Real.logb 2 k)) = 1994) : n = 312 := by sorry
MiniF2F/Valid/aime_1994_p4.lean
e5ccb012c7444336e60497e7c126271ef14219f694c9a293cddf03107c1efa2d
aime_1996_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1996_p5 (a b c r s t : ℝ) (f g : ℝ → ℝ) (h₀ : ∀ x, f x = x ^ 3 + 3 * x ^ 2 + 4 * x - 11) (h₁ : ∀ x, g x = x ^ 3 + r * x ^ 2 + s * x + t) (h₂ : f a = 0) (h₃ : f b = 0) (h₄ : f c = 0) (h₅ : g (a + b) = 0) (h₆ : g (b + c) = 0) (h₇ : g (c + a) = 0) (h₈ : List.Pairwise (· ≠ ·) [a, b, c]) : t = 23 := by so...
MiniF2F/Valid/aime_1996_p5.lean
0ae3010e35a280feee17133b322a3c2aced328e033d40deadc8357292ffb75fc
aime_1997_p11
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem aime_1997_p11 (x : ℝ) (h₀ : x = (∑ n ∈ Finset.Icc (1 : ℕ) 44, Real.cos (n * π / 180)) / ∑ n ∈ Finset.Icc (1 : ℕ) 44, Real.sin (n * π / 180)) : Int.floor (100 * x) = 241 := by sorry
MiniF2F/Valid/aime_1997_p11.lean
dda45f999b5c322ff781c815b50d2a171345dc37d14728209b53584f5f5329a3
algebra_2complexrootspoly_xsqp49eqxp7itxpn7i
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_2complexrootspoly_xsqp49eqxp7itxpn7i (x : ℂ) : x ^ 2 + 49 = (x + 7 * Complex.I) * (x + -7 * Complex.I) := by sorry
MiniF2F/Valid/algebra_2complexrootspoly_xsqp49eqxp7itxpn7i.lean
710fb5f6a811b0af8e15c29c45b0d013def5ebe5c658fa2200520e1b632280f4
algebra_2rootsintpoly_am10tap11eqasqpam110
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_2rootsintpoly_am10tap11eqasqpam110 (a : ℂ) : (a - 10) * (a + 11) = a ^ 2 + a - 110 := by sorry
MiniF2F/Valid/algebra_2rootsintpoly_am10tap11eqasqpam110.lean
646fb4dfc14dee2b65e367b7dd229367f4eff1df69729294291e06bbe6e3ab9e
algebra_2rootspoly_apatapbeq2asqp2ab
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_2rootspoly_apatapbeq2asqp2ab (a b : ℂ) : (a + a) * (a + b) = 2 * a ^ 2 + 2 * (a * b) := by sorry
MiniF2F/Valid/algebra_2rootspoly_apatapbeq2asqp2ab.lean
dc47b6a79f6123c338862739a97fd96b720b20fbe60258f8ba48f269055686e2
algebra_2varlineareq_xpeeq7_2xpeeq3_eeq11_xeqn4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_2varlineareq_xpeeq7_2xpeeq3_eeq11_xeqn4 (x e : ℂ) (h₀ : x + e = 7) (h₁ : 2 * x + e = 3) : e = 11 ∧ x = -4 := by sorry
MiniF2F/Valid/algebra_2varlineareq_xpeeq7_2xpeeq3_eeq11_xeqn4.lean
bfd228687bf0802fa1417aab0be37bd54213f68487b67af84a4334b75253ac74
algebra_3rootspoly_amdtamctambeqnasqmbpctapcbtdpasqmbpctapcbta
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_3rootspoly_amdtamctambeqnasqmbpctapcbtdpasqmbpctapcbta (b c d a : ℂ) : (a - d) * (a - c) * (a - b) = -((a ^ 2 - (b + c) * a + c * b) * d) + (a ^ 2 - (b + c) * a + c * b) * a := by sorry
MiniF2F/Valid/algebra_3rootspoly_amdtamctambeqnasqmbpctapcbtdpasqmbpctapcbta.lean
6160a10200345ec54cd814a5a14e9af6b8e2a8af19d4ec5d547fb9ea6f1ec527
algebra_amgm_faxinrrp2msqrt2geq2mxm1div2x
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_amgm_faxinrrp2msqrt2geq2mxm1div2x : ∀ x > 0, 2 - Real.sqrt 2 ≥ 2 - x - 1 / (2 * x) := by sorry
MiniF2F/Valid/algebra_amgm_faxinrrp2msqrt2geq2mxm1div2x.lean
a17e569ca28414cdaa2b7d34c15a27b7f6d79d565cf22aaa41872d71b05f59f5
algebra_amgm_prod1toneq1_sum1tongeqn
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_amgm_prod1toneq1_sum1tongeqn (a : ℕ → NNReal) (n : ℕ) (h₀ : Finset.prod (Finset.range n) a = 1) : Finset.sum (Finset.range n) a ≥ n := by sorry
MiniF2F/Valid/algebra_amgm_prod1toneq1_sum1tongeqn.lean
77e5b3b5807d04c4f0acaee8e6fc698a7617a3d683cfe803a30ae9004e9a9213
algebra_amgm_sqrtxymulxmyeqxpy_xpygeq4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_amgm_sqrtxymulxmyeqxpy_xpygeq4 (x y : ℝ) (h₀ : 0 < x ∧ 0 < y) (h₁ : y ≤ x) (h₂ : Real.sqrt (x * y) * (x - y) = x + y) : x + y ≥ 4 := by sorry
MiniF2F/Valid/algebra_amgm_sqrtxymulxmyeqxpy_xpygeq4.lean
6d272d03a6eb18669435819e76edcec9abb91dc693be1f920d96856b0160ab9c
algebra_amgm_sumasqdivbsqgeqsumbdiva
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_amgm_sumasqdivbsqgeqsumbdiva (a b c : ℝ) (h₀ : 0 < a ∧ 0 < b ∧ 0 < c) : a ^ 2 / b ^ 2 + b ^ 2 / c ^ 2 + c ^ 2 / a ^ 2 ≥ b / a + c / b + a / c := by sorry
MiniF2F/Valid/algebra_amgm_sumasqdivbsqgeqsumbdiva.lean
bc081d057cc08efb4ba1e4ce8b3b8fb50825c60a4141a5581a9568553ce25be0
algebra_apb4leq8ta4pb4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_apb4leq8ta4pb4 (a b : ℝ) (h₀ : 0 < a ∧ 0 < b) : (a + b) ^ 4 ≤ 8 * (a ^ 4 + b ^ 4) := by sorry
MiniF2F/Valid/algebra_apb4leq8ta4pb4.lean
a4c1661dea498423e0ddb5193c9ccefe59c40f1ce1239a5d0d760eb4d0d4868b
algebra_binomnegdiscrineq_10alt28asqp1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_binomnegdiscrineq_10alt28asqp1 (a : ℝ) : 10 * a ≤ 28 * a ^ 2 + 1 := by sorry
MiniF2F/Valid/algebra_binomnegdiscrineq_10alt28asqp1.lean
bde4d423236793f8949c15e582944263627425d76abaaab5699d258205c63df8
algebra_manipexpr_2erprsqpesqeqnrpnesq
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_manipexpr_2erprsqpesqeqnrpnesq (e r : ℂ) : 2 * (e * r) + (e ^ 2 + r ^ 2) = (-r + -e) ^ 2 := by sorry
MiniF2F/Valid/algebra_manipexpr_2erprsqpesqeqnrpnesq.lean
a5ef0b43b93cdf94dd115b290e9b26dad419d6a607b0bba4e72d9a73a45bf873
algebra_manipexpr_apbeq2cceqiacpbceqm2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_manipexpr_apbeq2cceqiacpbceqm2 (a b c : ℂ) (h₀ : a + b = 2 * c) (h₁ : c = Complex.I) : a * c + b * c = -2 := by sorry
MiniF2F/Valid/algebra_manipexpr_apbeq2cceqiacpbceqm2.lean
cdb0120a3dc03e7c377d32eb92b34a1e92c1afe862d14ccf3fbbea42b751aa79
algebra_sqineq_2at2pclta2c2p41pc
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_sqineq_2at2pclta2c2p41pc (a c : ℝ) : 2 * a * (2 + c) ≤ a ^ 2 + c ^ 2 + 4 * (1 + c) := by sorry
MiniF2F/Valid/algebra_sqineq_2at2pclta2c2p41pc.lean
dea4f61899e9ad6d673ba7d64f5a95994b889e450c50b705a57b0604546d468d
algebra_sqineq_2unitcircatblt1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_sqineq_2unitcircatblt1 (a b : ℝ) (h₀ : a ^ 2 + b ^ 2 = 2) : a * b ≤ 1 := by sorry
MiniF2F/Valid/algebra_sqineq_2unitcircatblt1.lean
a89fa9383d374852481d377aa0505cdc178110f35da14677d5090dfca2187905
algebra_sqineq_36azm9asqle36zsq
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_sqineq_36azm9asqle36zsq (z a : ℝ) : 36 * (a * z) - 9 * a ^ 2 ≤ 36 * z ^ 2 := by sorry
MiniF2F/Valid/algebra_sqineq_36azm9asqle36zsq.lean
d05e41f32d3717efec7711817b88d765114d22ad1f962840e11ab06a41f4abfa
algebra_sqineq_4bap1lt4bsqpap1sq
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_sqineq_4bap1lt4bsqpap1sq (a b : ℝ) : 4 * b * (a + 1) ≤ 4 * b ^ 2 + (a + 1) ^ 2 := by sorry
MiniF2F/Valid/algebra_sqineq_4bap1lt4bsqpap1sq.lean
5fbaa626dccbcae9d121de5c7d1e621d5c8cdd59934fb949e3f66dd696589569
algebra_xmysqpymzsqpzmxsqeqxyz_xpypzp6dvdx3y3z3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem algebra_xmysqpymzsqpzmxsqeqxyz_xpypzp6dvdx3y3z3 (x y z : ℤ) (h₀ : (x - y) ^ 2 + (y - z) ^ 2 + (z - x) ^ 2 = x * y * z) : x + y + z + 6 ∣ x ^ 3 + y ^ 3 + z ^ 3 := by sorry
MiniF2F/Valid/algebra_xmysqpymzsqpzmxsqeqxyz_xpypzp6dvdx3y3z3.lean
23e74bdc9c2f6590e8a554902bcdaed2c61396204777382fc39cc7b3070725d0
amc12_2000_p11
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12_2000_p11 (a b : ℝ) (h₀ : a ≠ 0 ∧ b ≠ 0) (h₁ : a * b = a - b) : a / b + b / a - a * b = 2 := by sorry
MiniF2F/Valid/amc12_2000_p11.lean
1f338f119579f3ee260c8b73c0d3577127c4697e577b2b78accbcc7a70153056
amc12_2000_p15
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12_2000_p15 (f : ℂ → ℂ) (h₀ : ∀ x, f (x / 3) = x ^ 2 + x + 1) (h₁ : Fintype (f ⁻¹' {7})) : (∑ y ∈ (f ⁻¹' {7}).toFinset, y / 3) = -1 / 9 := by sorry
MiniF2F/Valid/amc12_2000_p15.lean
a465d386b6f5f1f2491c43b5dace85adacdec00cd121edc9ffd8fc8e3254bc4b
amc12_2000_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12_2000_p5 (x p : ℝ) (h₀ : x < 2) (h₁ : abs (x - 2) = p) : x - p = 2 - 2 * p := by sorry
MiniF2F/Valid/amc12_2000_p5.lean
6629440f3dad105d50a227eeb3b10286acce8ddbb01e9bf23abefe7b51970257
amc12_2001_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12_2001_p2 (a b n : ℕ) (h₀ : 1 ≤ a ∧ a ≤ 9) (h₁ : 0 ≤ b ∧ b ≤ 9) (h₂ : n = 10 * a + b) (h₃ : n = a * b + a + b) : b = 9 := by sorry
MiniF2F/Valid/amc12_2001_p2.lean
586dd42468ebeb525c99019c48da33ecaf2f6c6f5fd954e473917c00d397c860
amc12_2001_p9
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12_2001_p9 (f : ℝ → ℝ) (h₀ : ∀ x > 0, ∀ y > 0, f (x * y) = f x / y) (h₁ : f 500 = 3) : f 600 = 5 / 2 := by sorry
MiniF2F/Valid/amc12_2001_p9.lean
c14c5e866f53dd34ae3403921e9cce7bf03afccdda6eef85f3997ac9f45c316c
amc12a_2002_p1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2002_p1 (f : ℂ → ℂ) (h₀ : ∀ x, f x = (2 * x + 3) * (x - 4) + (2 * x + 3) * (x - 6)) (h₁ : Fintype (f ⁻¹' {0})) : (∑ y ∈ (f ⁻¹' {0}).toFinset, y) = 7 / 2 := by sorry
MiniF2F/Valid/amc12a_2002_p1.lean
65a6f60a2dc8d787d178e615a5b70d41c3946bc0fcfaa040538c84f5634a53d8
amc12a_2002_p12
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2002_p12 (f : ℝ → ℝ) (k : ℝ) (a b : ℕ) (h₀ : ∀ x, f x = x ^ 2 - 63 * x + k) (h₁ : f a = 0 ∧ f b = 0) (h₂ : a ≠ b) (h₃ : Nat.Prime a ∧ Nat.Prime b) : k = 122 := by sorry
MiniF2F/Valid/amc12a_2002_p12.lean
61d2bc6eb8ac913efaedeb77cbd8248c1dc0ceb257be011196b172939620db37
amc12a_2002_p21
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2002_p21 (u : ℕ → ℕ) (h₀ : u 0 = 4) (h₁ : u 1 = 7) (h₂ : ∀ n ≥ 2, u (n + 2) = (u n + u (n + 1)) % 10) : ∀ n, (∑ k ∈ Finset.range n, u k) > 10000 → 1999 ≤ n := by sorry
MiniF2F/Valid/amc12a_2002_p21.lean
0285793f1dfb21db1671164f772c3003073affaa15608c569921d1024434a510
amc12a_2003_p1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2003_p1 (u v : ℕ → ℕ) (h₀ : ∀ n, u n = 2 * n + 2) (h₁ : ∀ n, v n = 2 * n + 1) : ((∑ k ∈ Finset.range 2003, u k) - ∑ k ∈ Finset.range 2003, v k) = 2003 := by sorry
MiniF2F/Valid/amc12a_2003_p1.lean
fccdc3096fe83f86417be1e674140c132fe960e10974717523fd65e5d1ec5594
amc12a_2003_p24
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2003_p24 : IsGreatest { y : ℝ | ∃ a b : ℝ, 1 < b ∧ b ≤ a ∧ y = Real.logb a (a / b) + Real.logb b (b / a) } 0 := by sorry
MiniF2F/Valid/amc12a_2003_p24.lean
85c66e6007b6a9ec3271c79307223f65c06f9aa862074e1cf0009695c99ea045
amc12a_2003_p25
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2003_p25 (a b : ℝ) (f : ℝ → ℝ) (h₀ : 0 < b) (h₁ : ∀ x, f x = Real.sqrt (a * x ^ 2 + b * x)) (h₂ : { x | 0 ≤ f x } = f '' { x | 0 ≤ f x }) : a = 0 ∨ a = -4 := by sorry
MiniF2F/Valid/amc12a_2003_p25.lean
7ba82126d5ca71df786d2f2eaeccc16b2cc00bb32e8403c51abeb5be9ca747f5
amc12a_2008_p15
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2008_p15 (k : ℕ) (h₀ : k = 2008 ^ 2 + 2 ^ 2008) : (k ^ 2 + 2 ^ k) % 10 = 6 := by sorry
MiniF2F/Valid/amc12a_2008_p15.lean
2f62e5a0d4baef5b3a8391786ae2f337ca6000a297b388920e125c0cbf0aca0d
amc12a_2008_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2008_p2 (x : ℝ) (h₀ : x * (1 / 2 + 2 / 3) = 1) : x = 6 / 7 := by sorry
MiniF2F/Valid/amc12a_2008_p2.lean
9679d8ce38d248409b8ae2e012b4a0445d114918e531204ccbcc2f1b47f558a5
amc12a_2008_p4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2008_p4 : (∏ k ∈ Finset.Icc (1 : ℕ) 501, ((4 : ℝ) * k + 4) / (4 * k)) = 502 := by sorry
MiniF2F/Valid/amc12a_2008_p4.lean
c48cbce4b96674478e8dc633451b1dd5d986c54430f172e6e272ebaf1dc1db29
amc12a_2008_p8
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2008_p8 (x y : ℝ) (h₀ : 0 < x ∧ 0 < y) (h₁ : y ^ 3 = 1) (h₂ : 6 * x ^ 2 = 2 * (6 * y ^ 2)) : x ^ 3 = 2 * Real.sqrt 2 := by sorry
MiniF2F/Valid/amc12a_2008_p8.lean
7d33bd3ae05a405ac9c5ba4f57bc588a03483eaa7c4170a0d7a0696f3a7583d9
amc12a_2009_p15
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2009_p15 (n : ℕ) (h₀ : 0 < n) (h₁ : (∑ k ∈ Finset.Icc 1 n, ↑k * Complex.I ^ k) = 48 + 49 * Complex.I) : n = 97 := by sorry
MiniF2F/Valid/amc12a_2009_p15.lean
4d139664815861e4dd5470ec429cb63c13cf658de748c7cacddb6850678b09b3
amc12a_2009_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2009_p2 : 1 + 1 / (1 + 1 / (1 + 1)) = (5 : ℚ) / 3 := by sorry
MiniF2F/Valid/amc12a_2009_p2.lean
aabcd815181bd25a68ca854c922fdcdaafed893d84894e2da830df645a1d3bde
amc12a_2009_p25
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2009_p25 (a : ℕ → ℝ) (h₀ : a 1 = 1) (h₁ : a 2 = 1 / Real.sqrt 3) (h₂ : ∀ n, 1 ≤ n → a (n + 2) = (a n + a (n + 1)) / (1 - a n * a (n + 1))) : abs (a 2009) = 0 := by sorry
MiniF2F/Valid/amc12a_2009_p25.lean
5440029141fb29af1382811960ffb04236652ba132e07985c644445ecffac5b8
amc12a_2009_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2009_p5 (x : ℝ) (h₀ : x ^ 3 - (x + 1) * (x - 1) * x = 5) : x ^ 3 = 125 := by sorry
MiniF2F/Valid/amc12a_2009_p5.lean
fa76f98131086bc3fe2b258c83dc93a13dfba176e439582050aca50d433a276f
amc12a_2009_p9
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2009_p9 (a b c : ℝ) (f : ℝ → ℝ) (h₀ : ∀ x, f (x + 3) = 3 * x ^ 2 + 7 * x + 4) (h₁ : ∀ x, f x = a * x ^ 2 + b * x + c) : a + b + c = 2 := by sorry
MiniF2F/Valid/amc12a_2009_p9.lean
5551759c7c721da92ff735e0703f0e3c27f7f4974ae0be9c7fa67a9a8829dcd8
amc12a_2010_p10
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2010_p10 (p q : ℝ) (a : ℕ → ℝ) (h₀ : ∀ n, a (n + 2) - a (n + 1) = a (n + 1) - a n) (h₁ : a 1 = p) (h₂ : a 2 = 9) (h₃ : a 3 = 3 * p - q) (h₄ : a 4 = 3 * p + q) : a 2010 = 8041 := by sorry
MiniF2F/Valid/amc12a_2010_p10.lean
4a6bd5bf2ca412eebe13d39474cf416890d4ca340995f8cc6b1ea17243fbde0b
amc12a_2010_p11
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2010_p11 (x b : ℝ) (h₀ : 0 < b) (h₁ : (7 : ℝ) ^ (x + 7) = 8 ^ x) (h₂ : x = Real.logb b (7 ^ 7)) : b = 8 / 7 := by sorry
MiniF2F/Valid/amc12a_2010_p11.lean
14de811263ea8f61f6ad85feb0f573bdb368b1620a711ff32d9cc2f29781ea7d
amc12a_2010_p22
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2010_p22 (x : ℝ) : 49 ≤ ∑ k ∈ (Finset.Icc (1:ℤ) (119:ℤ)), abs (k * x - 1) := by sorry
MiniF2F/Valid/amc12a_2010_p22.lean
e4a2c1d7ad9a7897f2673d2b0f0a7105f0070a797d2406c2c12bdaaf3a2d60b1
amc12a_2011_p18
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2011_p18 (x y : ℝ) (h₀ : abs (x + y) + abs (x - y) = 2) : x ^ 2 - 6 * x + y ^ 2 ≤ 8 := by sorry
MiniF2F/Valid/amc12a_2011_p18.lean
118d820d2bc1d4f84ab114549be43d8bf76b8a0f2f0295493eaa0ef96a8e28ca
amc12a_2013_p7
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2013_p7 (s : ℕ → ℝ) (h₀ : ∀ n, s (n + 2) = s (n + 1) + s n) (h₁ : s 9 = 110) (h₂ : s 7 = 42) : s 4 = 10 := by sorry
MiniF2F/Valid/amc12a_2013_p7.lean
114d8f82450f30422b821686771c84cfbb17e2c20082a4a5beb8095e8969f5c2
amc12a_2013_p8
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2013_p8 (x y : ℝ) (h₀ : x ≠ 0) (h₁ : y ≠ 0) (h₂ : x ≠ y) (h₃ : x + 2 / x = y + 2 / y) : x * y = 2 := by sorry
MiniF2F/Valid/amc12a_2013_p8.lean
a332218431b05ff36c64d419a724519be6074e421d383d8d10395a4228723439
amc12a_2015_p10
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2015_p10 (x y : ℤ) (h₀ : 0 < y) (h₁ : y < x) (h₂ : x + y + x * y = 80) : x = 26 := by sorry
MiniF2F/Valid/amc12a_2015_p10.lean
1c7b44fc27c852ee5f280cb2d97d2c06a019e62a2d4438fe8f1f1c2192afc67d
amc12a_2016_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2016_p2 (x : ℝ) (h₀ : (10 : ℝ) ^ x * 100 ^ (2 * x) = 1000 ^ 5) : x = 3 := by sorry
MiniF2F/Valid/amc12a_2016_p2.lean
8c67e168026c3620a5a4bc22f0d97af61b9e47a008abe98f32bd42da5fbd2e15
amc12a_2016_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2016_p3 (f : ℝ → ℝ → ℝ) (h₀ : ∀ x, ∀ (y) (_ : y ≠ 0), f x y = x - y * Int.floor (x / y)) : f (3 / 8) (-(2 / 5)) = -(1 / 40) := by sorry
MiniF2F/Valid/amc12a_2016_p3.lean
02116d8b5c3abf5c4813e7d277d11c4f5ebf336728726c2829d1a3ab8665425e
amc12a_2017_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2017_p2 (x y : ℝ) (h₀ : x ≠ 0) (h₁ : y ≠ 0) (h₂ : x + y = 4 * (x * y)) : 1 / x + 1 / y = 4 := by sorry
MiniF2F/Valid/amc12a_2017_p2.lean
1b5c32f678c16e3711d1d00744f2812003bb83820c810850cef61cd859c6dfb0
amc12a_2017_p7
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2017_p7 (f : ℕ → ℝ) (h₀ : f 1 = 2) (h₁ : ∀ n, 1 < n ∧ Even n → f n = f (n - 1) + 1) (h₂ : ∀ n, 1 < n ∧ Odd n → f n = f (n - 2) + 2) : f 2017 = 2018 := by sorry
MiniF2F/Valid/amc12a_2017_p7.lean
5bab4be1a3243c221b0dd709f8e4ebd8b8b4ba941b23a96aebb413c95353f8ef
amc12a_2019_p21
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2019_p21 (z : ℂ) (h₀ : z = (1 + Complex.I) / Real.sqrt 2) : ((∑ k ∈ Finset.Icc 1 12, z ^ k ^ 2) * (∑ k ∈ Finset.Icc 1 12, 1 / z ^ k ^ 2)) = 36 := by sorry
MiniF2F/Valid/amc12a_2019_p21.lean
2fff0c55e61e03fdebd88bb9bf5cc516a2f58dd9df7c519144f46572d222330d
amc12a_2019_p9
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2019_p9 (a : ℕ → ℚ) (h₀ : a 1 = 1) (h₁ : a 2 = 3 / 7) (h₂ : ∀ n, a (n + 2) = a n * a (n + 1) / (2 * a n - a (n + 1))) : ↑(a 2019).den + (a 2019).num = 8078 := by sorry
MiniF2F/Valid/amc12a_2019_p9.lean
b0a0f098210d97bacfee44a91761a94a83ab9baa2e3881c7b307ef2806851c65
amc12a_2020_p13
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2020_p13 (a b c : ℕ) (n : NNReal) (h₀ : n ≠ 1) (h₁ : 1 < a ∧ 1 < b ∧ 1 < c) (h₂ : (n * (n * n ^ (1 / c)) ^ (1 / b)) ^ (1 / a) = (n ^ 25) ^ (1 / 36)) : b = 3 := by sorry
MiniF2F/Valid/amc12a_2020_p13.lean
9f4b7de81ccc174fed7df9b2cb1e3f667b925bea52374c65f631a0c2b2f102d8
amc12a_2020_p21
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2020_p21 (S : Finset ℕ) (h₀ : ∀ n : ℕ, n ∈ S ↔ 5 ∣ n ∧ Nat.lcm 5! n = 5 * Nat.gcd 10! n) : S.card = 48 := by sorry
MiniF2F/Valid/amc12a_2020_p21.lean
59c5b8be1380a2062620cef5dfae9f484ca9ffdab23662a584af1b915d83fb22
amc12a_2021_p7
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12a_2021_p7 (x y : ℝ) : 1 ≤ (x * y - 1) ^ 2 + (x + y) ^ 2 := by sorry
MiniF2F/Valid/amc12a_2021_p7.lean
15ab379bbf206cd4f559fc27ece89d24ce01d863d3a1eac025015b3be08095bd
amc12b_2002_p11
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2002_p11 (a b : ℕ) (h₀ : Nat.Prime a) (h₁ : Nat.Prime b) (h₂ : Nat.Prime (a + b)) (h₃ : Nat.Prime (a - b)) : Nat.Prime (a + b + (a - b + (a + b))) := by sorry
MiniF2F/Valid/amc12b_2002_p11.lean
3bab0e8592f23ba7c29ed7a225ceb2718bd950410aa103150933b68fc2707616
amc12b_2002_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2002_p3 (S : Finset ℕ) -- note: we use (n^2 + 2 - 3 * n) over (n^2 - 3 * n + 2) because nat subtraction truncates the latter at 1 and 2 (h₀ : ∀ n : ℕ, n ∈ S ↔ 0 < n ∧ Nat.Prime (n ^ 2 + 2 - 3 * n)) : S.card = 1 := by sorry
MiniF2F/Valid/amc12b_2002_p3.lean
b0803125fe4c6ef0cdd37aae40fddcb8ed59ed620fd3d33c529195c2927dd03a
amc12b_2002_p6
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2002_p6 (a b : ℝ) (h₀ : a ≠ 0 ∧ b ≠ 0) (h₁ : ∀ x, x ^ 2 + a * x + b = (x - a) * (x - b)) : a = 1 ∧ b = -2 := by sorry
MiniF2F/Valid/amc12b_2002_p6.lean
faa943b29356fe3b10dc0113f8860bdadd63a7aa6b0efb833a5afe8ce5c6936e
amc12b_2003_p17
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2003_p17 (x y : ℝ) (h₀ : 0 < x ∧ 0 < y) (h₁ : Real.log (x * y ^ 3) = 1) (h₂ : Real.log (x ^ 2 * y) = 1) : Real.log (x * y) = 3 / 5 := by sorry
MiniF2F/Valid/amc12b_2003_p17.lean
83ed8c0064d225c5820306621493b131be9f6c518e880be424c1b162e6f5d1c0
amc12b_2003_p6
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2003_p6 (a r : ℝ) (u : ℕ → ℝ) (h₀ : ∀ k, u k = a * r ^ k) (h₁ : u 1 = 2) (h₂ : u 3 = 6) : u 0 = 2 / Real.sqrt 3 ∨ u 0 = -(2 / Real.sqrt 3) := by sorry
MiniF2F/Valid/amc12b_2003_p6.lean
ce010b2979cf2c97dd03afa7bea0ac53fe4f8c7d498e34b32c7a77b4d0b7311c
amc12b_2003_p9
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2003_p9 (a b : ℝ) (f : ℝ → ℝ) (h₀ : ∀ x, f x = a * x + b) (h₁ : f 6 - f 2 = 12) : f 12 - f 2 = 30 := by sorry
MiniF2F/Valid/amc12b_2003_p9.lean
9b5348bb726a9b6399fdcbc6ba21975b6462079b46230b6a2a175eb81be30696
amc12b_2004_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2004_p3 (x y : ℕ) (h₀ : 2 ^ x * 3 ^ y = 1296) : x + y = 8 := by sorry
MiniF2F/Valid/amc12b_2004_p3.lean
0010247e1b09e8622c866d6020d3aae217a14a47671d992252ee946d34a49070
amc12b_2020_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2020_p5 (a b : ℕ) (h₀ : (5 : ℚ) / 8 * b = 2 / 3 * a + 7) (h₁ : (b : ℚ) - 5 / 8 * b = a - 2 / 3 * a + 7) : a = 42 := by sorry
MiniF2F/Valid/amc12b_2020_p5.lean
46ae4acf6206016b469d927233d20c24fb38bc4038aece42d0c01990ab35c22e
amc12b_2021_p21
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem amc12b_2021_p21 (S : Finset ℝ) (h₀ : ∀ x : ℝ, x ∈ S ↔ 0 < x ∧ x ^ (2 : ℝ) ^ Real.sqrt 2 = Real.sqrt 2 ^ (2 : ℝ) ^ x) : (↑2 ≤ ∑ k ∈ S, k) ∧ (∑ k ∈ S, k) < 6 := by sorry
MiniF2F/Valid/amc12b_2021_p21.lean
6c30204b4587edd31e93574cb016275f24122bbbdbf826b43d31888466d39b56
imo_1961_p1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1961_p1 (x y z a b : ℝ) (h₀ : 0 < x ∧ 0 < y ∧ 0 < z) (h₁ : x ≠ y) (h₂ : y ≠ z) (h₃ : z ≠ x) (h₄ : x + y + z = a) (h₅ : x ^ 2 + y ^ 2 + z ^ 2 = b ^ 2) (h₆ : x * y = z ^ 2) : 0 < a ∧ b ^ 2 < a ^ 2 ∧ a ^ 2 < 3 * b ^ 2 := by sorry
MiniF2F/Valid/imo_1961_p1.lean
e7e01ff3c4a0b7fdc8f94e49fd791734e1a7789e7215fd1eca85d9adf437c51c
imo_1962_p4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1962_p4 (S : Set ℝ) (h₀ : S = { x : ℝ | Real.cos x ^ 2 + Real.cos (2 * x) ^ 2 + Real.cos (3 * x) ^ 2 = 1 }) : S = { x : ℝ | ∃ m : ℤ, x = π / 2 + m * π ∨ x = π / 4 + m * π / 2 ∨ x = π / 6 + m * π / 6 ∨ x = 5 * π / 6 + m * π / 6 } := by sorry
MiniF2F/Valid/imo_1962_p4.lean
77111eb28a8bfaa30cfbe1c5e522ca071ffb94a73984b101d569c892e16e7d22
imo_1964_p1_1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1964_p1_1 (n : ℕ) (h₀ : 7 ∣ 2 ^ n - 1) : 3 ∣ n := by sorry
MiniF2F/Valid/imo_1964_p1_1.lean
c2bb1d16075f549bf0d003fe066c730b5cd93cef2f2d89c8f73dadb2c0613167
imo_1964_p1_2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1964_p1_2 (n : ℕ) : ¬7 ∣ 2 ^ n + 1 := by sorry
MiniF2F/Valid/imo_1964_p1_2.lean
647887c0b7d911e9db59e4e3254277ee6500c351a8dea1e14b956f187a32f483
imo_1965_p1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1965_p1 (x : ℝ) (h₀ : 0 ≤ x) (h₁ : x ≤ 2 * π) (h₂ : 2 * Real.cos x ≤ abs (Real.sqrt (1 + Real.sin (2 * x)) - Real.sqrt (1 - Real.sin (2 * x)))) (h₃ : abs (Real.sqrt (1 + Real.sin (2 * x)) - Real.sqrt (1 - Real.sin (2 * x))) ≤ Real.sqrt 2) : π / 4 ≤ x ∧ x ≤ 7 * π / 4 := by sorry
MiniF2F/Valid/imo_1965_p1.lean
ef0fc709629c7729584bdd2eb6d812a88d913c9e3cfe73770658d4df093a70b1
imo_1966_p4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1966_p4 (n : ℕ) (x : ℝ) (h₀ : ∀ k : ℕ, 0 < k → ∀ m : ℤ, x ≠ m * π / 2 ^ k) (h₁ : 0 < n) : (∑ k ∈ Finset.Icc 1 n, 1 / Real.sin (2 ^ k * x)) = 1 / Real.tan x - 1 / Real.tan (2 ^ n * x) := by sorry
MiniF2F/Valid/imo_1966_p4.lean
c4537ced407fb2f30ac2ba5cc6e98a053e00187f6f2cecdf372fa4cbaefca920
imo_1966_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1966_p5 (x a : ℕ → ℝ) (h₀ : a 1 ≠ a 2) (h₁ : a 1 ≠ a 3) (h₂ : a 1 ≠ a 4) (h₃ : a 2 ≠ a 3) (h₄ : a 2 ≠ a 4) (h₅ : a 3 ≠ a 4) (h₆ : a 1 > a 2) (h₇ : a 2 > a 3) (h₈ : a 3 > a 4) (h₉ : abs (a 1 - a 2) * x 2 + abs (a 1 - a 3) * x 3 + abs (a 1 - a 4) * x 4 = 1) (h₁₀ : abs (a 2 - a 1) * x 1 + abs (a 2 - a ...
MiniF2F/Valid/imo_1966_p5.lean
bb8eda8ae1e57bf01f6cf2780229d53e23cdae5f6bb19ae89423476ff7d0c0fe
imo_1967_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1967_p3 (k m n : ℕ) (c : ℕ → ℕ) (h₀ : 0 < k ∧ 0 < m ∧ 0 < n) (h₁ : ∀ s, c s = s * (s + 1)) (h₂ : Nat.Prime (k + m + 1)) (h₃ : n + 1 < k + m + 1) : (∏ i ∈ Finset.Icc 1 n, c i) ∣ ∏ i ∈ Finset.Icc 1 n, c (m + i) - c k := by sorry
MiniF2F/Valid/imo_1967_p3.lean
5b5f1596cd8ec8a7ad2ab50317b82268eb3121c2788c471316c4dc88d24351a0
imo_1973_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1973_p3 (a b : ℝ) (h₀ : ∃ x, x ^ 4 + a * x ^ 3 + b * x ^ 2 + a * x + 1 = 0) : 4 / 5 ≤ a ^ 2 + b ^ 2 := by sorry
MiniF2F/Valid/imo_1973_p3.lean
cdb375ecc6217e4eac6ccf83d6bfd80277b5948a4a882dd77a330930be372564
imo_1974_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1974_p5 (a b c d s : ℝ) (h₀ : 0 < a ∧ 0 < b ∧ 0 < c ∧ 0 < d) (h₁ : s = a / (a + b + d) + b / (a + b + c) + c / (b + c + d) + d / (a + c + d)) : 1 < s ∧ s < 2 := by sorry
MiniF2F/Valid/imo_1974_p5.lean
cd7ccbf7b6096bf85823123125618b292282218bd02b95c9cb480e7a56d181f1
imo_1977_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1977_p5 (a b q r : ℕ) (h₀ : r < a + b) (h₁ : a ^ 2 + b ^ 2 = (a + b) * q + r) (h₂ : q ^ 2 + r = 1977) : abs ((a : ℤ) - 22) = 15 ∧ abs ((b : ℤ) - 22) = 28 ∨ abs ((a : ℤ) - 22) = 28 ∧ abs ((b : ℤ) - 22) = 15 := by sorry
MiniF2F/Valid/imo_1977_p5.lean
7f337b2af4ee937f3e1e427ed94eca272ae6a29164c880656e423e5e911b6bfc
imo_1978_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1978_p5 (n : ℕ) (a : ℕ → ℕ) (h₀ : Function.Injective a) (h₁ : a 0 = 0) (h₂ : 0 < n) : (∑ k ∈ Finset.Icc 1 n, (1 : ℝ) / k) ≤ ∑ k ∈ Finset.Icc 1 n, (a k : ℝ) / k ^ 2 := by sorry
MiniF2F/Valid/imo_1978_p5.lean
c5bf9c0365a04e6105bacfe8ef65bacd806549d74dc7521d46cbed5595ee8d1d
imo_1979_p1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1979_p1 (p q : ℕ) (h₀ : 0 < q) (h₁ : (∑ k ∈ Finset.Icc (1 : ℕ) 1319, (-1) ^ (k + 1) * ((1 : ℝ) / k)) = p / q) : 1979 ∣ p := by sorry
MiniF2F/Valid/imo_1979_p1.lean
6213296c7d95fb9e2948386c9bc5955de274c13d4dd6fbf770be8468c9548eb4
imo_1984_p2
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1984_p2 (a b : ℤ) (h₀ : 0 < a ∧ 0 < b) (h₁ : ¬7 ∣ a) (h₂ : ¬7 ∣ b) (h₃ : ¬7 ∣ a + b) (h₄ : 7 ^ 7 ∣ (a + b) ^ 7 - a ^ 7 - b ^ 7) : 19 ≤ a + b := by sorry
MiniF2F/Valid/imo_1984_p2.lean
9c582453280c183c7fe0250fe72a497e57348332e7dd6e1586b98d9ee9443052
imo_1987_p4
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1987_p4 (f : ℕ → ℕ) : ∃ n, f (f n) ≠ n + 1987 := by sorry
MiniF2F/Valid/imo_1987_p4.lean
66c580e0d9ed9bb0d712468a9fdf749a704420c2f3a6de313841b2e4f38b3dcf
imo_1987_p6
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1987_p6 (p : ℕ) (f : ℕ → ℕ) (h₀ : ∀ x, f x = x ^ 2 + x + p) (h₀ : ∀ k : ℕ, k ≤ Nat.floor (Real.sqrt (p / 3)) → Nat.Prime (f k)) : ∀ i ≤ p - 2, Nat.Prime (f i) := by sorry
MiniF2F/Valid/imo_1987_p6.lean
0466489488617caec38693e1352dd97e6092a156ba1a9e5e6662a7a88dff3e0e
imo_1988_p6
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1988_p6 (a b : ℕ) (h₀ : 0 < a ∧ 0 < b) (h₁ : a * b + 1 ∣ a ^ 2 + b ^ 2) : ∃ x : ℕ, (x ^ 2 : ℝ) = (a ^ 2 + b ^ 2) / (a * b + 1) := by sorry
MiniF2F/Valid/imo_1988_p6.lean
557ec42d3f6cba44762554eb0f28e687c6ed8e056ce981dbb610bf69e089187b
imo_1990_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1990_p3 (n : ℕ) (h₀ : 2 ≤ n) (h₁ : n ^ 2 ∣ 2 ^ n + 1) : n = 3 := by sorry
MiniF2F/Valid/imo_1990_p3.lean
f68fcb7751a2b7230e17e774f1c78cacb454b54368e8add434e6b53f42a64c31
imo_1993_p5
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_1993_p5 : ∃ f : ℕ → ℕ, f 1 = 2 ∧ ∀ n, f (f n) = f n + n ∧ ∀ n, f n < f (n + 1) := by sorry
MiniF2F/Valid/imo_1993_p5.lean
c99a60fd1b91336ae719240be205d79d129324281c332d0527ab0a652b4fca1b
imo_2006_p3
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem imo_2006_p3 (a b c : ℝ) : a * b * (a ^ 2 - b ^ 2) + b * c * (b ^ 2 - c ^ 2) + c * a * (c ^ 2 - a ^ 2) ≤ 9 * Real.sqrt 2 / 32 * (a ^ 2 + b ^ 2 + c ^ 2) ^ 2 := by sorry
MiniF2F/Valid/imo_2006_p3.lean
187df0eab2e1c06cd487473a9e42729d382b31f31c84be1983d46c56e60fcea5
induction_divisibility_3div2tooddnp1
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem induction_divisibility_3div2tooddnp1 (n : ℕ) : 3 ∣ 2 ^ (2 * n + 1) + 1 := by sorry
MiniF2F/Valid/induction_divisibility_3div2tooddnp1.lean
d0b38d04897ea69f4c604fd9ce6234c2439040b95e5bc5248ec5db6dbaa69cd1
induction_divisibility_3divnto3m2n
import Mathlib set_option maxHeartbeats 0 open BigOperators Real Nat Topology Rat
theorem induction_divisibility_3divnto3m2n (n : ℕ) : 3 ∣ n ^ 3 + 2 * n := by sorry
MiniF2F/Valid/induction_divisibility_3divnto3m2n.lean
9605d6829cfbf10272dc9388c348aa1a49ad903116bab26313bff1b7df00ef8e
End of preview. Expand in Data Studio

miniF2F — Lean 4.36.0 (Yang port)

This is a community-maintained Hugging Face export of miniF2F for Lean 4.36.0, derived from yangky11/miniF2F-lean4. The original theorem statements and split membership are preserved.

miniF2F was introduced by Kunhao Zheng, Jesse Michael Han, and Stanislas Polu in MiniF2F: a cross-system benchmark for formal Olympiad-level mathematics, published at ICLR 2022. Credit for the Lean 4 port goes to Kaiyu Yang and the contributors to the upstream repository. This release is packaged and maintained by Theohhh; the contribution is the environment upgrade, dataset export, and recorded compatibility checks.

This release follows the Yang lineage at 5746b7d6c47855ce1294bed87329618ff7f1bc31. It is not presented as an official release by the original authors or as the Google DeepMind corrected fork.

Splits and evaluation

Split Problems Use
test 244 Standard benchmark evaluation
validation 244 Development; included to preserve the upstream dataset

The upstream MiniF2F/Test directory maps to test, and MiniF2F/Valid maps to validation. There is no training split. The intended default evaluation uses only test. Loading without a split argument returns both splits; downstream evaluators must select test explicitly. Do not combine the two splits when reporting a standard miniF2F test result.

Loading

from datasets import load_dataset

problems = load_dataset(
    "Theohhh/minif2f-lean4",
    "lean-4.36.0",
    split="test",
    revision="<dataset commit SHA>",
)

Replace the revision placeholder with the commit shown in this dataset's history. Pin a commit for reproducible evaluations. For exploratory loading, the revision argument can be omitted. The JSONL files require no custom loading script.

Record format

Field Meaning
id Original theorem name, unique across both splits
header Original imports, options, and namespace openings
formal_statement Original theorem declaration, including its := by sorry proof stub
source_file Path relative to the pinned upstream repository
source_sha256 SHA-256 of the original UTF-8 Git blob, with LF line endings

header + formal_statement reconstructs the original theorem file exactly. Rows are ordered by source path. Source hashes use Git blobs so Windows checkout line-ending conversion does not change the exported data.

For example, one of the test records contains:

{
  "id": "mathd_algebra_304",
  "header": "import Mathlib\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology Rat\n\n",
  "formal_statement": "theorem mathd_algebra_304 :\n  91^2 = 8281 := by sorry",
  "source_file": "MiniF2F/Test/mathd_algebra_304.lean",
  "source_sha256": "8dc4adc1fa5b7b72dc3fd0404bc9c5c297bde9ca7d20ccea37a8e0493d4036a2"
}

The sorry is a proof placeholder, not a reference solution. A proof evaluator must replace the designated target proof body, preserve the trusted statement and context, and reject incomplete proofs and disallowed axioms. Compilation of the stored stub alone does not constitute solving a problem.

No generated proofs, reference proofs, informal solutions, or rendered goal states are added. Prompt wording, sampling budgets, and metrics are downstream evaluator settings rather than dataset columns.

Lean environment and changes

  • Target toolchain: leanprover/lean4:v4.36.0.
  • Intended Mathlib revision: fc4f59e577feb1a4956671bc04ac18aaaf8cd842 (v4.36.0).
  • Required elaboration setting for the recorded check: maxRecDepth = 65536.
  • Original per-file options, including maxHeartbeats = 0, remain in header.

The files in environment/lean-4.36.0 capture the upgraded lean-toolchain, lakefile.lean, and lake-manifest.json. They were derived from the upstream 4.24.0 project configuration. These are configuration snapshots; this dataset repository is not itself a complete Lake project. Apply them to a checkout of the pinned upstream source to reconstruct the intended project. The repository-wide manifest records provenance and checksums.

The required recursion option is recorded separately; it is not inserted into or claimed to be present in the original source headers. Apply it when checking the theorems, for example as a Lean compiler option -DmaxRecDepth=65536. Evaluators should separately define and record wall-clock and memory limits.

No theorem statements, hypotheses, theorem names, or split memberships were edited. Preservation also means that this export does not claim to fix upstream misformalizations or certify correspondence with the informal contest problems.

Validation and limitations

All 488 statement stubs compiled using AXLE's lean-4.36.0 environment with maxRecDepth = 65536. Controls confirmed acceptance of a valid proof, rejection of an invalid proof, and the expected acceptance of an incomplete sorry stub by AXLE's compilation-only check endpoint. Lean reported version 4.36.0.

With the default recursion limit, 486 compiled and these two reached the limit:

  • algebra_sum1onsqrt2to1onsqrt10000lt198
  • imosl_2007_algebra_p6

The final full run used the higher limit consistently for all 488 problems. Imports were processed as written (ignore_imports=false). The exporter verifies that each checked source matches the exported source and records the results in validation/lean-4.36.0.json.

These are statement-compilation checks, not completed-proof verification. AXLE does not expose the Mathlib commit of this environment. Consequently the remote checks do not certify a local build with the bundled dependency lockfile. A successful complete local build has not been established for this release. AXLE is credited as the validation service, not as the source of the benchmark.

Reproducing the export

scripts/export.py uses only the Python standard library and Git. It exports the pinned upstream Git blobs, checks the unchanged working theorem files against the recorded AXLE results, and copies the upgraded project configuration. Run it with paths to that source checkout and the original AXLE run directory containing metadata.json, controls.json, and statements.jsonl:

python scripts/export.py --source /path/to/miniF2F-lean4 --axle-results /path/to/axle-run --output /path/to/export

The public validation summary contains checksums and request IDs; the complete AXLE input report is included in validation/axle-input/ so the export can be reproduced after reconstructing the source checkout. The script does not invoke Lean or AXLE and does not publish anything.

Future Lean adaptations should be released under separately named configurations. Existing evaluations should retain their configuration and dataset commit pins.

License and citation

The upstream MIT license, including the copyright notice for Meta Platforms, Inc. and affiliates, is preserved verbatim in LICENSE. Packaging code and documentation added for this export are also provided under the MIT license.

Please cite the original benchmark paper and identify both the Yang source revision and this dataset's configuration/commit when reporting results:

@inproceedings{zheng2022minif2f,
  title={MiniF2F: a cross-system benchmark for formal Olympiad-level mathematics},
  author={Zheng, Kunhao and Han, Jesse Michael and Polu, Stanislas},
  booktitle={International Conference on Learning Representations},
  year={2022},
  url={https://arxiv.org/abs/2109.00110}
}
Downloads last month
54

Paper for Theohhh/minif2f-lean4