The closed form of a halving recurrence
ProvedWorkbookSource.problem_39600lean-workbooksource-checked
Prove by induction that .
Source: InternLM Lean-Workbook, record lean_workbook_39600 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_39600 (y : ℕ → ℝ) (n : ℕ) (h₁ : y 0 = 3/2) (h₂ : ∀ n, y (n+1) = (y n)/2) : y n = 3 / 2 ^ (n + 1) := by sorry
Source