A triple evaluation of a linear recurrence
ProvedWorkbookSource.problem_29531lean-workbooksource-checked
Find given and .
Source: InternLM Lean-Workbook, record lean_workbook_29531 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_29531 (f : ℤ → ℤ) (h₁ : ∀ x, f x = f (x - 1) + 4) (h₂ : f 0 = 3) : f (f (f 5)) = 383 := by sorry
Source