Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter X, Theorem 4 — stability: ∣f−F∣≤∑n≥0Δ(knc)|f-F|\le\sum_{n\ge0}\Delta(k^nc)∣f−F∣≤∑n≥0​Δ(knc)

Proved
BellmanDP.Games.stability_estimate

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

dynamic-programmingfunctional-equationsgame-theoryp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1

Let two multi-stage games share all their data except the single-stage return, RRR in the first and R′R'R′ in the second, and let both satisfy the hypotheses of Theorem 1 of Chapter X with the same constant kkk. Let fff and FFF be the solutions of

f(P,P′)=max⁡Gmin⁡G′∬[R(u,v)+h(P,P′;u,v)f(T,T′)] dG dG′=min⁡G′max⁡G[ ⋯ ],f(P,P')=\max_G\min_{G'}\iint\big[R(u,v)+h(P,P';u,v)f(T,T')\big]\,dG\,dG'=\min_{G'}\max_G[\ \cdots\ ],f(P,P′)=Gmax​G′min​∬[R(u,v)+h(P,P′;u,v)f(T,T′)]dGdG′=G′min​Gmax​[ ⋯ ], F(P,P′)=max⁡Gmin⁡G′∬[R′(u,v)+h(P,P′;u,v)F(T,T′)] dG dG′=min⁡G′max⁡G[ ⋯ ]F(P,P')=\max_G\min_{G'}\iint\big[R'(u,v)+h(P,P';u,v)F(T,T')\big]\,dG\,dG'=\min_{G'}\max_G[\ \cdots\ ]F(P,P′)=Gmax​G′min​∬[R′(u,v)+h(P,P′;u,v)F(T,T′)]dGdG′=G′min​Gmax​[ ⋯ ]

in the class of Theorem 1. With

Δ(c)=max⁡∥P∥+∥P′∥≤c max⁡u∈S, v∈S′∣R(u,v)−R′(u,v)∣,\Delta(c)=\max_{\|P\|+\|P'\|\le c}\ \max_{u\in S,\,v\in S'}|R(u,v)-R'(u,v)|,Δ(c)=∥P∥+∥P′∥≤cmax​ u∈S,v∈S′max​∣R(u,v)−R′(u,v)∣,

the solutions satisfy, for ∥P∥+∥P′∥≤c\|P\|+\|P'\|\le c∥P∥+∥P′∥≤c,

∣f(P,P′)−F(P,P′)∣≤∑n=0∞Δ(knc).|f(P,P')-F(P,P')|\le\sum_{n=0}^{\infty}\Delta(k^nc).∣f(P,P′)−F(P,P′)∣≤n=0∑∞​Δ(knc).

The estimate shows that the solution depends continuously on the single-stage return.

Formalization Note The maximum Δ\DeltaΔ is replaced by an arbitrary majorant Δ′\Delta'Δ′ of ∣R−R′∣|R-R'|∣R−R′∣ on the regions ∥P∥+∥P′∥≤c\|P\|+\|P'\|\le c∥P∥+∥P′∥≤c for which ∑nΔ′(knc)\sum_n\Delta'(k^nc)∑n​Δ′(knc) converges. The book's Δ\DeltaΔ is such a majorant, and a bound for every majorant is equivalent to the bound for Δ\DeltaΔ. The book leaves ccc unspecified; it is any c≥∥P∥+∥P′∥c\ge\|P\|+\|P'\|c≥∥P∥+∥P′∥. Bellman prints the min-max of the first equation with the subscripts GGG, G′G'G′ interchanged (p. 301); the equation used is that of Theorem 1.

Preamble
import Mathlib
import Definitions.Def_BellmanDP_Games_MultiStage
Formal statement
namespace BellmanDP.Games

/-- Bellman, *Dynamic Programming*, Ch. X, Theorem 4, pp. 301–302 (stability). Let the games `g`
(return `R`) and `g'` (the same data with return `R'`) both satisfy the hypotheses of Theorem 1
with the same `k`, and let `f`, `F` be the solutions of the corresponding equations (16.2) in the
class of Theorem 1. With
`Δ(c) = Max_{‖P‖ + ‖P'‖ ≤ c} Max_{u ∈ S, v ∈ S'} |R(u, v) − R'(u, v)|`,
`|f(P, P') − F(P, P')| ≤ Σ_{n=0}^∞ Δ(kⁿ c)` for `c ≥ ‖P‖ + ‖P'‖`. The maximum `Δ` is expressed
through a majorant: the bound holds for every `Δ'` dominating `|R − R'|` on the regions
`‖P‖ + ‖P'‖ ≤ c` with `Σ_n Δ'(kⁿ c)` convergent. -/
theorem stability_estimate {n n' m m' : ℕ} (g : GameData n n' m m') (R' : Vec m → Vec m' → ℝ)
    (k : ℝ) (hg : GameHyp g k) (hg' : GameHyp { g with R := R' } k)
    (f F : Vec n → Vec n' → ℝ) (hf : InSolutionClass g f) (hfs : IsGameSolution g f)
    (hF : InSolutionClass { g with R := R' } F) (hFs : IsGameSolution { g with R := R' } F)
    (Δ : ℝ → ℝ)
    (hΔ : ∀ c : ℝ, ∀ P ∈ g.D, ∀ P' ∈ g.D', l1norm P + l1norm P' ≤ c →
      ∀ u ∈ (g.S P P' : Set (Vec m)), ∀ v ∈ (g.S' P P' : Set (Vec m')), |g.R u v - R' u v| ≤ Δ c)
    (P : Vec n) (hP : P ∈ g.D) (P' : Vec n') (hP' : P' ∈ g.D') (c : ℝ)
    (hc : l1norm P + l1norm P' ≤ c) (hsum : Summable (fun j : ℕ => Δ (k ^ j * c))) :
    |f P P' - F P P'| ≤ ∑' j : ℕ, Δ (k ^ j * c) := by sorry

end BellmanDP.Games
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter X, § 16, Theorem 4, pp. 301-302
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