Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 15, p. 39 — anytime bound P(∃t≥1, ∣qt∣≥(4σ2/t)log⁡(4t/δ0))≤δ0P(\exists t\ge1,\ |q_t|\ge\sqrt{(4\sigma^2/t)\log(4t/\delta_0)})\le\delta_0P(∃t≥1, ∣qt​∣≥(4σ2/t)log(4t/δ0​)​)≤δ0​

Proved
PeriodicMAB.Upper.lemma_15

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

anytime-boundconcentrationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sub-gaussian

Let X1,X2,…X_1,X_2,\dotsX1​,X2​,… be independent sub-Gaussian random variables with parameter σ>0\sigma>0σ>0, i.e. E[eλXt]≤eσ2λ2/2\mathbb E[e^{\lambda X_t}]\le e^{\sigma^2\lambda^2/2}E[eλXt​]≤eσ2λ2/2 for all real λ\lambdaλ, and let qt=1t∑j=1tXjq_t=\frac1t\sum_{j=1}^tX_jqt​=t1​∑j=1t​Xj​. For every δ0∈(0,1)\delta_0\in(0,1)δ0​∈(0,1),

P(∃t≥1: ∣qt∣≥4σ2tlog⁡4tδ0)≤δ0.\mathbb P\Big(\exists t\ge1:\ |q_t|\ge\sqrt{\frac{4\sigma^2}{t}\log\frac{4t}{\delta_0}}\Big)\le\delta_0 .P(∃t≥1: ∣qt​∣≥t4σ2​logδ0​4t​​)≤δ0​.

This anytime concentration inequality, uniform over all sample sizes, is what makes the confidence widths (10) and (17) valid for the adaptively growing sample sets of Algorithm 2.

Formalization Note The variables are indexed by N\mathbb NN and independence is required of the whole family; X0X_0X0​ never enters qtq_tqt​. Sub-Gaussianity is Mathlib's HasSubgaussianMGF with variance proxy σ2\sigma^2σ2 (which includes integrability of eλXte^{\lambda X_t}eλXt​).

Preamble
import Mathlib

open MeasureTheory ProbabilityTheory Finset
open scoped NNReal
Formal statement
namespace PeriodicMAB.Upper

/-- Lemma 15 (p. 39): for independent sub-Gaussian `X₁, X₂, …` with parameter `σ` and
`q_t = (1/t) ∑_{j=1}^t X_j`, `P(∃ t ≥ 1, |q_t| ≥ √((4σ²/t) log(4t/δ₀))) ≤ δ₀` for `δ₀ ∈ (0,1)`. -/
theorem lemma_15 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (X : ℕ → Ω → ℝ) (σ : ℝ≥0) (hσ : 0 < σ) (hindep : iIndepFun X P)
    (hX : ∀ t, HasSubgaussianMGF (X t) (σ ^ 2) P) (δ₀ : ℝ) (hδ₀ : 0 < δ₀) (hδ₀1 : δ₀ < 1) :
    P {ω | ∃ t : ℕ, 1 ≤ t ∧
        Real.sqrt (4 * (σ : ℝ) ^ 2 / t * Real.log (4 * t / δ₀)) ≤
          |(1 / (t : ℝ)) * ∑ j ∈ Icc 1 t, X j ω|} ≤ ENNReal.ofReal δ₀ := by sorry

end PeriodicMAB.Upper
Source
Chen, Wang and Wang, Learning and Optimization with Seasonal Patterns, arXiv:2005.08088v4, p. 39, Lemma 15
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