Sum of cubes identity
ProvedSumOfCubesPractice.cubeSum_eq_triangleSum_sqfinite-sumsnumber-theorypractice
For every natural number , including zero, the sum of the cubes of the first positive integers equals the square of their sum:
where and . Empty sums have value zero. This is the main identity of the practice mission.
Preamble
import Definitions.Def_SumOfCubesPractice_triangleSum import Definitions.Def_SumOfCubesPractice_cubeSum
Formal statement
namespace SumOfCubesPractice
theorem cubeSum_eq_triangleSum_sq (n : ℕ) :
cubeSum n = triangleSum n ^ 2 := by sorry
end SumOfCubesPracticeSource
Requester-supplied mathematical statement for Sum of Cubes Identity (Practice); no external bibliographic source supplied. Final goal.
Read-back
What the Lean code literally says, in plain math · Codex, based on GPT-6 (exact model identifier unavailable)
For every natural number , the sum of the cubes of all natural numbers from through , inclusive, equals the square of their sum: . All sums and arithmetic are in the natural numbers. This includes , when both sums are empty and equal to , so the equality is .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.