Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.2 — J∗J^*J∗ is the unique fixed point of TTT in Bˉ\bar BBˉ, and value iteration converges

Proved
BertsekasShreve.Contraction.optimal_cost_unique_fixed_point

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

bellman-equationcontractiondynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1value-iteration

Let Assumption C hold for a model with closed set Bˉ⊆B\bar B\subseteq BBˉ⊆B and scalars m,ρ,αm,\rho,\alpham,ρ,α, and let J∗=inf⁡π∈ΠJπJ^*=\inf_{\pi\in\Pi}J_\piJ∗=infπ∈Π​Jπ​ be the optimal cost function. Then:

  1. J∗J^*J∗ belongs to Bˉ\bar BBˉ and is the unique fixed point of TTT within Bˉ\bar BBˉ:
J∗=T(J∗),J^*=T(J^*),J∗=T(J∗),

and if J′∈BˉJ'\in\bar BJ′∈Bˉ and J′=T(J′)J'=T(J')J′=T(J′) then J′=J∗J'=J^*J′=J∗. Furthermore, if J′∈BˉJ'\in\bar BJ′∈Bˉ satisfies T(J′)≤J′T(J')\le J'T(J′)≤J′ then J∗≤J′J^*\le J'J∗≤J′, while if J′≤T(J′)J'\le T(J')J′≤T(J′) then J′≤J∗J'\le J^*J′≤J∗. 2. For every μ∈M\mu\in Mμ∈M, the cost function JμJ_\muJμ​ of the stationary policy (μ,μ,… )(\mu,\mu,\dots)(μ,μ,…) belongs to Bˉ\bar BBˉ and is the unique fixed point of TμT_\muTμ​ within Bˉ\bar BBˉ. 3. For every J∈BˉJ\in\bar BJ∈Bˉ and μ∈M\mu\in Mμ∈M,

lim⁡N→∞∥TN(J)−J∗∥=0,lim⁡N→∞∥TμN(J)−Jμ∥=0.\lim_{N\to\infty}\|T^N(J)-J^*\|=0,\qquad\lim_{N\to\infty}\|T_\mu^N(J)-J_\mu\|=0.N→∞lim​∥TN(J)−J∗∥=0,N→∞lim​∥TμN​(J)−Jμ​∥=0.

This is the central result of the contraction theory of abstract dynamic programming: Bellman's equation characterizes the optimal cost among all functions of Bˉ\bar BBˉ, and successive approximation from any starting point of Bˉ\bar BBˉ converges to it in the supremum norm.

Formalization Note J∗J^*J∗ is the infimum over all policies, not only stationary ones; it is not defined as a fixed point. "lim⁡N∥TN(J)−J∗∥=0\lim_N\|T^N(J)-J^*\|=0limN​∥TN(J)−J∗∥=0" is stated as: for every ε>0\varepsilon>0ε>0 there is N0N_0N0​ with ∥TN(J)−J∗∥≤ε\|T^N(J)-J^*\|\le\varepsilon∥TN(J)−J∗∥≤ε for all N≥N0N\ge N_0N≥N0​, with SupDistLe for the norm bound.

Preamble
import Mathlib
import Definitions.Def_BertsekasShreve_Contraction_Model
import Definitions.Def_BertsekasShreve_Contraction_AssumptionC
Formal statement
namespace BertsekasShreve.Contraction

open Filter Topology

/-- Proposition 4.2, p. 55. Under Assumption C:
(a) `J* ∈ B̄`, `J* = T(J*)`, and `J*` is the only fixed point of `T` in `B̄`; if `J' ∈ B̄` and
`T(J') ≤ J'` then `J* ≤ J'`, while if `J' ≤ T(J')` then `J' ≤ J*`;
(b) for every `μ ∈ M`, `J_μ ∈ B̄` and `J_μ` is the unique fixed point of `T_μ` in `B̄`;
(c) `‖T^N(J) − J*‖ → 0` and `‖T_μ^N(J) − J_μ‖ → 0` for every `J ∈ B̄`, `μ ∈ M`. -/
theorem optimal_cost_unique_fixed_point {S C : Type*} (P : Model S C) (Bbar : Set (BFun S))
    (m : ℕ) (ρ α : ℝ) (hC : AssumptionC P Bbar m ρ α) :
    ((∃ Js ∈ Bbar, P.Jstar = toF Js) ∧
      P.T P.Jstar = P.Jstar ∧
      (∀ J ∈ Bbar, P.T (toF J) = toF J → toF J = P.Jstar) ∧
      (∀ J ∈ Bbar, P.T (toF J) ≤ toF J → P.Jstar ≤ toF J) ∧
      (∀ J ∈ Bbar, toF J ≤ P.T (toF J) → toF J ≤ P.Jstar)) ∧
    (∀ μ : P.Selector,
      (∃ Jm ∈ Bbar, P.Jmu μ = toF Jm) ∧
      P.Tmu μ (P.Jmu μ) = P.Jmu μ ∧
      (∀ J ∈ Bbar, P.Tmu μ (toF J) = toF J → toF J = P.Jmu μ)) ∧
    ((∀ J ∈ Bbar, ∀ ε : ℝ, 0 < ε → ∃ N₀ : ℕ, ∀ N ≥ N₀,
        SupDistLe (P.T^[N] (toF J)) P.Jstar ε) ∧
      (∀ μ : P.Selector, ∀ J ∈ Bbar, ∀ ε : ℝ, 0 < ε → ∃ N₀ : ℕ, ∀ N ≥ N₀,
        SupDistLe ((P.Tmu μ)^[N] (toF J)) (P.Jmu μ) ε)) := by sorry

end BertsekasShreve.Contraction
Source
Bertsekas & Shreve, Stochastic Optimal Control: The Discrete-Time Case, Athena Scientific 1996, p. 55, Proposition 4.2
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