Lean-Workbook Syntax 69605: The sum of the first n squares
ProvedWorkbookSyntax.plus_69605lean-workbookrepaired-notationsource-checked
For every natural number , .
Source: Lean-Workbook row lean_workbook_plus_69605 (Apache-2.0), original record. This corrected declaration replaces the obsolete finite sum/product binder in with ∈ and restores required imports or namespaces. Ranges, casts, quantifiers, and mathematical expressions are preserved.
Preamble
import Mathlib.Algebra.BigOperators.Intervals
Formal statement
theorem WorkbookSyntax.plus_69605 : ∀ n : ℕ, ∑ i ∈ Finset.range (n + 1), i ^ 2 = n * (n + 1) * (2 * n + 1) / 6 := by sorry
Source