Bounded sample-path regret implies long-run average optimality (block argument)
ProvedPerishShip.Waste.avg_optimal_of_pathwise_regretConsider a controlled Markov process on a countable state space with actions in , driven by i.i.d. shocks with law on a countable set : from state under action and shock the next state is and the period cost is . For a (time-dependent, deterministic) Markov policy and initial state write and for the upper and lower limits of the Cesàro averages .
Let be a stationary decision rule, a Markov policy, and . Assume
- and is closed under : for all and all shocks ;
- the costs of on are bounded by a finite constant ;
- (bounded sample-path regret) there is a finite constant such that for every shock sequence , every starting state and every horizon , the cost accumulated by started at along that shock sequence is at most the cost accumulated by started at along the same shock sequence, plus :
where , and , .
Then
The point of the hypothesis is that may be compared with from a different starting state: this is what converts a sample-path comparison with an additive constant into a comparison of an upper limit with a lower limit, which fails for comparisons from the same initial state only. The lemma is the probabilistic half of the proof that shipping oldest first in full minimizes the long-run average warehouse waste (Theorem 1 of Akkaş–Honhon); the combinatorial half is the sample-path regret bound for that policy.
Formalization Note The process law, expected period cost and Cesàro limits are those of Def_PerishShip_Waste_AverageMDP (controlledStateLaw, controlledAvgUpper, controlledAvgLower), valued in ℝ≥0∞. Sample paths are given as arbitrary functions satisfying the recursions.
import Mathlib import Definitions.Def_PerishShip_Waste_AverageMDP
namespace PerishShip.Waste
/-- Average optimality from a bounded sample-path regret (block argument). -/
theorem avg_optimal_of_pathwise_regret {S A Ω : Type} [Countable S] [Countable Ω]
(demand : PMF Ω) (step : S → A → Ω → S) (cost : S → A → Ω → ENNReal)
(f : S → A) (σ : MarkovPolicy S A) (s₀ : S) (F : Set S) (B C : ENNReal)
(hB : B ≠ ⊤) (hC : C ≠ ⊤) (hs₀ : s₀ ∈ F)
(hF : ∀ s ∈ F, ∀ ω, step s (f s) ω ∈ F)
(hcost : ∀ s ∈ F, ∀ ω, cost s (f s) ω ≤ B)
(hpath : ∀ (w : ℕ → Ω) (x : S), x ∈ F → ∀ (u v : ℕ → S), u 0 = x → v 0 = s₀ →
(∀ t, u (t + 1) = step (u t) (f (u t)) (w t)) →
(∀ t, v (t + 1) = step (v t) (σ t (v t)) (w t)) →
∀ T, ∑ t ∈ Finset.range T, cost (u t) (f (u t)) (w t) ≤
∑ t ∈ Finset.range T, cost (v t) (σ t (v t)) (w t) + C) :
controlledAvgUpper demand step cost (fun _ => f) s₀ ≤
controlledAvgLower demand step cost σ s₀ := by sorry
end PerishShip.Waste