Chapter I, Theorem 11 — , the th Fibonacci number
ProvedBellmanDP.Fibonacci.fibonacci_search_optimalLet and for . For let be the set of lengths with the following property: there is a deterministic search procedure, which chooses each evaluation point from the function values observed so far, such that for every function that is strictly unimodal on (strictly increasing up to its maximizer and strictly decreasing after it) the procedure evaluates at most times and announces an interval of length at most that contains . Then, for every ,
This is Kiefer's theorem on the optimality of Fibonacci search, as proved by Bellman: evaluations reduce an interval of uncertainty for the maximizer by at most the factor , and Fibonacci search achieves every factor below it.
Formalization Note Stated as IsLUB (feasibleLengths n) (bookFib n) for every n, including (the book calls a convention; in this model the supremum for is ). The supremum is not attained for , which is why the book writes . In Mathlib's indexing is Nat.fib (n + 1).
import Mathlib import Definitions.Def_BellmanDP_Fibonacci_SearchModel
namespace BellmanDP.Fibonacci
/-- Bellman, *Dynamic Programming*, Ch. I, § 22, Theorem 11, p. 34: `F_n = Sup L_n` is the `n`th
Fibonacci number (`F₀ = F₁ = 1`, `F_n = F_{n−1} + F_{n−2}` for `n ≥ 2`): for every `n`, the least
upper bound of the lengths `L` of intervals `[0, L]` on which `n` adaptively chosen evaluations
always locate the maximum of a strictly unimodal function within a sub-interval of unit length is
`bookFib n`. -/
theorem fibonacci_search_optimal (n : ℕ) :
IsLUB (feasibleLengths n) (bookFib n : ℝ) := by sorry
end BellmanDP.Fibonacci
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.