Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(176)–(180), §D.3.3, p. 62 — W^TS is a supersolution of the Bellman equation

Proved
InfoRelaxTS.Monotone.WTS_isSupersolution

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

bayesian-banditdynamic-programminginformation-relaxationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

The model is the Bayesian bandit of §2.1: arms a∈A={1,…,K}a \in \mathcal A = \{1,\dots,K\}a∈A={1,…,K} (0-based in Lean, K≥1K \ge 1K≥1), reward laws Ra(θa)\mathcal R_a(\theta_a)Ra​(θa​), conjugate priors Pa(ya)\mathcal P_a(y_a)Pa​(ya​), the Bayesian update Ua\mathcal U_aUa​, and the outcome law I(y)\mathcal I(y)I(y) under which the arms are independent, θa∼Pa(ya)\theta_a \sim \mathcal P_a(y_a)θa​∼Pa​(ya​), and the rewards of arm aaa are i.i.d. Ra(θa)\mathcal R_a(\theta_a)Ra​(θa​) given θa\theta_aθa​. The standing assumptions of §2.1 hold: Ua(ya,r)\mathcal U_a(y_a,r)Ua​(ya​,r) is the Bayes posterior after observing rrr, the update maps are measurable, and Eya∣Ra,1∣<∞\mathbb E_{y_a}|R_{a,1}| < \inftyEya​​∣Ra,1​∣<∞ for every belief yay_aya​ (3).

The TS bound WTS(T,y)=Ey[Tmax⁡aμa(θa)]W^{TS}(T,y) = \mathbb E_y[T \max_a \mu_a(\theta_a)]WTS(T,y)=Ey​[Tmaxa​μa​(θa​)] is a supersolution (Definition 2): WTS(0,y)=0W^{TS}(0,y) = 0WTS(0,y)=0 and for all T≥1T \ge 1T≥1, beliefs yyy and arms aaa,

WTS(T,y)≥Ey[Ra,1+WTS(T−1,U(y,a,Ra,1))].W^{TS}(T,y) \ge \mathbb E_y\big[R_{a,1} + W^{TS}(T-1, \mathcal U(y,a,R_{a,1}))\big].WTS(T,y)≥Ey​[Ra,1​+WTS(T−1,U(y,a,Ra,1​))].

Combined with Lemma 2 this yields WTS(T,y)≥WIRS.V-EMax(T,y)W^{TS}(T,y) \ge W^{IRS.V\text{-}EMax}(T,y)WTS(T,y)≥WIRS.V-EMax(T,y), (58).

Formalization Note The supersolution predicate includes that the expectation on the right exists.

Preamble
import Mathlib
import Definitions.Def_InfoRelaxTS_Monotone_Setting
Formal statement
namespace InfoRelaxTS.Monotone

open MeasureTheory ProbabilityTheory

/-- (176)–(180), §D.3.3, p. 62: `W^TS(·, ·)` is a supersolution (Definition 2). -/
theorem WTS_isSupersolution {K : ℕ} [NeZero K] {Θ Y : Type*} [MeasurableSpace Θ] [StandardBorelSpace Θ]
    [Nonempty Θ] [MeasurableSpace Y]
    (R : Fin K → Kernel Θ ℝ) [∀ a, IsMarkovKernel (R a)]
    (P : Fin K → Kernel Y Θ) [∀ a, IsMarkovKernel (P a)]
    (U : Fin K → Y → ℝ → Y) (hM : StandingAssumptions R P U) :
    IsSupersolution R P U (fun m y' => WTS R P m y') := by sorry

end InfoRelaxTS.Monotone
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, p. 62, §D.3.3, (176)–(180)
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