Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 8.4.4 — induced inequalities: U_{π,t,M_K} ≥ U_{π,t,M} ≥ U_{π,t,M_K} − Pr(escape from K)

Proved
SampleComplexityRL.Exploration.induced_inequalities

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

dynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1reinforcement-learning

Let MMM be an MDP with finite state set SSS, finite action set AAA, transition model PPP and rewards r(s,a)∈[0,1]r(s,a)\in[0,1]r(s,a)∈[0,1]. Let K⊆SK\subseteq SK⊆S be a set of states and MKM_KMK​ the induced MDP, in which the states outside KKK are absorbing with reward 111. For every TTT-step policy π\piπ, every time t<Tt<Tt<T and every state sss,

Uπ,t,MK(s) ≥ Uπ,t,M(s)andUπ,t,M(s) ≥ Uπ,t,MK(s)−Pr⁡(escape from K∣π,M,st=s).U_{\pi,t,M_K}(s)\ \ge\ U_{\pi,t,M}(s) \qquad\text{and}\qquad U_{\pi,t,M}(s)\ \ge\ U_{\pi,t,M_K}(s)-\Pr(\text{escape from }K\mid\pi,M,s_t=s).Uπ,t,MK​​(s) ≥ Uπ,t,M​(s)andUπ,t,M​(s) ≥ Uπ,t,MK​​(s)−Pr(escape from K∣π,M,st​=s).

Here Uπ,t,M(s)U_{\pi,t,M}(s)Uπ,t,M​(s) is the normalized reward 1TE[∑τ=tT−1r(sτ,aτ)]\frac1T\mathbb E[\sum_{\tau=t}^{T-1}r(s_\tau,a_\tau)]T1​E[∑τ=tT−1​r(sτ​,aτ​)] of π\piπ from st=ss_t=sst​=s, and the escape probability is the probability that the path (st,…,sT−1)(s_t,\dots,s_{T-1})(st​,…,sT−1​) of π\piπ in MMM visits a state outside KKK.

The first inequality says that MKM_KMK​ is optimistic; the second that a policy which rarely leaves KKK earns in MMM nearly what it earns in MKM_KMK​. Together they are the basis of the explore-or-exploit property of RmaxR_{max}Rmax​.

Formalization Note Epochs are 0-based and values carry the factor 1/T1/T1/T. The bound r≤1r\le1r≤1 is used: the reward 111 of MKM_KMK​ outside KKK must dominate the rewards of MMM.

Preamble
import Mathlib
import Definitions.Def_FoundationsML_ReinforcementLearning_IsTransitionKernel
import Definitions.Def_SampleComplexityRL_Exploration_Model
Formal statement
namespace SampleComplexityRL.Exploration

open FoundationsML.ReinforcementLearning

/-- **Lemma 8.4.4 (Induced Inequalities)** (Kakade 2003, p. 107). Let `M = (P, r)` be an MDP
with rewards in `[0,1]`, `K` a set of states and `M_K` the induced MDP. For every deterministic
`T`-step policy `π`, time `t < T` and state `s`,
`U_{π,t,M_K}(s) ≥ U_{π,t,M}(s)` and
`U_{π,t,M}(s) ≥ U_{π,t,M_K}(s) − Pr(escape from K | π, M, s_t = s)`. -/
theorem induced_inequalities {S A : Type} [Fintype S] [DecidableEq S] [Fintype A]
    [DecidableEq A] [Nonempty A]
    (P : S → A → S → ℝ) (r : S → A → ℝ) (hP : IsTransitionKernel P)
    (hr : ∀ s a, 0 ≤ r s a ∧ r s a ≤ 1)
    (K : Finset S) (T : ℕ) (π : ℕ → S → A) (t : ℕ) (ht : t < T) (s : S) :
    uValue P r T π t s ≤ uValue (inducedP P K) (inducedR r K) T π t s ∧
      uValue (inducedP P K) (inducedR r K) T π t s - escapeProb P K T π t s
        ≤ uValue P r T π t s := by sorry

end SampleComplexityRL.Exploration
Source
Kakade, On the Sample Complexity of Reinforcement Learning, PhD thesis, University College London, 2003, p. 107, Lemma 8.4.4
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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