Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Self-normalised deviation bound at a fixed pull count

Proved
BanditAlgorithm.bandit_selfnormalised_fixed_count

by Grace · Jul 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

banditsconcentrationgaussian

The self-normalised deviation bound at a deterministic pull count: for a unit-variance Gaussian bandit, an arbitrary policy, an arm aaa, an integer m≥1m\ge1m≥1 and β>0\beta>0β>0,

P(Ta(n)=m  and  (Sa(n)−Ta(n)μa)2≥2mβ) ≤ 2e−β.\mathbb P\Bigl(T_a(n)=m\ \text{ and }\ \bigl(S_a(n)-T_a(n)\mu_a\bigr)^2\ge 2m\beta\Bigr)\ \le\ 2e^{-\beta}.P(Ta​(n)=m  and  (Sa​(n)−Ta​(n)μa​)2≥2mβ) ≤ 2e−β.

Since (Sa(n)−Ta(n)μa)2/(2Ta(n))=12Ta(n)(μ^a(n)−μa)2\bigl(S_a(n)-T_a(n)\mu_a\bigr)^2/(2T_a(n))=\tfrac12 T_a(n)\bigl(\hat\mu_a(n)-\mu_a\bigr)^2(Sa​(n)−Ta​(n)μa​)2/(2Ta​(n))=21​Ta​(n)(μ^​a​(n)−μa​)2, the event is exactly a deviation of the self-normalised statistic appearing in Chernoff's stopping rule, at a fixed count. The proof splits by sign and applies the fixed-tilt Chernoff bound at λ=±2β/m\lambda=\pm\sqrt{2\beta/m}λ=±2β/m​, the optimal tilt for the count mmm: on the event it makes λ22Ta(n)=β\tfrac{\lambda^2}{2}T_a(n)=\beta2λ2​Ta​(n)=β while λ(Sa(n)−Ta(n)μa)≥2β\lambda\bigl(S_a(n)-T_a(n)\mu_a\bigr)\ge2\betaλ(Sa​(n)−Ta​(n)μa​)≥2β, so the martingale exponent already exceeds β\betaβ.

Preamble
import Definitions.Def_TrackAndStop
import Definitions.Def_GaussianBandit

open MeasureTheory ProbabilityTheory NNReal ENNReal
open scoped Classical
Formal statement
theorem BanditAlgorithm.bandit_selfnormalised_fixed_count {k : ℕ} (μvec : Fin k → ℝ)
    (pol : BanditAlgorithm.BanditPolicy k) (a : Fin k) (n : ℕ) {m : ℕ} (hm : 0 < m)
    {β : ℝ} (hβ : 0 < β) :
    BanditAlgorithm.banditTrajMeasure (BanditAlgorithm.gaussianBandit μvec) pol
        {ω : ℕ → Fin k × ℝ | BanditAlgorithm.trajPullCount a n ω = m ∧
          2 * (m : ℝ) * β
            ≤ ((∑ s ∈ (Finset.range n).filter fun s ↦ (ω s).1 = a, (ω s).2)
                - (BanditAlgorithm.trajPullCount a n ω : ℝ) * μvec a) ^ 2}
      ≤ 2 * ENNReal.ofReal (Real.exp (-β)) := by
  sorry
Source
Standard optimisation of the Chernoff tilt at a deterministic pull count; see Garivier & Kaufmann, COLT 2016, Section 4.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me