Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 16 — every block reward is at most Hν + 2R√(H ln(T/√H)) in absolute value with probability ≥ 1 − 2/T

Proved
DriftLinBandit.BOB.lemma_1

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

bandit-over-banditconcentrationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sub-gaussianunion-bound

Let an instance satisfy ∣⟨x,θt⟩∣≤ν|\langle x,\theta_t\rangle|\le\nu∣⟨x,θt​⟩∣≤ν for all t∈[T]t\in[T]t∈[T] and x∈Dtx\in D_tx∈Dt​, for some ν>0\nu>0ν>0, and let the noises be i.i.d. centred and RRR-sub-Gaussian. Fix a block length HHH with 1≤H≤T1\le H\le T1≤H≤T and arbitrary actions Xt∈DtX_t\in D_tXt​∈Dt​, and let

Mi=∣∑t=(i−1)H+1iH∧T(⟨Xt,θt⟩+ηt)∣M_i=\Big|\sum_{t=(i-1)H+1}^{iH\wedge T}\big(\langle X_t,\theta_t\rangle+\eta_t\big)\Big|Mi​=​t=(i−1)H+1∑iH∧T​(⟨Xt​,θt​⟩+ηt​)​

be the absolute cumulative reward of block iii. Then

Pr⁡(∀i∈[⌈T/H⌉]: Mi≤Hν+2RHln⁡(T/H))≥1−2T.\Pr\Big(\forall i\in[\lceil T/H\rceil]:\ M_i\le H\nu+2R\sqrt{H\ln(T/\sqrt H)}\Big)\ge1-\frac2T .Pr(∀i∈[⌈T/H⌉]: Mi​≤Hν+2RHln(T/H​)​)≥1−T2​.

With ν=1\nu=1ν=1 this justifies the normalisation by QQQ in BOB's EXP3 update (14): block rewards divided by QQQ and shifted by 12\tfrac1221​ lie in [0,1][0,1][0,1] with high probability.

Formalization Note. The statement bounds the probability of the complementary event (some block exceeds the bound) by 2/T2/T2/T. 1≤H≤T1\le H\le T1≤H≤T is added: the page applies the lemma to BOB's HHH, and H≤TH\le TH≤T keeps ln⁡(T/H)≥0\ln(T/\sqrt H)\ge0ln(T/H​)≥0 and the blocks meaningful.

Preamble
import Mathlib
import Definitions.Def_DriftLinBandit_BOB_Bob
Formal statement
namespace DriftLinBandit.BOB

open MeasureTheory Matrix

/-- Lemma 1 (p. 16). Suppose `|⟨x, θ_t⟩| ≤ ν` for all `t ∈ [T]` and `x ∈ D_t`, for some `ν > 0`, and
let the noise be i.i.d. centred `R`-sub-Gaussian. For any block length `1 ≤ H ≤ T` and any actions
`X_t ∈ D_t`, let `M_i = |∑_{t=(i−1)H+1}^{i·H∧T} (⟨X_t, θ_t⟩ + η_t)|` be the absolute cumulative
reward of block `i`. Then with probability at least `1 − 2/T`,
`M_i ≤ Hν + 2R √(H ln(T/√H))` for all blocks `i = 1, …, ⌈T/H⌉`. -/
theorem lemma_1 {d : ℕ} (I : Instance d) (R ν : ℝ) (hR : 0 < R) (hν : 0 < ν)
    (hνb : ∀ t ∈ Finset.Icc 1 I.T, ∀ x ∈ I.D t, |x ⬝ᵥ I.θ t| ≤ ν)
    (H : ℕ) (hH : 1 ≤ H) (hHT : H ≤ I.T)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (η : ℕ → Ω → ℝ) (hη : IsSubGNoise P η R)
    (X : ℕ → Ω → (Fin d → ℝ)) (hXD : ∀ t ∈ Finset.Icc 1 I.T, ∀ ω, X t ω ∈ I.D t) :
    P {ω | ∃ i ∈ Finset.Icc 1 ⌈(I.T : ℝ) / (H : ℝ)⌉₊,
        (H : ℝ) * ν + 2 * R * Real.sqrt ((H : ℝ) * Real.log ((I.T : ℝ) / Real.sqrt H)) <
          |∑ t ∈ Finset.Icc (blockStart H i) (blockEnd H I.T i), (X t ω ⬝ᵥ I.θ t + η t ω)|} ≤
      ENNReal.ofReal (2 / (I.T : ℝ)) := by sorry

end DriftLinBandit.BOB
Source
Cheung, Simchi-Levi & Zhu, arXiv:1903.01461v4, p. 16, Lemma 1; Appendix D, p. 39
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 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