Proof of Lemma 13, second case — visited transition averages retain one-step reachability
ProvedNonstatRL.NoWidening.visited_average_reachesSuppose the state space has at least two states, every state has an allowed action, the confidence level lies in , and a fixed allowed action sends state to state with probability at least at every time up to the horizon. If has been visited in the window for time , then its average true transition probability satisfies
On the event , the entire averaged row belongs to the unwidened confidence region. These are the two claims in the visited-pair case of Lemma 13.
Formalization Note Times are zero-based, with and window [τm-W,t). The one-time event uses only the condition; positive visit count makes the averaged row a probability distribution. Assumption 2 quantifies over all times .
import Mathlib import Definitions.Def_NonstatRL_PerStep_Window open BanditAlgorithm
namespace NonstatRL.NoWidening
theorem visited_average_reaches {S A : ℕ} (hS : 1 < S)
(M : ℕ → FiniteMDP S A) (As : Fin S → Finset (Fin A))
(hAs : ∀ s, (As s).Nonempty) (T : ℕ)
(δ : ℝ) (hδ : 0 < δ ∧ δ < 1)
(st : ℕ → Fin S) (ac : ℕ → Fin A) (W τm t : ℕ)
(hτ : τm ≤ t) (ht : t < T)
(ζ : ℝ) (hζ : 0 < ζ) (a₂ : Fin S → Fin S → Fin A)
(ha₂ : ∀ s s', a₂ s s' ∈ As s)
(hreach : ∀ q < T, ∀ s s', ζ ≤ ((M q).P s (a₂ s s') s' : ℝ))
(hEp : NonstatRL.PerStep.EventP M As T δ st ac (τm - W) t) :
∀ s s', 0 < NonstatRL.PerStep.count st ac (τm - W) t s (a₂ s s') →
ζ ≤ NonstatRL.PerStep.pBar M st ac (τm - W) t s (a₂ s s') s' ∧
(fun y => NonstatRL.PerStep.pBar M st ac (τm - W) t s (a₂ s s') y) ∈
NonstatRL.PerStep.Hp As T δ st ac (τm - W) t 0 s (a₂ s s') := by sorry
end NonstatRL.NoWidening
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.