Chapter I, Eqs. (22.5)–(22.6) — explicit formula for and
ProvedBellmanDP.Fibonacci.binet_formuladynamic-programmingfibonacci-searchp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1
Let , for , and
Then for every
and
The ratio limit is what justifies the golden-section rule Bellman mentions: for large the first two evaluation points sit at distance from either end of the interval.
Preamble
import Mathlib import Definitions.Def_BellmanDP_Fibonacci_SearchModel
Formal statement
namespace BellmanDP.Fibonacci
open Filter Topology
/-- Bellman, Ch. I, § 22, Eqs. (22.5)–(22.6), p. 36: with `r₁ = (1 + √5)/2` and `r₂ = (1 − √5)/2`,
`F_n = ((r₂ − 1)/(r₂ − r₁)) r₁ⁿ + ((1 − r₁)/(r₂ − r₁)) r₂ⁿ` for every `n`; and
`F_{n+1}/F_n → r₁` as `n → ∞`. -/
theorem binet_formula :
(∀ n : ℕ, (bookFib n : ℝ) =
((1 - Real.sqrt 5) / 2 - 1) / ((1 - Real.sqrt 5) / 2 - (1 + Real.sqrt 5) / 2) *
((1 + Real.sqrt 5) / 2) ^ n +
(1 - (1 + Real.sqrt 5) / 2) / ((1 - Real.sqrt 5) / 2 - (1 + Real.sqrt 5) / 2) *
((1 - Real.sqrt 5) / 2) ^ n) ∧
Tendsto (fun n : ℕ => (bookFib (n + 1) : ℝ) / bookFib n) atTop
(𝓝 ((1 + Real.sqrt 5) / 2)) := by sorry
end BellmanDP.Fibonacci
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter I, § 22, Eqs. (22.5)-(22.6) and the sentence following them, p. 36
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.