Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 3.7.1(a) — finite-horizon minimax control: J*_N = T^N(0) and N-stage ε-optimal policies exist

Proved
BertsekasShreve.FiniteHorizon.minimax_dp_eps_optimal

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

dynamic-programmingepsilon-optimalminimaxp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let (S,C,U,H)(S,C,U,H)(S,C,U,H) be a model whose mapping is the minimax mapping (34) of Section 2.3.5, with W(x,u)≠∅W(x,u)\ne\emptysetW(x,u)=∅ for x∈Sx\in Sx∈S, u∈U(x)u\in U(x)u∈U(x) and α>0\alpha>0α>0, and let J0(x)=0J_0(x)=0J0​(x)=0 for all x∈Sx\in Sx∈S. Let N≥1N\ge1N≥1. If Jk∗(x)>−∞J^*_k(x)>-\inftyJk∗​(x)>−∞ for all x∈Sx\in Sx∈S and k=1,2,…,Nk=1,2,\dots,Nk=1,2,…,N, then

JN∗=TN(J0),J^*_N=T^N(J_0),JN∗​=TN(J0​),

and for each ε>0\varepsilon>0ε>0 there exists an NNN-stage ε\varepsilonε-optimal policy.

This is the finite-horizon minimax control problem (equivalently, a sequential zero-sum game against nature) solved by the dynamic programming recursion.

Formalization Note Only part (a) of the corollary is stated; part (b) says that Propositions 3.3, 3.4 and Corollary 3.3.1 apply, which needs no separate statement since those results hold for every model.

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

open Model

/-- Corollary 3.7.1(a) (Bertsekas & Shreve 1996, p. 51). Let `m` be a model whose mapping is the
minimax mapping (34) of Section 2.3.5 (with `W(x, u)` nonempty for `u ∈ U(x)` and `α > 0`), and
let `J₀(x) = 0` for all `x ∈ S`. If `J*_k(x) > −∞` for all `x ∈ S`, `k = 1, 2, …, N`, then
`J*_N = T^N(J₀)`, and for each `ε > 0` there exists an `N`-stage `ε`-optimal policy. -/
theorem minimax_dp_eps_optimal {S C W : Type*} (m : Model S C) (Wset : S → C → Set W)
    (g : S → C → W → EReal) (f : S → C → W → S) (α : ℝ) (hα : 0 < α)
    (hW : ∀ x, ∀ u ∈ m.U x, (Wset x u).Nonempty)
    (hH : m.H = minimaxH Wset g f α) (J₀ : S → EReal) (hJ₀ : J₀ = fun _ => 0)
    (N : ℕ) (hN : 1 ≤ N)
    (hfin : ∀ x (k : ℕ), 1 ≤ k → k ≤ N → m.optCostN J₀ k x ≠ ⊥) :
    m.optCostN J₀ N = m.T^[N] J₀ ∧
      ∀ ε : ℝ, 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. 51, Corollary 3.7.1(a)
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