Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 (Desai et al. 2012a, Thm 4), p. 61 — a supersolution V̂ bounds its penalty's inner problem: W^ẑ(T, y) ≤ V̂(T, y)

Proved
InfoRelaxTS.Monotone.lemma_2

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).

Let V^:N0×Y→R\hat V : \mathbb N_0 \times \mathcal Y \to \mathbb RV^:N0​×Y→R be a supersolution (Definition 2) and z^t\hat z_tz^t​ the penalty (168) generated by V^\hat VV^. Then for every outcome ω\omegaω the maximal value of the inner problem,

V1z^,in(∅,ω;T,y)=max⁡a1:T∈AT∑t=1T(rt(a1:t,ω)−z^t(a1:t,ω;T,y)),V_1^{\hat z,in}(\emptyset,\omega;T,y) = \max_{a_{1:T}\in\mathcal A^T} \sum_{t=1}^T \big(r_t(a_{1:t},\omega) - \hat z_t(a_{1:t},\omega;T,y)\big),V1z^,in​(∅,ω;T,y)=a1:T​∈ATmax​t=1∑T​(rt​(a1:t​,ω)−z^t​(a1:t​,ω;T,y)),

is at most V^(T,y)\hat V(T,y)V^(T,y); consequently

Wz^(T,y)≤V^(T,y).(169)W^{\hat z}(T,y) \le \hat V(T,y). \tag{169}Wz^(T,y)≤V^(T,y).(169)

A supersolution of the Bellman equation is therefore an upper bound on the penalised clairvoyant value, outcome by outcome.

Formalization Note The payoff rt−z^tr_t - \hat z_trt​−z^t​ uses the conjugate closed forms of the conditional expectations given Ht−1H_{t-1}Ht−1​ (see the Setting). The integral form (169) is stated under the added, disclosed hypothesis that ω↦V1z^,in(∅,ω;T,y)\omega \mapsto V_1^{\hat z,in}(\emptyset,\omega;T,y)ω↦V1z^,in​(∅,ω;T,y) is integrable, since for a general V^\hat VV^ the expectation need not exist; the pathwise bound needs no such hypothesis.

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

open MeasureTheory ProbabilityTheory

/-- Lemma 2 (Theorem 4 of Desai et al. (2012a), rephrased), p. 61, (169): if `V̂` is a supersolution,
then for every outcome `ω` the maximal value of the inner problem under the penalty generated by `V̂`
is at most `V̂(T, y)` (the stronger sense); hence, when that maximal value is integrable,
`W^ẑ(T, y) ≤ V̂(T, y)`. -/
theorem lemma_2 {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)
    (Vhat : ℕ → (Fin K → Y) → ℝ) (hV : IsSupersolution R P U Vhat) (T : ℕ) (y : Fin K → Y) :
    (∀ ω, innerMax R P U y Vhat T ω ≤ Vhat T y) ∧
      (Integrable (innerMax R P U y Vhat T) (I R P y) → penBound R P U Vhat T y ≤ Vhat T y) := by sorry

end InfoRelaxTS.Monotone
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, p. 61, Lemma 2, (168)–(169)
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