Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.4, p. 17 — V⋆−Vπmaster=q≤ℓ⋆(V⋆−Vπ≤ℓ⋆master)+∑ℓ>ℓ⋆qℓ(V⋆−Vπℓmaster)V^\star-V^{\pi^{\mathrm{master}}}=q_{\le\ell_\star}(V^\star-V^{\pi^{\mathrm{master}}_{\le\ell_\star}})+\sum_{\ell>\ell_\star}q_\ell(V^\star-V^{\pi^{\mathrm{master}}_\ell})V⋆−Vπmaster=q≤ℓ⋆​​(V⋆−Vπ≤ℓ⋆​master​)+∑ℓ>ℓ⋆​​qℓ​(V⋆−Vπℓmaster​)

Proved
CorruptRobustRL.Supervised.lemma4_4_value_decomposition

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

corruption-robustlayer-schedulep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1regret-decompositionreinforcement-learning

Fix the nominal MDP, a horizon H≥1H\ge1H≥1, a number of layers ℓmax⁡\ell_{\max}ℓmax​ and arbitrary deterministic base policies π1base,…,πℓmax⁡base\pi^{\mathrm{base}}_1,\dots,\pi^{\mathrm{base}}_{\ell_{\max}}π1base​,…,πℓmax​base​. Let πmaster\pi^{\mathrm{master}}πmaster be the master policy driven by the layer schedule Dsched\mathcal D^{\mathrm{sched}}Dsched of (3.3), and πℓmaster\pi^{\mathrm{master}}_\ellπℓmaster​, π≤ℓmaster\pi^{\mathrm{master}}_{\le\ell}π≤ℓmaster​ the master policies conditioned on the final layer ℓH=ℓ\ell_H=\ellℓH​=ℓ and ℓH≤ℓ\ell_H\le\ellℓH​≤ℓ, with qℓ=P[ℓH=ℓ]q_\ell=P[\ell_H=\ell]qℓ​=P[ℓH​=ℓ] and q≤ℓ=P[ℓH≤ℓ]q_{\le\ell}=P[\ell_H\le\ell]q≤ℓ​=P[ℓH​≤ℓ].

For every ℓ⋆∈{1,…,ℓmax⁡}\ell_\star\in\{1,\dots,\ell_{\max}\}ℓ⋆​∈{1,…,ℓmax​},

V⋆−Vπmaster=q≤ℓ⋆(V⋆−Vπ≤ℓ⋆master)+∑ℓ⋆<ℓ≤ℓmax⁡qℓ(V⋆−Vπℓmaster).V^\star-V^{\pi^{\mathrm{master}}}=q_{\le\ell_\star}\big(V^\star-V^{\pi^{\mathrm{master}}_{\le\ell_\star}}\big)+\sum_{\ell_\star<\ell\le\ell_{\max}}q_\ell\big(V^\star-V^{\pi^{\mathrm{master}}_\ell}\big).V⋆−Vπmaster=q≤ℓ⋆​​(V⋆−Vπ≤ℓ⋆​master​)+ℓ⋆​<ℓ≤ℓmax​∑​qℓ​(V⋆−Vπℓmaster​).

This is the law of total probability over the final layer; it splits the per-episode regret into the part charged to the under-robust learners ℓ≤ℓ⋆\ell\le\ell_\starℓ≤ℓ⋆​ and the parts charged to each robust learner ℓ>ℓ⋆\ell>\ell_\starℓ>ℓ⋆​.

Formalization Note The base policies are arbitrary: the identity is a property of the schedule alone.

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

/-- Lemma 4.4 (p. 17): for any `ℓ⋆ ∈ [ℓmax]` (here `lst`) and any base policies,
`V⋆ − V^{π^master} = q_{≤ℓ⋆}(V⋆ − V^{π^master_{≤ℓ⋆}}) + Σ_{ℓ>ℓ⋆} q_ℓ (V⋆ − V^{π^master_ℓ})`. -/
theorem lemma4_4_value_decomposition
    {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) (lst : ℕ) (hlst : 1 ≤ lst) (hlstmax : lst ≤ ℓmax) :
    Vstar0 M H - mixValue M H (master H ℓmax base) =
      qLe H ℓmax lst * (Vstar0 M H - mixValue M H (masterLe H ℓmax base lst)) +
        ∑ ℓ ∈ Ioc lst ℓmax, q H ℓmax ℓ * (Vstar0 M H - mixValue M H (masterEq H ℓmax base ℓ)) := by sorry

end CorruptRobustRL.Supervised
Source
Lykouris, Simchowitz, Slivkins & Sun, Corruption-robust exploration in episodic reinforcement learning, arXiv:1911.08689v4, p. 17, Lemma 4.4
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