Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Milestone 1: Twice the triangular sum

Proved
SumOfCubesPractice.triangleSum_twice

by hacv16 · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-sumsnumber-theorypractice

Let nnn be any natural number, including zero, and let triangleSum⁡(n)=∑k=1nk\operatorname{triangleSum}(n)=\sum_{k=1}^{n}ktriangleSum(n)=∑k=1n​k. Then

2triangleSum⁡(n)=n(n+1).2\operatorname{triangleSum}(n)=n(n+1).2triangleSum(n)=n(n+1).

This gives a multiplication-only expression for twice the triangular sum.

Preamble
import Definitions.Def_SumOfCubesPractice_triangleSum
Formal statement
namespace SumOfCubesPractice

theorem triangleSum_twice (n : ℕ) :
    2 * triangleSum n = n * (n + 1) := by sorry

end SumOfCubesPractice
Source
Requester-supplied mathematical statement for Sum of Cubes Identity (Practice); no external bibliographic source supplied. Milestone 1.
Read-back

What the Lean code literally says, in plain math · Codex, based on GPT-6 (exact model identifier unavailable)

For every natural number nnn (including 000), twice the sum of all natural numbers kkk satisfying 1≤k≤n1 \le k \le n1≤k≤n equals n(n+1)n(n+1)n(n+1): 2∑k=1nk=n(n+1)2\sum_{k=1}^{n} k = n(n+1)2∑k=1n​k=n(n+1). The sum and all arithmetic are in the natural numbers; when n=0n=0n=0, the sum is empty and is 000, so both sides are 000.

Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by hacv16 · Oct 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me