Lemma 5 — transition contribution error
ProvedNonstatRL.PerStep.lemma5_transition_termConsider an episode of the paper's nonstationary finite MDP algorithm. Each state has a nonempty finite allowed action set, , , and widening . At the episode start, the local reward and transition estimation-error events hold. The EVI output satisfies its optimistic and near-optimality contract. A transition model with diameter at most has every allowed row in the widened episode-start transition confidence region. For every allowed state-action pair and round at or after the episode start and before the horizon,
This bounds the transition term used in the per-step regret inequality. Formalization Note The statement covers unvisited pairs. The radius is computed from the episode-start window and the actual number of allowed state-action pairs.
import Mathlib import Definitions.Def_NonstatRL_PerStep_EVIOutput open BanditAlgorithm ENNReal
namespace NonstatRL.PerStep
theorem lemma5_transition_term {S A : ℕ} (hS : 1 < S)
(M : ℕ → FiniteMDP S A) (As : Fin S → Finset (Fin A))
(hAs : ∀ s, (As s).Nonempty) (T : ℕ)
(δ : ℝ) (hδ : 0 < δ ∧ δ < 1) (η : ℝ) (hη : 0 ≤ η)
(W : ℕ) (st : ℕ → Fin S) (ac : ℕ → Fin A) (R : ℕ → ℝ)
(τm t : ℕ) (ht : τm ≤ t ∧ t < T)
(heR : EventR M As T δ st ac R (τm - W) τm)
(heP : EventP M As T δ st ac (τm - W) τm)
(πt : Fin S → Fin A) (rt : Fin S → Fin A → ℝ)
(pt : Fin S → Fin A → Fin S → ℝ) (ρt : ℝ) (γt : Fin S → ℝ)
(hevi : IsEVIOutput As T δ η W τm st ac R πt rt pt ρt γt)
(D : ℝ) (Mw : FiniteMDP S A)
(hw : ∀ s a, a ∈ As s →
(fun s' => (Mw.P s a s' : ℝ)) ∈
Hp As T δ st ac (τm - W) τm η s a)
(hdiam : NonstatRL.Oracle.diameter Mw As ≤ ENNReal.ofReal D)
(s : Fin S) (a : Fin A) (ha : a ∈ As s) :
|(∑ s' : Fin S, pt s a s' * γt s') -
(∑ s' : Fin S, ((M t).P s a s' : ℝ) * γt s')| ≤
2 * D * (varP M As (τm - W) t +
2 * radP As T δ (countPlus st ac (τm - W) τm s a) + η) := by sorry
end NonstatRL.PerStep
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.