Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.10, p. 19 — UCB visitation ratios ρℓ≤4eHℓ\rho_\ell\le4eH\ellρℓ​≤4eHℓ, ρ≤ℓ≤2⋅2ℓeHℓ\rho_{\le\ell}\le2\cdot2^\ell eH\ellρ≤ℓ​≤2⋅2ℓeHℓ and ρ≤ℓ⋆≤4eCHlog⁡2(2C)\rho_{\le\ell_\star}\le4eCH\log_2(2C)ρ≤ℓ⋆​​≤4eCHlog2​(2C)

Proved
CorruptRobustRL.Supervised.lemma4_10_visitation_ratios

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

corruption-robustlayer-schedulep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reinforcement-learningvisitation-ratio

Fix the nominal MDP, a horizon H≥1H\ge1H≥1, ℓmax⁡\ell_{\max}ℓmax​ layers and arbitrary deterministic base policies πℓbase\pi^{\mathrm{base}}_\ellπℓbase​. Let πℓmaster\pi^{\mathrm{master}}_\ellπℓmaster​ and π≤ℓmaster\pi^{\mathrm{master}}_{\le\ell}π≤ℓmaster​ be the conditioned master policies of Definition 4.6. Then, for every layer ℓ∈[ℓmax⁡]\ell\in[\ell_{\max}]ℓ∈[ℓmax​]:

  1. πℓmaster\pi^{\mathrm{master}}_\ellπℓmaster​ has UCB visitation ratio at most 4eHℓ4eH\ell4eHℓ with respect to the UCB policy πℓbase\pi^{\mathrm{base}}_\ellπℓbase​;
  2. π≤ℓmaster\pi^{\mathrm{master}}_{\le\ell}π≤ℓmaster​ has UCB visitation ratio at most 2⋅2ℓeHℓ2\cdot2^\ell eH\ell2⋅2ℓeHℓ with respect to πℓbase\pi^{\mathrm{base}}_\ellπℓbase​;
  3. for every integer CCC with 1≤C≤2ℓmax⁡1\le C\le2^{\ell_{\max}}1≤C≤2ℓmax​ and ℓ⋆=min⁡{ℓ≥1:2ℓ≥C}\ell_\star=\min\{\ell\ge1:2^\ell\ge C\}ℓ⋆​=min{ℓ≥1:2ℓ≥C}, π≤ℓ⋆master\pi^{\mathrm{master}}_{\le\ell_\star}π≤ℓ⋆​master​ has UCB visitation ratio at most
4eCHlog⁡2(2C)4eCH\log_2(2C)4eCHlog2​(2C)

with respect to πℓ⋆base\pi^{\mathrm{base}}_{\ell_\star}πℓ⋆​base​.

These are the constants that Theorem 4.1 multiplies into the bonus sums.

Formalization Note The visitation ratio involves only the policies and the MDP, so the Q-supervisor Tℓ\mathcal T_\ellTℓ​ enters only through its UCB policy πℓbase\pi^{\mathrm{base}}_\ellπℓbase​, which is taken arbitrary. The ratio is required for every schedule prefix, as Definition 4.4 demands for a mixture of deterministic policies; the printed proof bounds the marginal probability P[ℓh=⋯=ℓH=ℓ∣ℓH=ℓ]P[\ell_h=\dots=\ell_H=\ell\mid\ell_H=\ell]P[ℓh​=⋯=ℓH​=ℓ∣ℓH​=ℓ]. The logarithm is base 2: ℓ⋆≤log⁡2(2C)\ell_\star\le\log_2(2C)ℓ⋆​≤log2​(2C) follows from 2ℓ⋆≤2C2^{\ell_\star}\le2C2ℓ⋆​≤2C.

Preamble
import Mathlib
import Definitions.Def_CorruptRobustRL_Supervised_MDP
import Definitions.Def_CorruptRobustRL_Supervised_Supervisor
import Definitions.Def_CorruptRobustRL_Supervised_Algorithm
Formal statement
namespace CorruptRobustRL.Supervised

open Finset QSupervisor

/-- Lemma 4.10 (p. 19): for any base policies, the UCB visitation ratio of `π^master_ℓ` with respect
to the UCB policy `π^base_ℓ` is at most `4eHℓ`, that of `π^master_{≤ℓ}` is at most `2·2^ℓ eHℓ`, and
that of `π^master_{≤ℓ⋆}` is at most `4eCH log₂(2C)`. -/
theorem lemma4_10_visitation_ratios
    {X A : Type} [Fintype X] [DecidableEq X] [Fintype A] [DecidableEq A] [Nonempty A]
    (M : NominalMDP X A) (hM : M.IsNominal) (H ℓmax : ℕ) (hH : 1 ≤ H)
    (base : ℕ → DetPolicy X A) :
    (∀ ℓ, 1 ≤ ℓ → ℓ ≤ ℓmax →
      HasVisitRatio M H (masterEq H ℓmax base ℓ) (base ℓ) (4 * Real.exp 1 * H * ℓ)) ∧
    (∀ ℓ, 1 ≤ ℓ → ℓ ≤ ℓmax →
      HasVisitRatio M H (masterLe H ℓmax base ℓ) (base ℓ) (2 * 2 ^ ℓ * Real.exp 1 * H * ℓ)) ∧
    (∀ C : ℕ, 1 ≤ C → C ≤ 2 ^ ℓmax →
      HasVisitRatio M H (masterLe H ℓmax base (lstar C)) (base (lstar C))
        (4 * Real.exp 1 * C * H * Real.logb 2 (2 * C))) := by sorry

end CorruptRobustRL.Supervised
Source
Lykouris, Simchowitz, Slivkins & Sun, Corruption-robust exploration in episodic reinforcement learning, arXiv:1911.08689v4, p. 19, Lemma 4.10; proof pp. 19–20
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me