Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 13, second case — visited transition averages retain one-step reachability

Proved
NonstatRL.NoWidening.visited_average_reaches

by mikedeng1 · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

confidence-regionmdpnon-stationaryp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reachability

Suppose the state space has at least two states, every state has an allowed action, the confidence level lies in 0<δ<10<\delta<10<δ<1, and a fixed allowed action a(s,s′)a_{(s,s')}a(s,s′)​ sends state sss to state s′s's′ with probability at least ζ>0\zeta>0ζ>0 at every time up to the horizon. If (s,a(s,s′))(s,a_{(s,s')})(s,a(s,s′)​) has been visited in the window for time ttt, then its average true transition probability satisfies

pˉt(s′∣s,a(s,s′))≥ζ.\bar p_t(s'\mid s,a_{(s,s')})\ge\zeta.pˉ​t​(s′∣s,a(s,s′)​)≥ζ.

On the event EpE_pEp​, the entire averaged row pˉt(⋅∣s,a(s,s′))\bar p_t(\cdot\mid s,a_{(s,s')})pˉ​t​(⋅∣s,a(s,s′)​) 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 τm≤t<T\tau_m\le t<Tτm​≤t<T and window [τm-W,t). The one-time event EpE_pEp​ uses only the ℓ1\ell_1ℓ1​ condition; positive visit count makes the averaged row a probability distribution. Assumption 2 quantifies over all times q<Tq<Tq<T.

Preamble
import Mathlib
import Definitions.Def_NonstatRL_PerStep_Window

open BanditAlgorithm
Formal statement
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
Source
Cheung, Simchi-Levi & Zhu, Non-Stationary Reinforcement Learning: The Blessing of (More) Optimism, arXiv:1906.02922v4, p. 50, proof of Lemma 13, second case
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me