Corollary 3.3.1 — a uniformly N-stage optimal policy exists iff the DP infima are attained; then J*_N = T^N(J_0)
ProvedBertsekasShreve.FiniteHorizon.exists_uniformly_optimal_iff_attaineddynamic-programmingfinite-horizonoptimal-policyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1
Let be a model satisfying the Monotonicity Assumption, with for all , and .
- There exists a uniformly -stage optimal policy if and only if the infimum in
is attained for each and , i.e. there is with . 2. If there exists a uniformly -stage optimal policy, then .
Attainment of the minimum in the DP recursion is therefore exactly what is needed to build a uniformly optimal policy, and it already forces the DP algorithm to give the optimal cost.
Preamble
import Mathlib import Definitions.Def_BertsekasShreve_FiniteHorizon_Model import Definitions.Def_BertsekasShreve_FiniteHorizon_Problem
Formal statement
namespace BertsekasShreve.FiniteHorizon
open Model
/-- Corollary 3.3.1 (Bertsekas & Shreve 1996, p. 45).
(a) A uniformly `N`-stage optimal policy exists if and only if the infimum in
`T^{k+1}(J₀)(x) = inf_{u ∈ U(x)} H[x, u, T^k(J₀)]` (eq. (15) of Chapter 3) is attained for each
`x ∈ S` and `k = 0, 1, …, N − 1`.
(b) If a uniformly `N`-stage optimal policy exists, then `J*_N = T^N(J₀)`. -/
theorem exists_uniformly_optimal_iff_attained {S C : Type*} (m : Model S C) (J₀ : S → EReal)
(hJ₀ : ∀ x, J₀ x ≠ ⊥) (N : ℕ) (hN : 1 ≤ N) :
((∃ π : m.Policy, m.IsUniformlyNStageOptimal J₀ N π) ↔
∀ x, ∀ k, k < N → ∃ u ∈ m.U x, m.H x u (m.T^[k] J₀) = m.T^[k + 1] J₀ x) ∧
((∃ π : m.Policy, m.IsUniformlyNStageOptimal J₀ N π) →
m.optCostN J₀ N = m.T^[N] J₀) := by sorry
end BertsekasShreve.FiniteHorizon
Source
Bertsekas & Shreve, Stochastic Optimal Control: The Discrete-Time Case, Athena Scientific 1996, p. 45, Corollary 3.3.1, eq. (15) of Chapter 3
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.