Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.7, p. 18 — with valid estimates, both Bellman errors are at most min⁡(3H,2b+max⁡V∈Vh+1(p^−p⋆)⊤V)\min(3H,2b+\max_{V\in\mathcal V_{h+1}}(\hat p-p^\star)^\top V)min(3H,2b+maxV∈Vh+1​​(p^​−p⋆)⊤V), global and subsampled

Proved
CorruptRobustRL.Supervised.lemma4_7_bellman_error_bound

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

bellman-errorbonusp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reinforcement-learningucbvi

Run UCBVI-BASE (Algorithm 2) for the nominal MDP with horizon H≥1H\ge1H≥1, with arbitrary active sets, any action selector, a global model-estimate mgl=(r^gl,p^gl,bgl)\mathfrak m_{\mathrm{gl}}=(\hat r_{\mathrm{gl}},\hat p_{\mathrm{gl}},b_{\mathrm{gl}})mgl​=(r^gl​,p^​gl​,bgl​) and a subsampled one msb=(r^sb,p^sb,bsb)\mathfrak m_{\mathrm{sb}}=(\hat r_{\mathrm{sb}},\hat p_{\mathrm{sb}},b_{\mathrm{sb}})msb​=(r^sb​,p^​sb​,bsb​), both with the tabular ranges, and let T\mathcal TT be the resulting Q-supervisor. If both model-estimates are valid with respect to T\mathcal TT, then for every stage hhh, state xxx and action aaa, with Vh+1={Vˉh+1−Vh+1⋆, Vˉh+1−V‾h+1}\mathcal V_{h+1}=\{\bar V_{h+1}-V^\star_{h+1},\ \bar V_{h+1}-\underline V_{h+1}\}Vh+1​={Vˉh+1​−Vh+1⋆​, Vˉh+1​−V​h+1​},

max⁡(Bell‾h(x,a), Bell‾h(x,a)−Bell‾h(x,a))≤min⁡(3H, 2bgl(x,a)+max⁡V∈Vh+1(p^gl(x,a)−p⋆(x,a))⊤V),\max\big(\overline{\mathbf{Bell}}_h(x,a),\ \overline{\mathbf{Bell}}_h(x,a)-\underline{\mathbf{Bell}}_h(x,a)\big)\le\min\Big(3H,\ 2b_{\mathrm{gl}}(x,a)+\max_{V\in\mathcal V_{h+1}}\big(\hat p_{\mathrm{gl}}(x,a)-p^\star(x,a)\big)^\top V\Big),max(Bellh​(x,a), Bellh​(x,a)−Bell​h​(x,a))≤min(3H, 2bgl​(x,a)+V∈Vh+1​max​(p^​gl​(x,a)−p⋆(x,a))⊤V),

and the same bound holds with (bsb,p^sb)(b_{\mathrm{sb}},\hat p_{\mathrm{sb}})(bsb​,p^​sb​) in place of (bgl,p^gl)(b_{\mathrm{gl}},\hat p_{\mathrm{gl}})(bgl​,p^​gl​).

This converts the Bellman errors of Proposition 4.2 into bonuses plus transition-estimation errors, which are the terms Δ\DeltaΔ of Theorem 4.1.

Formalization Note The Q-supervisor is given as T with the hypothesis T = ucbviSup H act gl sb sel; the statement covers every learner ℓ\ellℓ of SuperVIsed.C, whose Q-supervisor is such a run.

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.7 (p. 18): for a base learner (one run `𝒯` of UCBVI-BASE) whose global and subsampled
model-estimates are valid, `max(Bell̄_h, Bell̄_h − Bell̲_h) ≤ min(3H, 2b + max_{V ∈ 𝒱_{h+1}} (p̂ − p⋆)ᵀ V)`
for each of the two model-estimates, where `𝒱_{h+1} = {V̄_{h+1} − V⋆_{h+1}, V̄_{h+1} − V̲_{h+1}}`. -/
theorem lemma4_7_bellman_error_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)
    (act : ℕ → X → Finset A) (gl sb : ModelEst X A) (sel : Selector A)
    (T : QSupervisor X A) (hTdef : T = ucbviSup H act gl sb sel)
    (hgl : gl.IsModelEst H) (hsb : sb.IsModelEst H)
    (hvgl : gl.IsValid M H T) (hvsb : sb.IsValid M H T) :
    ∀ h < H, ∀ x a,
      max (upperBell M H T h x a) (upperBell M H T h x a - lowerBell M H T h x a) ≤
          min (3 * (H : ℝ)) (2 * gl.b x a +
            max (∑ x', (gl.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vstar M H (h + 1) x'))
                (∑ x', (gl.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vlow H T (h + 1) x'))) ∧
      max (upperBell M H T h x a) (upperBell M H T h x a - lowerBell M H T h x a) ≤
          min (3 * (H : ℝ)) (2 * sb.b x a +
            max (∑ x', (sb.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vstar M H (h + 1) x'))
                (∑ x', (sb.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vlow H T (h + 1) x'))) := by sorry

end CorruptRobustRL.Supervised
Source
Lykouris, Simchowitz, Slivkins & Sun, Corruption-robust exploration in episodic reinforcement learning, arXiv:1911.08689v4, p. 18, Lemma 4.7; proof pp. 18–19
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