Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter I, § 22 — every length below Fn−1+Fn−2F_{n-1} + F_{n-2}Fn−1​+Fn−2​ is searchable with nnn evaluations

Proved
BellmanDP.Fibonacci.lengths_below_attainable

by mikedeng1 · Oct 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingfibonacci-searchp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1search

Let n≥2n \ge 2n≥2 and 0<L<Fn−1+Fn−20 < L < F_{n-1} + F_{n-2}0<L<Fn−1​+Fn−2​. Then there is a deterministic adaptive procedure that, for every function fff strictly unimodal on [0,L][0, L][0,L], evaluates fff at most nnn times and announces an interval of length at most 111 containing the maximizer of fff; that is,

L∈Ln.L \in \mathcal L_n .L∈Ln​.

Together with (22.3) this gives sup⁡Ln=Fn−1+Fn−2\sup \mathcal L_n = F_{n-1} + F_{n-2}supLn​=Fn−1​+Fn−2​: the Fibonacci search, which places the first two points close to Fn−2F_{n-2}Fn−2​ and Fn−1F_{n-1}Fn−1​ and reuses the surviving point at every later step, achieves the bound.

Formalization Note The natural-number subtractions n−1n - 1n−1, n−2n - 2n−2 are exact because n≥2n \ge 2n≥2.

Preamble
import Mathlib
import Definitions.Def_BellmanDP_Fibonacci_SearchModel
Formal statement
namespace BellmanDP.Fibonacci

/-- Bellman, Ch. I, § 22, proof of Theorem 11, p. 36: choosing `L_n`, `x₁`, `x₂` arbitrarily close
to their upper bounds gives `F_n = F_{n−1} + F_{n−2}`: for `n ≥ 2`, every length
`0 < L < F_{n−1} + F_{n−2}` admits a procedure that always locates the maximum within unit length
using at most `n` evaluations. -/
theorem lengths_below_attainable (n : ℕ) (hn : 2 ≤ n) (L : ℝ) (hL0 : 0 < L)
    (hL : L < (bookFib (n - 1) : ℝ) + bookFib (n - 2)) :
    L ∈ feasibleLengths n := 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, proof of Theorem 11, p. 36
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me