Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 20 — the UCB strategy certifies dec0(Ft)≤fˉt(πt)−f‾t(πt)\mathrm{dec}_0(\mathcal F^t)\le\bar f^t(\pi^t)-\underline f^t(\pi^t)dec0​(Ft)≤fˉ​t(πt)−f​t(πt)

Proved
FoundationsRL.E2DStructured.ucb_certifies_dec_zero

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

bandit-algorithmsdecision-estimation-coefficientinteractive-decision-makingp2o-gran-per-chapterp2o-plan-bookp2o-strengthenedp2o-v1reinforcement-learning

Let Ft\mathcal F^tFt be a class of reward functions whose values at each decision are bounded, with upper and lower confidence functions fˉt\bar f^tfˉ​t and f‾t\underline f^tf​t. Let πt∈arg⁡max⁡π∈Πfˉt(π)\pi^t\in\arg\max_{\pi\in\Pi}\bar f^t(\pi)πt∈argmaxπ∈Π​fˉ​t(π). Then the point mass at πt\pi^tπt certifies

dec0(Ft)≤fˉt(πt)−f‾t(πt),\mathrm{dec}_0(\mathcal F^t)\le\bar f^t(\pi^t)-\underline f^t(\pi^t),dec0​(Ft)≤fˉ​t(πt)−f​t(πt),

that is, the inner value of the game at δπt\delta_{\pi^t}δπt​ with γ=0\gamma=0γ=0 is at most the confidence width, for every reference model, and so is dec0(Ft)\mathrm{dec}_0(\mathcal F^t)dec0​(Ft).

This relates the DEC to the confidence width of the UCB analysis.

Differences from the source:

  • generalization: F^t is a confidence set of E2D → G is any reward class with bounded pointwise values; reason: the proof uses nothing else; the confidence sets are a special case when their values are bounded
  • encoding: max_{f∈F^t} and min_{f∈F^t} in f̄^t and f̲^t → real sSup and sInf, with pointwise values assumed bounded; reason: the printed max and min presuppose these bounds and the argmax of f̄^t is taken in the same sense
  • encoding: f : Π → ℝ, π_f = arg max f; the single inequality (4.27) → every f ∈ G measurable with a maximizer; a conjunction of the certification by the point mass and (4.27); reason: the expectation is defined only then, and the word certifies on p. 69 is the first conjunct
  • encoding: real expectations → Lebesgue integrals in [0, ∞], subtracted in EReal (the undefined case ∞ − ∞ scored −∞); reason: the integrand may be non-integrable for unbounded functions, where a Bochner integral would return 0
Preamble
import Mathlib
import Definitions.Def_FoundationsRL_E2DStructured_IsRewardClass
import Definitions.Def_FoundationsRL_E2DStructured_decHull
import Definitions.Def_FoundationsRL_E2DStructured_decGame
import Definitions.Def_FoundationsRL_E2DStructured_upperConf
import Definitions.Def_FoundationsRL_E2DStructured_lowerConf
import Definitions.Def_FoundationsRL_E2DStructured_pointMass

open MeasureTheory
open scoped ENNReal
Formal statement
namespace FoundationsRL.E2DStructured

/-- **Proposition 20** (Foster & Rakhlin, *Foundations of Reinforcement Learning and Interactive Decision Making*, arXiv:2312.16730v1, §4.4.1, p. 76, (4.27)): the UCB strategy `π^t = arg max_π f̄^t(π)`
certifies `dec_0(F^t) ≤ f̄^t(π^t) − f̲^t(π^t)`.

**Formalization Note.** `G` is `F^t`; the statement holds for every class, so nothing about the
construction of `F^t` is assumed. The first conjunct is the certification of p. 69 for the point mass
at `π^t`, against every reference model, as in the first line of the proof; the second is (4.27). -/
theorem ucb_certifies_dec_zero {D : Type*} [MeasurableSpace D] (G : Set (D → ℝ))
    (hG : IsRewardClass G)
    (hbddAbove : ∀ π, BddAbove ((fun f : D → ℝ => f π) '' G))
    (hbddBelow : ∀ π, BddBelow ((fun f : D → ℝ => f π) '' G))
    (πt : D) (hπt : ∀ π, upperConf G π ≤ upperConf G πt) :
    (∀ fhat : D → ℝ, decGame 0 G fhat (pointMass πt) ≤
        ((upperConf G πt - lowerConf G πt : ℝ) : EReal)) ∧
      decHull 0 G ≤ ((upperConf G πt - lowerConf G πt : ℝ) : EReal) := by sorry

end FoundationsRL.E2DStructured
Source
Foster & Rakhlin, Foundations of Reinforcement Learning and Interactive Decision Making, arXiv:2312.16730v1, Proposition 20, (4.27), p. 76
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me