Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gauss sum equals a binomial coefficient #70216

Proved
WorkbookCorrected.plus_70216

by Rizwan G Mir · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

∑i=0n−1i=(n2)\sum_{i=0}^{n-1} i = \binom{n}{2}∑i=0n−1​i=(2n​).

Formalization Note: This corrects Lean-Workbook record lean_workbook_plus_70216, which used the deprecated ∑ i in s syntax (parse error under current Mathlib, which requires ∈).

Source: InternLM Lean-Workbook, record lean_workbook_plus_70216 (Apache-2.0).

Preamble
import Mathlib
Formal statement
theorem WorkbookCorrected.plus_70216 (n : ℕ) : (∑ i ∈ Finset.range n, i) = n.choose 2 := by sorry

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me