A strict partial-sum bound for a rational multiplier recurrence
ProvedWorkbookCorrected.plus_15359corrected-formalizationlean-workbooksource-checked
Let be a sequence such that and Prove that for every positive integer we have
Formalization Note: The source starts at a1=1/2 and has a_n=(2n−3)/(2n)a_(n−1) for n≥2. This correction uses the equivalent forward recurrence a_(n+1)=(2n−1)/(2(n+1))a_n for n≥1, real arithmetic, and sums terms1 throughn. The original formalization shifted the initial value and sum without shifting the coefficient correctly.
Source: InternLM Lean-Workbook, record lean_workbook_plus_15359 (Apache-2.0).
Preamble
import Mathlib
Formal statement
theorem WorkbookCorrected.plus_15359 (a : ℕ → ℝ) (h0 : a 1=1/2)
(h : ∀ n : ℕ, 1≤n → a (n+1)=(2*(n:ℝ)-1)/(2*((n:ℝ)+1))*a n) :
∀ n : ℕ, 1≤n → ∑ k ∈ Finset.range n, a (k+1) < 1 := by sorrySource