Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4, p. 53 — μ_a(θ_a) and max_a μ_a(θ_a) are integrable, so W^TS(T, y) < ∞

Proved
InfoRelaxTS.Asymptotic.proposition_4

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

bayesian-banditintegrabilityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the Bayesian bandit model, fix a belief vector y=(y1,…,yK)y = (y_1,\dots,y_K)y=(y1​,…,yK​) and assume the rewards are integrable under it: Ey∣Ra,n∣<∞\mathbb E_y|R_{a,n}| < \inftyEy​∣Ra,n​∣<∞ for every arm aaa. Then, for every arm aaa, the conditional mean reward μa(θa)\mu_a(\theta_a)μa​(θa​) is integrable under the prior Pa(ya)\mathcal P_a(y_a)Pa​(ya​), and the best conditional mean is integrable under the joint prior P(y)=⨂aPa(ya)\mathcal P(y) = \bigotimes_a \mathcal P_a(y_a)P(y)=⨂a​Pa​(ya​):

Ey∣μa(θa)∣<∞∀a∈A,Ey∣max⁡a∈Aμa(θa)∣<∞.\mathbb E_y|\mu_a(\theta_a)| < \infty \quad \forall a \in \mathcal A, \qquad \mathbb E_y\Big|\max_{a \in \mathcal A} \mu_a(\theta_a)\Big| < \infty.Ey​∣μa​(θa​)∣<∞∀a∈A,Ey​​a∈Amax​μa​(θa​)​<∞.

Equivalently, the Thompson sampling performance bound WTS(T,y)=T×Ey[max⁡aμa(θa)]W^{TS}(T, y) = T \times \mathbb E_y[\max_a \mu_a(\theta_a)]WTS(T,y)=T×Ey​[maxa​μa​(θa​)] is finite for every T∈NT \in \mathbb NT∈N.

This is the regularity step behind Proposition 5. It shows that μa(θa)\mu_a(\theta_a)μa​(θa​) is an L1L^1L1 random variable, so that its posterior means form a uniformly integrable martingale.

Formalization Note. "<∞< \infty<∞" for a real expectation is read as integrability (Lean's Bochner integral is finite by definition). Since the rewards of an arm are i.i.d. given θa\theta_aθa​, the hypothesis is stated for the first reward, whose law is Ra\mathcal R_aRa​ averaged over Pa(ya)\mathcal P_a(y_a)Pa​(ya​). Arms are Fin K with K≥1K \ge 1K≥1 (NeZero K), so that the maximum over arms is defined.

Preamble
import Mathlib
import Definitions.Def_InfoRelaxTS_Asymptotic_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace InfoRelaxTS.Asymptotic

/-- Proposition 4 (p. 53): if the rewards are integrable under the belief `y`, then each
`μ_a(θ_a)` is integrable under the prior `𝒫_a(y_a)`, and so is `max_a μ_a(θ_a)` under `𝒫(y)`
(i.e. `W^TS(T, y) = T · 𝔼_y[max_a μ_a(θ_a)] < ∞` for every `T`). -/
theorem proposition_4 {K : ℕ} [NeZero K] {Θ Y : Type*} [MeasurableSpace Θ] [MeasurableSpace Y]
    (R : Fin K → Kernel Θ ℝ) [∀ a, IsMarkovKernel (R a)]
    (P : Fin K → Kernel Y Θ) [∀ a, IsMarkovKernel (P a)] (y : Fin K → Y)
    (hint : ∀ a, Integrable (fun r : ℝ => r) ((R a) ∘ₘ (P a (y a)))) :
    (∀ a, Integrable (fun θ => Monotone.mu R a θ) (P a (y a))) ∧
      Integrable (fun θ : Fin K → Θ => Finset.univ.sup' Finset.univ_nonempty fun a => Monotone.mu R a (θ a))
        (priorLaw P y) := by sorry

end InfoRelaxTS.Asymptotic
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, p. 53, Proposition 4, (105)
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