Proposition 1, p. 8 — oracle sum bounds every policy’s expected reward
ProvedNonstatRL.Oracle.proposition1_oracle_gapConsider a horizon of rounds of a nonstationary finite MDP. Each state has an available action, each stationary MDP has diameter at most , and are the reward and transition variation budgets of (1). Put . Assume the paper's and the additional condition . Then for every initial state and every allowed non-anticipatory policy,
Thus the sum of stationary optimal gains bounds the best achievable expected cumulative reward, up to the stated drift term. The expectation integrates mean rewards under time-dependent transitions.
Formalization Note The extra condition repairs a small-budget counterexample to the printed Proposition 1: with two states, one action per state, a slowly returning second state, and , the printed right side is close to while the oracle sum is about . The proof's window selection needs an integer in , which requires this lower bound. Paper time is Lean index . Policies are randomized kernels on state–action histories; conditioning a reward-aware policy on that history produces the same trajectory law. The state set and every allowed-action set are nonempty. The gain is exactly the occupancy-LP value, and the diameter is an extended nonnegative value that includes return times.
import Mathlib import Definitions.Def_FiniteMDPLearning import Definitions.Def_NonstatRL_Oracle_Model import Definitions.Def_NonstatRL_Oracle_Trajectory open BanditAlgorithm ENNReal MeasureTheory
namespace NonstatRL.Oracle
/-- Proposition 1, p. 8, with the necessary small-budget pin BT ≥ 1. -/
theorem proposition1_oracle_gap {S A : ℕ} (M : ℕ → FiniteMDP S A)
(As : Fin S → Finset (Fin A)) (hS : 0 < S)
(hAs : ∀ s, (As s).Nonempty) (T : ℕ) (Dmax : ℝ)
(hD : ∀ u, u < T → diameter (M u) As ≤ ENNReal.ofReal Dmax)
(hBudget : rewardBudget M As T + 2 * Dmax * transBudget M As T ≤ (T : ℝ))
(hPos : 0 < rewardBudget M As T + 2 * Dmax * transBudget M As T)
(hPin : 1 ≤ (rewardBudget M As T + 2 * Dmax * transBudget M As T) * (T : ℝ))
(s₁ : Fin S) (π : MDPPolicy S A) (hπ : IsAllowedPolicy As π) :
expectedReward M s₁ π T -
4 * (Dmax + 1) *
Real.sqrt ((rewardBudget M As T + 2 * Dmax * transBudget M As T) * T) ≤
∑ t ∈ Finset.range T, optGain (M t) As := by sorry
end NonstatRL.Oracle
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.