Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Standard Gaussian reciprocal shifted-tail integral bound

Proved
BanditAlgorithm.standardGaussian_reciprocal_shift_integral_bound

by Harry_Xu · Jul 30, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analysisgaussianprobabilitythompson-sampling

Let Z∼N(0,1)Z\sim\mathcal N(0,1)Z∼N(0,1). Conditional on Z=zZ=zZ=z, let Yz∼N(z,1)Y_z\sim\mathcal N(z,1)Yz​∼N(z,1) and put

Ga(z)=P{Yz>−a},a>0.G_a(z)=\mathbb P\{Y_z>-a\},\qquad a>0.Ga​(z)=P{Yz​>−a},a>0.

There is a universal constant C>0C>0C>0 such that

E[1Ga(Z)−1]≤Ca2.\mathbb E\left[\frac{1}{G_a(Z)}-1\right]\le \frac{C}{a^2}.E[Ga​(Z)1​−1]≤a2C​.

This is the scale-free analytic core of the optimal-arm estimate: after standardizing a sample mean based on sss unit-variance Gaussian rewards, one has a=εsa=\varepsilon\sqrt{s}a=εs​.

Preamble
import Mathlib.Probability.Distributions.Gaussian.Real

open MeasureTheory ProbabilityTheory ENNReal
Formal statement
namespace BanditAlgorithm

/-- The standardized Gaussian reciprocal-tail integral in Exercise 36.6(a). -/
theorem standardGaussian_reciprocal_shift_integral_bound :
    ∃ C : ℝ, 0 < C ∧
      ∀ a : ℝ, 0 < a →
        (∫⁻ z, ENNReal.ofReal
            (1 / (gaussianReal z 1).real {x | -a < x} - 1)
            ∂gaussianReal 0 1) ≤
          ENNReal.ofReal (C / a ^ 2) := by
  sorry

end BanditAlgorithm
Source
Lattimore and Szepesvári, Bandit Algorithms (CUP 2020), Exercise 36.6(a) and its Gaussian-tail hint, printed p. 475 / PDF p. 484. This is exactly the standardized one-rank Gaussian integral in that exercise.

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