Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4.2, p. 15 (positive parts) — UCB visitation ratio ≤ρ\le\rho≤ρ gives V⋆−Vπ≤ρ(1+H) Eπ[∑h(Bellman errors)+]V^\star-V^\pi\le\rho(1+H)\,E^\pi[\sum_h(\text{Bellman errors})_+]V⋆−Vπ≤ρ(1+H)Eπ[∑h​(Bellman errors)+​]

Proved
CorruptRobustRL.Supervised.proposition4_2_visitation_ratio_bound

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

bellman-errorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1q-supervisorreinforcement-learningvisitation-ratio

Let T=(Qˉ,Q‾,A,πucb)\mathcal T=(\bar Q,\underline Q,\mathcal A,\pi^{\mathrm{ucb}})T=(Qˉ​,Q​,A,πucb) be a confidence-admissible Q-supervisor for the nominal MDP with horizon H≥1H\ge1H≥1, and let π\piπ be a randomized Markovian policy that is Q-supervised by T\mathcal TT and has UCB visitation ratio at most ρ\rhoρ with respect to T\mathcal TT. Then

V⋆−Vπ≤ρ (1+H) Eπ[∑h=1Hmax⁡(0, Bell‾h(xh,ah), Bell‾h(xh,ah)−Bell‾h(xh,ah))].V^\star-V^{\pi}\le\rho\,(1+H)\,E^{\pi}\Big[\sum_{h=1}^H\max\big(0,\ \overline{\mathbf{Bell}}_h(x_h,a_h),\ \overline{\mathbf{Bell}}_h(x_h,a_h)-\underline{\mathbf{Bell}}_h(x_h,a_h)\big)\Big].V⋆−Vπ≤ρ(1+H)Eπ[h=1∑H​max(0, Bellh​(xh​,ah​), Bellh​(xh​,ah​)−Bell​h​(xh​,ah​))].

The visitation ratio moves the expectations over fictitious trajectories in Proposition 4.1 back to the trajectories of π\piπ itself, so the regret of π\piπ is controlled by its own Bellman errors.

Formalization Note The page prints Eπ[max⁡(∑hBell‾h,∑hBell‾h−Bell‾h)]E^\pi[\max(\sum_h\overline{\mathbf{Bell}}_h,\sum_h\overline{\mathbf{Bell}}_h-\underline{\mathbf{Bell}}_h)]Eπ[max(∑h​Bellh​,∑h​Bellh​−Bell​h​)] and gives no proof. Bellman errors can be negative (as the page notes right after the statement), and the change of measure through the visitation ratio needs a nonnegative integrand. As printed, the inequality fails on small admissible instances (646 violations among 22,107 random instances with H,∣X∣,∣A∣≤3H,|\mathcal X|,|\mathcal A|\le3H,∣X∣,∣A∣≤3, all with a negative right-hand side). The Lean statement uses the per-stage positive part, the form that follows from Proposition 4.1 because ρ≥1\rho\ge1ρ≥1.

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

/-- Proposition 4.2 (p. 15), with positive parts: for a confidence-admissible Q-supervisor `𝒯` and
a `𝒯`-supervised randomized Markovian policy `π` of UCB visitation ratio at most `ρ`,
`V⋆ − V^π ≤ ρ (1 + H) E^π[Σ_h max(0, Bell̄_h, Bell̄_h − Bell̲_h)]`. -/
theorem proposition4_2_visitation_ratio_bound
    {X A : Type} [Fintype X] [DecidableEq X] [Fintype A] [DecidableEq A] [Nonempty A]
    (M : NominalMDP X A) (hM : M.IsNominal) (H : ℕ) (hH : 1 ≤ H)
    (T : QSupervisor X A) (hT : T.IsQSupervisor H) (hadm : IsAdmissible M H T)
    (π : Mixture X A) (hπ : π.IsMixture) (hsup : IsQSupervised H π T)
    (ρ : ℝ) (hρ : HasVisitRatio M H π T.ucb ρ) :
    Vstar0 M H - mixValue M H π ≤
      ρ * (1 + H) * mixExpect M H π
        (fun h x a => max 0 (max (upperBell M H T h x a)
          (upperBell M H T h x a - lowerBell M H T h x a))) := by sorry

end CorruptRobustRL.Supervised
Source
Lykouris, Simchowitz, Slivkins & Sun, Corruption-robust exploration in episodic reinforcement learning, arXiv:1911.08689v4, p. 15, Proposition 4.2 (with positive parts; follows from Proposition 4.1)
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