lean_workbook_plus_8439
ProvedHence .Now , and an easy induction gives for all positive integers .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_8439 (m : ℕ) (f : ℕ → ℕ) (h₀ : ∀ m, f (m + 1) = f m + m + 1) (h₁ : f 1 = 1) : f m = m * (m + 1) / 2 := by sorry
Source