Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem B.1 — Chernoff inequality for uncertainty ellipsoids with finitely many arms

Proved
LinParamBandits.UEGeneral.chernoff_finite_arms

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

concentrationleast-squareslinear-banditp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider a run of the UE policy under Assumption 1, and suppose the set of arms Ur\mathcal U_rUr​ is finite, with ∣Ur∣|\mathcal U_r|∣Ur​∣ elements. Then for every t≥rt \ge rt≥r, all x,z∈Rrx, z \in \mathbb R^rx,z∈Rr and every ζ>0\zeta > 0ζ>0,

Pr⁡{x′(Z^t−z)>ζσ0∥x∥Ct ∣ Z=z}≤t5∣Ur∣e−ζ2/2,\Pr\Big\{x'(\widehat Z_t - z) > \zeta\sigma_0\|x\|_{C_t} \,\Big|\, Z = z\Big\} \le t^{5|\mathcal U_r|}e^{-\zeta^2/2},Pr{x′(Zt​−z)>ζσ0​∥x∥Ct​​​Z=z}≤t5∣Ur​∣e−ζ2/2,

and

Pr⁡{(Ut+1−x)′(Z^t−z)>ζσ0∥Ut+1−x∥Ct ∣ Z=z}≤t5∣Ur∣e−ζ2/2.\Pr\Big\{(U_{t+1} - x)'(\widehat Z_t - z) > \zeta\sigma_0\|U_{t+1} - x\|_{C_t} \,\Big|\, Z = z\Big\} \le t^{5|\mathcal U_r|}e^{-\zeta^2/2}.Pr{(Ut+1​−x)′(Zt​−z)>ζσ0​∥Ut+1​−x∥Ct​​​Z=z}≤t5∣Ur​∣e−ζ2/2.

This extends the Chernoff inequality to least squares estimates built from adaptively chosen arms; together with Theorem B.2 it controls the uncertainty radius in Lemma B.6.

Formalization Note The statement is about a run of the UE policy (IsUE) under Assumption 1 (Assumption1) on a compact nonempty arm set Ur⊂Rr\mathcal U_r \subset \mathbb R^rUr​⊂Rr, r≥2r \ge 2r≥2, with noise laws given by a Markov kernel ν\nuν (the law of WtuW^u_tWtu​ is ν(u)\nu(u)ν(u) for every ttt). "Pr⁡{⋅∣Z=z}\Pr\{\cdot \mid Z = z\}Pr{⋅∣Z=z}" is the law histMeasure ν z ψ t of the history (U1,X1,…,Ut,Xt)(U_1, X_1, \dots, U_t, X_t)(U1​,X1​,…,Ut​,Xt​) with the parameter fixed to zzz; Ut+1U_{t+1}Ut+1​ is ψ.act t h. CtC_tCt​ is Cmat, the inverse of the design matrix ∑s≤tUsUs′\sum_{s \le t} U_s U_s'∑s≤t​Us​Us′​, which is positive definite on every history that starts with b1,…,brb_1, \dots, b_rb1​,…,br​ (all histories of a UE run, since t≥rt \ge rt≥r). The paper states the result "under Assumption 1"; finiteness of Ur\mathcal U_rUr​ is the hypothesis of the theorem's title (p. 30: for infinitely many arms the bound is vacuous).

Preamble
import Mathlib
import Definitions.Def_LinParamBandits_UEGeneral_Model
import Definitions.Def_LinParamBandits_UEGeneral_UEPolicy
Formal statement
namespace LinParamBandits.UEGeneral

open MeasureTheory ProbabilityTheory

/-- Theorem B.1 (p. 29): Chernoff inequality for uncertainty ellipsoids with finitely many arms. -/
theorem chernoff_finite_arms {r : ℕ} (hr : 2 ≤ r) {𝒰 : Set (LinParamBandits.LowerBound.Vec r)} (h𝒰c : IsCompact 𝒰) (h𝒰n : 𝒰.Nonempty)
    {ν : Kernel (LinParamBandits.LowerBound.Vec r) ℝ} [IsMarkovKernel ν] {b : Fin r → LinParamBandits.LowerBound.Vec r} {σ₀ ubar lam0 : ℝ}
    (hA : Assumption1 𝒰 ν b σ₀ ubar lam0) {ψ : Policy r} (hψ : IsUE 𝒰 b σ₀ ubar lam0 ψ)
    (hfin : 𝒰.Finite) (t : ℕ) (ht : r ≤ t) (x z : LinParamBandits.LowerBound.Vec r) (ζ : ℝ) (hζ : 0 < ζ) :
    histMeasure ν z ψ t
        {h | ζ * σ₀ * wnorm (Cmat (armsOf h)) x < inner ℝ x (Zhat h - z)} ≤
      ENNReal.ofReal ((t : ℝ) ^ (5 * 𝒰.ncard) * Real.exp (-ζ ^ 2 / 2)) ∧
    histMeasure ν z ψ t
        {h | ζ * σ₀ * wnorm (Cmat (armsOf h)) (ψ.act t h - x) <
          inner ℝ (ψ.act t h - x) (Zhat h - z)} ≤
      ENNReal.ofReal ((t : ℝ) ^ (5 * 𝒰.ncard) * Real.exp (-ζ ^ 2 / 2)) := by sorry

end LinParamBandits.UEGeneral
Source
Rusmevichientong, Tsitsiklis, Linearly Parameterized Bandits, arXiv:0812.3465v2, Theorem B.1, p. 29
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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