Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.2 — under F.3, J*_N = T^N(J_0) and nearly optimal policies exist with dominated convergence

Proved
BertsekasShreve.FiniteHorizon.dp_optimal_cost_of_F3

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

dynamic-programmingepsilon-optimalfinite-horizonp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let (S,C,U,H)(S,C,U,H)(S,C,U,H) be a model satisfying Assumption F.3, J0∈FJ_0\in FJ0​∈F with J0(x)>−∞J_0(x)>-\inftyJ0​(x)>−∞ for all xxx, N≥1N\ge1N≥1, and assume Jk,π(x)<∞J_{k,\pi}(x)<\inftyJk,π​(x)<∞ for all x∈Sx\in Sx∈S, π∈Π\pi\in\Piπ∈Π and k=1,…,Nk=1,\dots,Nk=1,…,N. Then:

JN∗=TN(J0);J^*_N=T^N(J_0);JN∗​=TN(J0​);
  1. if {εn}\{\varepsilon_n\}{εn​} is a sequence of positive numbers with εn↓0\varepsilon_n\downarrow0εn​↓0, there exists a sequence of policies {πn}\{\pi_n\}{πn​} exhibiting {εn}\{\varepsilon_n\}{εn​}-dominated convergence to optimality;
  2. if in addition JN∗(x)>−∞J^*_N(x)>-\inftyJN∗​(x)>−∞ for all x∈Sx\in Sx∈S, then for every ε>0\varepsilon>0ε>0 there exists an NNN-stage ε\varepsilonε-optimal policy.

Unlike Proposition 3.1(b), this result allows Jk∗J^*_kJk∗​ to take the value −∞-\infty−∞, and it is the form that applies to the stochastic model of Section 2.3.3.

Formalization Note The book's last sentence says "an ε\varepsilonε-optimal policy"; in this finite-horizon proposition it is the NNN-stage notion (the infinite-horizon cost JπJ_\piJπ​ is not defined under its hypotheses), and that is what is stated. "εn↓0\varepsilon_n\downarrow0εn​↓0" is Antitone ε together with ε n → 0, with εn>0\varepsilon_n>0εn​>0 for every index.

Preamble
import Mathlib
import Definitions.Def_BertsekasShreve_FiniteHorizon_Model
import Definitions.Def_BertsekasShreve_FiniteHorizon_Problem
import Definitions.Def_BertsekasShreve_FiniteHorizon_Assumptions
Formal statement
namespace BertsekasShreve.FiniteHorizon

open Filter Topology Model

/-- Proposition 3.2 (Bertsekas & Shreve 1996, p. 43). Let F.3 hold, `J₀(x) > −∞` for all `x`,
`N ≥ 1`, and `J_{k,π}(x) < ∞` for all `x ∈ S`, `π ∈ Π`, `k = 1, …, N`. Then
`J*_N = T^N(J₀)`; for every sequence of positive numbers `ε_n ↓ 0` there is a sequence of
policies exhibiting `{ε_n}`-dominated convergence to optimality; and if in addition
`J*_N(x) > −∞` for all `x`, then for every `ε > 0` there is an `N`-stage `ε`-optimal policy. -/
theorem dp_optimal_cost_of_F3 {S C : Type*} (m : Model S C) (J₀ : S → EReal)
    (hJ₀ : ∀ x, J₀ x ≠ ⊥) (N : ℕ) (hN : 1 ≤ N) (hF3 : m.AssumptionF3)
    (hfin : ∀ x (π : m.Policy) (k : ℕ), 1 ≤ k → k ≤ N → m.costN J₀ k π x < ⊤) :
    m.optCostN J₀ N = m.T^[N] J₀ ∧
    (∀ ε : ℕ → ℝ, (∀ n, 0 < ε n) → Antitone ε → Tendsto ε atTop (𝓝 0) →
      ∃ πs : ℕ → m.Policy, m.IsDominatedConvergence J₀ N ε πs) ∧
    ((∀ x, m.optCostN J₀ N x ≠ ⊥) →
      ∀ ε : ℝ, 0 < ε → ∃ π : m.Policy, m.IsNStageEpsOptimal J₀ N ε π) := by sorry

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