Functional equation (2), p. 290 — the Principle of Optimality K(ω) = max_{δ₁} {L(ω, δ₁) + P(δ₁) K(T_{δ₁} ω)}
ProvedKarlinDP.Deterministic.principle_of_optimalityIn Karlin's deterministic model ( Hausdorff, nonempty compact Hausdorff, continuous on , continuous, continuous, ), suppose that for every initial state the partial sums (1) of converge uniformly in . Let be the optimal return. Then for every
and the maximum over is attained.
This is the "Principle of Optimality": the optimal return from is obtained by choosing the best first decision and continuing optimally from the resulting state. It is the general form of the functional equation used throughout dynamic programming.
Formalization Note is written as the supremum of over all strategies s : ℕ → D; under the hypotheses, is continuous on the compact strategy space, so this supremum is a maximum. The conclusion is IsGreatest: belongs to the set of values , , and bounds it from above. Joint continuity of and nonemptiness of are assumed as in Theorem 1.
import Mathlib import Definitions.Def_KarlinDP_Deterministic_Model
namespace KarlinDP.Deterministic
/-- The functional equation (2), "the Principle of Optimality" (Karlin 1955, p. 290): if the
series (1) converges uniformly in `S` for each `ω`, the optimal return
`K(ω) = max_S Φ(ω, s)` satisfies `K(ω) = max_{δ₁} {L(ω, δ₁) + P(δ₁) K(T_{δ₁} ω)}`, the
maximum over `δ₁` being attained. -/
theorem principle_of_optimality {Ω D : Type*} [TopologicalSpace Ω] [T2Space Ω]
[TopologicalSpace D] [CompactSpace D] [T2Space D] [Nonempty D]
(L : Ω → D → ℝ) (T : D → Ω → Ω) (P : D → ℝ)
(hL0 : ∀ ω δ, 0 ≤ L ω δ) (hL : Continuous (fun p : Ω × D => L p.1 p.2))
(hT : Continuous (fun p : D × Ω => T p.1 p.2))
(hP0 : ∀ δ, 0 < P δ) (hP : Continuous P)
(hunif : ∀ ω, TendstoUniformly (fun k s => partialYield L T P ω s k) (totalYield L T P ω)
Filter.atTop) :
∀ ω, IsGreatest (Set.range fun δ => L ω δ + P δ * optimalReturn L T P (T δ ω))
(optimalReturn L T P ω) := by sorry
end KarlinDP.Deterministic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.