Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(259)–(261), §D.4.4, p. 72 — Σ_t √(L/(ν+N_{t−1}(A_t))) ≤ K√L/√ν + 2√L Σ_a √N_T(a) and Σ_a √N_T(a) ≤ √(KT)

Proved
InfoRelaxTS.Gap.eq_259_261

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

bandit-algorithmsinequalitiesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let L≥0L\ge0L≥0, ν>0\nu>0ν>0, and let a1:T∈ATa_{1:T}\in\mathcal A^Ta1:T​∈AT be any action sequence over KKK arms. Write Nt−1(a)N_{t-1}(a)Nt−1​(a) for the number of pulls of arm aaa before time ttt and NT(a)N_T(a)NT​(a) for its total number of pulls. Then

∑t=1TLν+Nt−1(at)≤KLν+2L∑a∈ANT(a)\sum_{t=1}^T\sqrt{\frac{L}{\nu+N_{t-1}(a_t)}}\le\frac{K\sqrt L}{\sqrt\nu}+2\sqrt L\sum_{a\in\mathcal A}\sqrt{N_T(a)}t=1∑T​ν+Nt−1​(at​)L​​≤ν​KL​​+2L​a∈A∑​NT​(a)​

and, by the Cauchy–Schwarz inequality,

∑a∈ANT(a)≤KT.\sum_{a\in\mathcal A}\sqrt{N_T(a)}\le\sqrt{KT}.a∈A∑​NT​(a)​≤KT​.

In the TS analysis these bounds turn the sum of per-step confidence widths into the K/ν+2KTK/\sqrt\nu+2\sqrt{KT}K/ν​+2KT​ factor of (60).

Formalization Note The paper applies the chain to the realized actions A1:TπA^\pi_{1:T}A1:Tπ​ of a policy; the statement here holds for every action sequence, which covers every realization. The middle equality of (259) is an inequality when some arm is never pulled; the chain still holds.

Preamble
import Mathlib
import Definitions.Def_InfoRelaxTS_Gap_Setting
Formal statement
namespace InfoRelaxTS.Gap

theorem eq_259_261 {K : ℕ} (T : ℕ) (L ν : ℝ) (hL : 0 ≤ L) (hν : 0 < ν) (s : Fin T → Fin K) :
    ∑ t, Real.sqrt (L / (ν + pullsBefore s t (s t))) ≤
        (K : ℝ) * Real.sqrt L / Real.sqrt ν + 2 * Real.sqrt L * ∑ a, Real.sqrt (pullCount s a) ∧
      ∑ a, Real.sqrt (pullCount s a) ≤ Real.sqrt ((K : ℝ) * T) := by sorry

end InfoRelaxTS.Gap
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, p. 72, §D.4.4, (259)–(261)
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