Lemma 3 — drift from a visited-pair window average
ProvedNonstatRL.PerStep.lemma3_drift_from_window_averagemdpnon-stationaryp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sliding-window
Consider an episode starting at and a later round . At any allowed state-action pair visited at least once during the episode-start window, the reward and transition averages from that window differ from their round- values by at most the accumulated variation:
The lemma converts temporal drift into estimator error for visited pairs. Formalization Note The paper states the claim for every pair, but its zero-at-unvisited convention makes that false. The positive visit count is an explicit pin. The average is over actual visits, not a uniform average of window times.
Preamble
import Mathlib import Definitions.Def_NonstatRL_PerStep_Window open BanditAlgorithm
Formal statement
namespace NonstatRL.PerStep
theorem lemma3_drift_from_window_average {S A : ℕ}
(M : ℕ → FiniteMDP S A) (As : Fin S → Finset (Fin A))
(st : ℕ → Fin S) (ac : ℕ → Fin A) (W τm t T : ℕ)
(ht : τm ≤ t ∧ t < T) (s : Fin S) (a : Fin A) (ha : a ∈ As s)
(hcount : 0 < count st ac (τm - W) τm s a) :
|(M t).r s a - rBar M st ac (τm - W) τm s a| ≤
varR M As (τm - W) t ∧
(∑ s' : Fin S,
|((M t).P s a s' : ℝ) - pBar M st ac (τm - W) τm s a s'|) ≤
varP M As (τm - W) t := by sorry
end NonstatRL.PerStep
Source
Cheung, Simchi-Levi & Zhu, Non-Stationary Reinforcement Learning: The Blessing of (More) Optimism, arXiv:1906.02922v4, p. 38, Lemma 3 (pinned visit count)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.