Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4, pp. 66–67 — a Gaussian tail gives 𝔼[(X − (𝔼X + zσ))⁺] ≤ (σ/z)e^{−z²/2}

Proved
InfoRelaxTS.Gap.lemma_4

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

concentrationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitysub-gaussian

Let XXX be an integrable real random variable on a probability space, and suppose there is σ>0\sigma>0σ>0 with

P[X≥EX+zσ]≤e−z2/2for all z≥0.\mathbb P\big[X\ge\mathbb EX+z\sigma\big]\le e^{-z^2/2}\qquad\text{for all }z\ge0 .P[X≥EX+zσ]≤e−z2/2for all z≥0.

Then

E[(X−(EX+zσ))+]≤σz e−z2/2for all z>0.\mathbb E\Big[\big(X-(\mathbb EX+z\sigma)\big)^+\Big]\le\frac{\sigma}{z}\,e^{-z^2/2}\qquad\text{for all }z>0 .E[(X−(EX+zσ))+]≤zσ​e−z2/2for all z>0.

The bound converts a Gaussian-type tail into a bound on the expected overshoot above a confidence level; Theorem 3 applies it with z=2log⁡Tz=\sqrt{2\log T}z=2logT​ to the mean-reward metrics.

Formalization Note The page speaks of "a random variable XXX" and its mean EX\mathbb EXEX; integrability of XXX and a probability measure are made explicit. (x)+=max⁡(x,0)(x)^+=\max(x,0)(x)+=max(x,0).

Preamble
import Mathlib

open MeasureTheory
Formal statement
namespace InfoRelaxTS.Gap

theorem lemma_4 {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (X : Ω → ℝ) (hX : Integrable X μ) (σ : ℝ) (hσ : 0 < σ)
    (htail : ∀ z : ℝ, 0 ≤ z →
      (μ {ω | (∫ x, X x ∂μ) + z * σ ≤ X ω}).toReal ≤ Real.exp (-z ^ 2 / 2)) :
    ∀ z : ℝ, 0 < z →
      ∫ ω, max (X ω - ((∫ x, X x ∂μ) + z * σ)) 0 ∂μ ≤ σ / z * Real.exp (-z ^ 2 / 2) := by sorry

end InfoRelaxTS.Gap
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, pp. 66–67, Lemma 4, (209)–(210)
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