File size: 32,408 Bytes
7931c0c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{"id": "finite-sums-geometric-d1-e0000", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 1, "seed": 10000, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[8 \\sum_{i=0}^{n-1} 9^{i} = 1\\left(9^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (8 : ℤ) * ∑ i ∈ Finset.range n, (9 : ℤ) ^ i = 1 * ((9 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d1-e0000"}
{"id": "finite-sums-polynomial-d1-e0001", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 1, "seed": 10001, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(4i + 4\\right) = 4 \\cdot \\frac{n(n+1)}{2} + 4 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), (4 * (i : ℚ) + 4) = 4 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + 4 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d1-e0001"}
{"id": "finite-sums-telescoping-d1-e0002", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 1, "seed": 10002, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{1}{(i+2)(i+3)} = \\frac{n}{2(n+2)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (1 : ℚ) / (((i : ℚ) + 2) * ((i : ℚ) + 3)) = 1 * (n : ℚ) / (2 * ((n : ℚ) + 2)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d1-e0002"}
{"id": "finite-sums-geometric-d2-e0003", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 2, "seed": 10003, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[5 \\sum_{i=0}^{n-1} 5 \\cdot 6^{i} = 5\\left(6^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (5 : ℤ) * ∑ i ∈ Finset.range n, 5 * (6 : ℤ) ^ i = 5 * ((6 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d2-e0003"}
{"id": "finite-sums-polynomial-d2-e0004", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 2, "seed": 10004, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(4i^2 - 4i\\right) = 4 \\cdot \\frac{n(n+1)(2n+1)}{6} - 4 \\cdot \\frac{n(n+1)}{2}.\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), (4 * (i : ℚ) ^ 2 + -4 * (i : ℚ)) = 4 * ((n : ℚ) * ((n : ℚ) + 1) * (2 * (n : ℚ) + 1) / 6) + -4 * ((n : ℚ) * ((n : ℚ) + 1) / 2) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d2-e0004"}
{"id": "finite-sums-telescoping-d2-e0005", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 2, "seed": 10005, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{1}{(i+4)(i+5)} = \\frac{n}{4(n+4)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (1 : ℚ) / (((i : ℚ) + 4) * ((i : ℚ) + 5)) = 1 * (n : ℚ) / (4 * ((n : ℚ) + 4)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d2-e0005"}
{"id": "finite-sums-geometric-d3-e0006", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 3, "seed": 10006, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[4 \\sum_{i=0}^{n-1} 8 \\cdot 5^{i+1} = 40\\left(5^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (4 : ℤ) * ∑ i ∈ Finset.range n, 8 * (5 : ℤ) ^ (i + 1) = 40 * ((5 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d3-e0006"}
{"id": "finite-sums-polynomial-d3-e0007", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 3, "seed": 10007, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(3i^3 + 3i^2 + i - 4\\right) = 3 \\cdot \\frac{n^2(n+1)^2}{4} + 3 \\cdot \\frac{n(n+1)(2n+1)}{6} + 1 \\cdot \\frac{n(n+1)}{2} - 4 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), (3 * (i : ℚ) ^ 3 + 3 * (i : ℚ) ^ 2 + (i : ℚ) + -4) = 3 * ((n : ℚ) ^ 2 * ((n : ℚ) + 1) ^ 2 / 4) + 3 * ((n : ℚ) * ((n : ℚ) + 1) * (2 * (n : ℚ) + 1) / 6) + 1 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + -4 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d3-e0007"}
{"id": "finite-sums-telescoping-d3-e0008", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 3, "seed": 10008, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{7}{(i+7)(i+8)} = \\frac{7n}{7(n+7)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (7 : ℚ) / (((i : ℚ) + 7) * ((i : ℚ) + 8)) = 7 * (n : ℚ) / (7 * ((n : ℚ) + 7)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d3-e0008"}
{"id": "finite-sums-geometric-d1-e0009", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 1, "seed": 10009, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[2 \\sum_{i=0}^{n-1} 2 \\cdot 3^{i} = 2\\left(3^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (2 : ℤ) * ∑ i ∈ Finset.range n, 2 * (3 : ℤ) ^ i = 2 * ((3 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d1-e0009"}
{"id": "finite-sums-polynomial-d1-e0010", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 1, "seed": 10010, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(i - 3\\right) = 1 \\cdot \\frac{n(n+1)}{2} - 3 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), ((i : ℚ) + -3) = 1 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + -3 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d1-e0010"}
{"id": "finite-sums-telescoping-d1-e0011", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 1, "seed": 10011, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{1}{(i+2)(i+3)} = \\frac{n}{2(n+2)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (1 : ℚ) / (((i : ℚ) + 2) * ((i : ℚ) + 3)) = 1 * (n : ℚ) / (2 * ((n : ℚ) + 2)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d1-e0011"}
{"id": "finite-sums-geometric-d2-e0012", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 2, "seed": 10012, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[6 \\sum_{i=0}^{n-1} 9 \\cdot 7^{i} = 9\\left(7^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (6 : ℤ) * ∑ i ∈ Finset.range n, 9 * (7 : ℤ) ^ i = 9 * ((7 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d2-e0012"}
{"id": "finite-sums-polynomial-d2-e0013", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 2, "seed": 10013, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(i^2 - 2i + 3\\right) = 1 \\cdot \\frac{n(n+1)(2n+1)}{6} - 2 \\cdot \\frac{n(n+1)}{2} + 3 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), ((i : ℚ) ^ 2 + -2 * (i : ℚ) + 3) = 1 * ((n : ℚ) * ((n : ℚ) + 1) * (2 * (n : ℚ) + 1) / 6) + -2 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + 3 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d2-e0013"}
{"id": "finite-sums-telescoping-d2-e0014", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 2, "seed": 10014, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{2}{(i+2)(i+3)} = \\frac{2n}{2(n+2)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (2 : ℚ) / (((i : ℚ) + 2) * ((i : ℚ) + 3)) = 2 * (n : ℚ) / (2 * ((n : ℚ) + 2)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d2-e0014"}
{"id": "finite-sums-geometric-d3-e0015", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 3, "seed": 10015, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[6 \\sum_{i=0}^{n-1} 7^{i+2} = 49\\left(7^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (6 : ℤ) * ∑ i ∈ Finset.range n, (7 : ℤ) ^ (i + 2) = 49 * ((7 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d3-e0015"}
{"id": "finite-sums-polynomial-d3-e0016", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 3, "seed": 10016, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(4i^3 - i^2 + 4i + 1\\right) = 4 \\cdot \\frac{n^2(n+1)^2}{4} - 1 \\cdot \\frac{n(n+1)(2n+1)}{6} + 4 \\cdot \\frac{n(n+1)}{2} + 1 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), (4 * (i : ℚ) ^ 3 + -1 * (i : ℚ) ^ 2 + 4 * (i : ℚ) + 1) = 4 * ((n : ℚ) ^ 2 * ((n : ℚ) + 1) ^ 2 / 4) + -1 * ((n : ℚ) * ((n : ℚ) + 1) * (2 * (n : ℚ) + 1) / 6) + 4 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + 1 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d3-e0016"}
{"id": "finite-sums-telescoping-d3-e0017", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 3, "seed": 10017, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{7}{(i+4)(i+5)} = \\frac{7n}{4(n+4)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (7 : ℚ) / (((i : ℚ) + 4) * ((i : ℚ) + 5)) = 7 * (n : ℚ) / (4 * ((n : ℚ) + 4)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d3-e0017"}
{"id": "finite-sums-geometric-d1-e0018", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 1, "seed": 10018, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[2 \\sum_{i=0}^{n-1} 3^{i} = 1\\left(3^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (2 : ℤ) * ∑ i ∈ Finset.range n, (3 : ℤ) ^ i = 1 * ((3 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d1-e0018"}
{"id": "finite-sums-polynomial-d1-e0019", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 1, "seed": 10019, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(5i - 1\\right) = 5 \\cdot \\frac{n(n+1)}{2} - 1 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), (5 * (i : ℚ) + -1) = 5 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + -1 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d1-e0019"}
{"id": "finite-sums-telescoping-d1-e0020", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 1, "seed": 10020, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{1}{(i+2)(i+3)} = \\frac{n}{2(n+2)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (1 : ℚ) / (((i : ℚ) + 2) * ((i : ℚ) + 3)) = 1 * (n : ℚ) / (2 * ((n : ℚ) + 2)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d1-e0020"}
{"id": "finite-sums-geometric-d2-e0021", "env": "finite-sums", "msc": "40", "family": "geometric", "difficulty": 2, "seed": 10021, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[2 \\sum_{i=0}^{n-1} 9 \\cdot 3^{i} = 9\\left(3^{n} - 1\\right).\\] The sum is over the integers and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    (2 : ℤ) * ∑ i ∈ Finset.range n, 9 * (3 : ℤ) ^ i = 9 * ((3 : ℤ) ^ n - 1) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-geometric-d2-e0021"}
{"id": "finite-sums-polynomial-d2-e0022", "env": "finite-sums", "msc": "40", "family": "polynomial", "difficulty": 2, "seed": 10022, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n} \\left(5i^2 - i + 4\\right) = 5 \\cdot \\frac{n(n+1)(2n+1)}{6} - 1 \\cdot \\frac{n(n+1)}{2} + 4 \\cdot (n+1).\\]\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range (n + 1), (5 * (i : ℚ) ^ 2 + -1 * (i : ℚ) + 4) = 5 * ((n : ℚ) * ((n : ℚ) + 1) * (2 * (n : ℚ) + 1) / 6) + -1 * ((n : ℚ) * ((n : ℚ) + 1) / 2) + 4 * (((n : ℚ) + 1)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-polynomial-d2-e0022"}
{"id": "finite-sums-telescoping-d2-e0023", "env": "finite-sums", "msc": "40", "family": "telescoping", "difficulty": 2, "seed": 10023, "kind": "prove", "instruction": "# Prove a closed form for a finite sum\n\nProve the following identity.\n\nFor every natural number \\(n\\), \\[\\sum_{i=0}^{n-1} \\frac{1}{(i+6)(i+7)} = \\frac{n}{6(n+6)}.\\] The sum is over the rationals and is empty when \\(n = 0\\).\n\n## What to do\n\n`Solution.lean` in the working directory states the theorem in Lean 4 with Mathlib, with `sorry` in place of the proof. Replace every `sorry` with a proof.\n\n- Do not change the statement of any theorem or any definition the file gives you. You may add your own lemmas and definitions.\n- Check your work with `lake env lean Solution.lean` (run it inside `/opt/arena/lean`, giving the full path to the file). It must compile without errors.\n- A theorem counts only if its proof is complete: no `sorry`, no new axioms, no `native_decide`.\n- The reward is 1 if the theorem is proved and 0 otherwise.\n", "start_file": "import Mathlib\n\n/-- The closed form stated in the task. -/\ntheorem sum_closed_form (n : ℕ) :\n    ∑ i ∈ Finset.range n, (1 : ℚ) / (((i : ℚ) + 6) * ((i : ℚ) + 7)) = 1 * (n : ℚ) / (6 * ((n : ℚ) + 6)) := by\n  sorry\n", "path": "tasks/finite-sums/finite-sums-telescoping-d2-e0023"}