Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.4 — compact sublevel sets U_k(x, λ) give J*_N = T^N(J_0) and a uniformly N-stage optimal policy

Proved
BertsekasShreve.FiniteHorizon.compact_sublevel_uniformly_optimal

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

compactnessdynamic-programmingfinite-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 the Monotonicity Assumption, J0∈FJ_0\in FJ0​∈F with J0(x)>−∞J_0(x)>-\inftyJ0​(x)>−∞ for all xxx, and N≥1N\ge1N≥1. Let the control space CCC be a Hausdorff topological space, and assume that for each x∈Sx\in Sx∈S, λ∈R\lambda\in Rλ∈R and k=0,1,…,N−1k=0,1,\dots,N-1k=0,1,…,N−1 the set

Uk(x,λ)={u∈U(x)∣H[x,u,Tk(J0)]≤λ}U_k(x,\lambda)=\{u\in U(x)\mid H[x,u,T^k(J_0)]\le\lambda\}Uk​(x,λ)={u∈U(x)∣H[x,u,Tk(J0​)]≤λ}

is compact (the empty set counts as compact). Then

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

and there exists a uniformly NNN-stage optimal policy.

This is the standard compactness route to existence of optimal policies in finite-horizon problems, for instance for deterministic problems with continuous data and coercive costs.

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

open Model

/-- Proposition 3.4 (Bertsekas & Shreve 1996, p. 46). Let the control space `C` be a Hausdorff
space and assume that for each `x ∈ S`, `λ ∈ R` and `k = 0, 1, …, N − 1` the set
`U_k(x, λ) = {u ∈ U(x) | H[x, u, T^k(J₀)] ≤ λ}` (eq. (16) of Chapter 3) is compact. Then
`J*_N = T^N(J₀)` and there exists a uniformly `N`-stage optimal policy. -/
theorem compact_sublevel_uniformly_optimal {S C : Type*} [TopologicalSpace C] [T2Space C]
    (m : Model S C) (J₀ : S → EReal) (hJ₀ : ∀ x, J₀ x ≠ ⊥) (N : ℕ) (hN : 1 ≤ N)
    (hcpt : ∀ x (lam : ℝ) (k : ℕ), k < N →
      IsCompact {u | u ∈ m.U x ∧ m.H x u (m.T^[k] J₀) ≤ (lam : EReal)}) :
    m.optCostN J₀ N = m.T^[N] J₀ ∧ ∃ π : m.Policy, m.IsUniformlyNStageOptimal J₀ N π := by sorry

end BertsekasShreve.FiniteHorizon
Source
Bertsekas & Shreve, Stochastic Optimal Control: The Discrete-Time Case, Athena Scientific 1996, p. 46, Proposition 3.4, eq. (16) of Chapter 3
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