/-- The left-hand side of the stated inequality. The exponent n is an integer, as in the statement; under…
/-- The left-hand side of the stated inequality. The exponent n is an integer, as in the statement; under…: a task in Agentic Prover RL Environments (Harbor dataset). /-- The finite sum ∑ {i=1}^{n-1} x ^ (2 i) appearing under the square root. The index i is an integer and ranges over the finite…
The task
/-- The finite sum `∑_{i=1}^{n-1} x ^ (2 * i)` appearing under the square root. The index `i` is an integer and ranges over the finite interval from `1` to `n - 1`. -/ noncomputable def sumSq (n : ℤ) (x : ℝ) : ℝ := ∑ i ∈ Finset.Icc (1 : ℤ) (n - 1), x ^ (2 * i)
Part of davinci-prover/agentic-prover-RL-env.