n-step expansion (p. 291) — a solution M of (2) equals max over δ₁,…,δₙ of the n-stage yield plus M(ω_{n+1})P_{n+1}(s)
ProvedKarlinDP.Deterministic.solution_nstep_expansionIn Karlin's deterministic model ( Hausdorff, nonempty compact Hausdorff, continuous on , continuous, continuous, , , ), let solve the functional equation
with the maximum attained. Then for every and every
the maximum being attained. The paper writes out the case , where the last term is .
Iterating the functional equation in this way expresses as an -stage optimization problem with terminal reward ; letting is the route to the uniqueness theorem.
Formalization Note The maximum is taken over full strategies s : ℕ → D, of which only s 0, …, s (n-1) (the paper's ) enter the expression. Lean's index gives partialYield … n and trajectory T ω s n , weight P s n . No topological hypothesis is needed for this statement; the model's standing hypotheses are kept as in every item of the mission.
import Mathlib import Definitions.Def_KarlinDP_Deterministic_Model
namespace KarlinDP.Deterministic
/-- The `n`-step expansion of a solution of (2) (Karlin 1955, p. 291, first display, printed for
`n = 2`): if `M(ω) = max_{δ} {L(ω, δ) + P(δ) M(T_δ ω)}` for every `ω`, then for every `n`,
`M(ω) = max_{δ₁,…,δₙ} {∑_{m=1}^{n} L(ω_m, δ_m) P_m(s) + M(ω_{n+1}) P_{n+1}(s)}`.
The range is over full strategies `s`, of which only `s 0, …, s (n-1)` enter. -/
theorem solution_nstep_expansion {Ω 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)
(M : Ω → ℝ)
(hM : ∀ ω, IsGreatest (Set.range fun δ => L ω δ + P δ * M (T δ ω)) (M ω)) :
∀ n ω, IsGreatest
(Set.range fun s : ℕ → D => partialYield L T P ω s n + M (trajectory T ω s n) * weight P s n)
(M ω) := by sorry
end KarlinDP.Deterministic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.