Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter I, Eq. (22.3) — Ln<Fn−1+Fn−2L_n < F_{n-1} + F_{n-2}Ln​<Fn−1​+Fn−2​ for every searchable length

Proved
BellmanDP.Fibonacci.upper_bound_recursion

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 let L>0L > 0L>0 be a length such that some deterministic adaptive procedure, evaluating a strictly unimodal function fff on [0,L][0, L][0,L] at most nnn times, always announces an interval of length at most 111 containing the maximizer of fff. Then

L<Fn−1+Fn−2,L < F_{n-1} + F_{n-2},L<Fn−1​+Fn−2​,

where F0=F1=1F_0 = F_1 = 1F0​=F1​=1, Fk=Fk−1+Fk−2F_k = F_{k-1} + F_{k-2}Fk​=Fk−1​+Fk−2​. In particular sup⁡Ln≤Fn−1+Fn−2\sup \mathcal L_n \le F_{n-1} + F_{n-2}supLn​≤Fn−1​+Fn−2​, which is Bellman's inequality (22.3).

This is the optimality half of Theorem 11: no search procedure, however adaptive, does better than the Fibonacci recursion allows.

Formalization Note Bellman proves (3) by induction on nnn, assuming Theorem 11 for smaller indices; the statement here is the unconditional conclusion, for every n≥2n \ge 2n≥2. The subtractions n−1n - 1n−1, n−2n - 2n−2 are on natural numbers and 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, Eq. (22.3), pp. 35–36: `F_n ≤ F_{n−1} + F_{n−2}`, in the form the proof
establishes it ("in all cases `L_n < F_{n−1} + F_{n−2}`"): for `n ≥ 2`, every interval length on
which `n` evaluations always locate the maximum within unit length is strictly less than
`F_{n−1} + F_{n−2}`. -/
theorem upper_bound_recursion (n : ℕ) (hn : 2 ≤ n) (L : ℝ) (hL : L ∈ feasibleLengths n) :
    L < (bookFib (n - 1) : ℝ) + bookFib (n - 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, Eq. (22.3), pp. 35-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