Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Relation (16) — F̂(x, 0, M) = M and F̂ = max(M, maxᵢ LᵢF̂)

Proved
WhittleGittins.Retirement.relation16_dp_equation

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

bandit-algorithmsdynamic-programminggittins-indexp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In Whittle's bandit process with per-project horizons sss, let F^(x,s,M)\hat F(x, s, M)F^(x,s,M) be defined by (13) and LiF^L_i\hat FLi​F^ by the extended operator (15). Then F^(x,0,M)=M\hat F(x, 0, M) = MF^(x,0,M)=M, and F^\hat FF^ satisfies the dynamic programming equation

F^=max⁡(M, max⁡iLiF^),(16)\hat F = \max\big(M,\ \max_i L_i \hat F\big), \qquad (16)F^=max(M, imax​Li​F^),(16)

where the inner maximum runs over the projects iii with si>0s_i > 0si​>0, and F^=M\hat F = MF^=M when no project can be operated.

Since LiL_iLi​ lowers ∑jsj\sum_j s_j∑j​sj​ by one, (16) is recursive in sss; together with the base case it identifies F^\hat FF^ with the maximal reward FFF by induction, which is the first half of Theorem 1.

Formalization Note The maximum over iii is restricted to active projects, since a project with si=0s_i = 0si​=0 may not be operated; when none is active the right-hand side is MMM. Projects are indexed by Fin N.

Preamble
import Mathlib
import Definitions.Def_WhittleGittins_Retirement_BanditProcess
Formal statement
namespace WhittleGittins.Retirement

open MeasureTheory ProbabilityTheory

/-- Relation (16) (p. 147) with the base case: `F̂(x, 0, M) = M`, and `F̂` satisfies the dynamic
programming equation `F̂ = max(M, maxᵢ Lᵢ F̂)`, the inner maximum over the active projects (and
`F̂ = M` when no project is active). -/
theorem relation16_dp_equation {N : ℕ} {X : Fin N → Type*} [∀ i, MeasurableSpace (X i)]
    (B : BanditProcess N X) (x : ∀ j, X j) (M : ℝ) :
    Fhat B x 0 M = M ∧
      ∀ s : Fin N → ℕ, Fhat B x s M = bellmanMax s M (fun i => LFhat B i x s M) := by sorry

end WhittleGittins.Retirement
Source
Whittle, Multi-armed Bandits and the Gittins Index, J. R. Statist. Soc. B 42 (1980), pp. 147–148 (PDF 5–6), Section 4, relation (16) and the base case F̂(x, 0, M) = M
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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