`BookProof.ChapterEulerNState.tailSum_last` (p : ℕ → ℝ) {n : ℕ} (hn : 1 ≤ n) : tailSum p n (n - 1) = p (n - 1)
ProvedBookProof.ChapterEulerNState.tailSum_lasttheoremstimepiece
Prove the following Lean 4 theorem from ChapterEulerNState.
BookProof.ChapterEulerNState.tailSum_last (p : ℕ → ℝ) {n : ℕ} (hn : 1 ≤ n) : tailSum p n (n - 1) = p (n - 1)
Formalization note: Lean 4 identifier BookProof.ChapterEulerNState.tailSum_last.
Preamble
-- Generated from ChapterEulerNState.lean — theorem BookProof.ChapterEulerNState.tailSum_last import Mathlib import Definitions.Def_ChapterEulerNState open BookProof.ChapterEulerNState open scoped BigOperators
Formal statement
theorem BookProof.ChapterEulerNState.tailSum_last (p : ℕ → ℝ) {n : ℕ} (hn : 1 ≤ n) :
tailSum p n (n - 1) = p (n - 1) := by sorry