Gauss sum equals a binomial coefficient #70216
ProvedWorkbookCorrected.plus_70216.
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