Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(269)–(275), §D.4.4, p. 73 — Σ_t √(1/(ν+N_{t−1}(A_t)) − 1/(ν+T)) ≤ K/√ν + 2√(KT) − (1/3)√(T/K)

Proved
InfoRelaxTS.Gap.eq_269_275

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

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

Let K≥1K\ge1K≥1, T≥1T\ge1T≥1, ν>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. Then

∑t=1T1ν+Nt−1(at)−1ν+T≤Kν+2KT−13TK.\sum_{t=1}^T\sqrt{\frac1{\nu+N_{t-1}(a_t)}-\frac1{\nu+T}}\le\frac{K}{\sqrt\nu}+2\sqrt{KT}-\frac13\sqrt{\frac TK}.t=1∑T​ν+Nt−1​(at​)1​−ν+T1​​≤ν​K​+2KT​−31​KT​​.

In the IRS.FH and IRS.V-Zero analyses this bound produces the extra −13T/K-\tfrac13\sqrt{T/K}−31​T/K​ term of (61) and (62).

Formalization Note The left side of (269) prints Nt−1π(a)N^\pi_{t-1}(a)Nt−1π​(a); Nt−1π(Atπ)N^\pi_{t-1}(A^\pi_t)Nt−1π​(Atπ​) is meant, since the sum runs over the pulled arms. The statement holds for every action sequence, covering every realization of A1:TπA^\pi_{1:T}A1:Tπ​. The radicand is nonnegative because Nt−1(a)≤T−1N_{t-1}(a)\le T-1Nt−1​(a)≤T−1, so no square root of a negative number occurs. The constant 13\tfrac1331​ is the printed one.

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

theorem eq_269_275 {K : ℕ} [NeZero K] (T : ℕ) (hT : 1 ≤ T) (ν : ℝ) (hν : 0 < ν)
    (s : Fin T → Fin K) :
    ∑ t, Real.sqrt (1 / (ν + pullsBefore s t (s t)) - 1 / (ν + T)) ≤
      (K : ℝ) / Real.sqrt ν + 2 * Real.sqrt ((K : ℝ) * T)
        - (1 / 3) * Real.sqrt ((T : ℝ) / K) := by sorry

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