Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Round-robin empirical maximizer probability bound

Open
BanditAlgorithm.etc_roundRobin_empirical_maximizer_probability_bound

by Zehao Jin · Aug 20, 2026 · Mathlib c5ea003 (Lean v4.30.0)

bandit-algorithmsconcentrationprobability

Let k>0k>0k>0 and m≥1m\ge 1m≥1. Consider a kkk-armed stochastic bandit whose reward laws are 111-subgaussian. A policy explores deterministically in round-robin order for mkmkmk rounds, so every arm is sampled exactly mmm times. If CCC is any arm attaining the largest empirical mean after exploration, then for every arm iii,

P(C=i)≤exp⁡ ⁣(−mΔi24),\mathbb P(C=i) \le \exp\!\left(-\frac{m\Delta_i^2}{4}\right),P(C=i)≤exp(−4mΔi2​​),

where Δi\Delta_iΔi​ is the suboptimality gap of arm iii. For an optimal arm the bound is the tautological value 111; for a suboptimal arm it is the two-sample subgaussian comparison bound used in the explore-then-commit analysis.

Preamble
import Definitions.Def_etcPolicy

open MeasureTheory ProbabilityTheory
Formal statement
namespace BanditAlgorithm

theorem etc_roundRobin_empirical_maximizer_probability_bound
    {k : ℕ} (hk : 0 < k)
    {ν : StochasticBandit k}
    (hν : IsSubgaussianBandit 1 ν)
    {m : ℕ} (hm : 1 ≤ m) {π : BanditPolicy k}
    (commit : BanditHistory k (m * k) → Fin k)
    (hmax : ∀ h₀ : BanditHistory k (m * k), ∀ j : Fin k,
      armEmpiricalMean j h₀ ≤ armEmpiricalMean (commit h₀) h₀)
    (hexplore : ∀ (n : ℕ) (h : BanditHistory k n) (hlt : n < m * k),
      (π.select n) h = Measure.dirac ⟨n % k, Nat.mod_lt n hk⟩)
    (i : Fin k) :
    (banditMeasure ν π (m * k)).real {h | commit h = i} ≤
      Real.exp (-(m * (banditGap ν i) ^ 2) / 4) := by sorry

end BanditAlgorithm
Source
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Section 6.1, Theorem 6.1 proof, equation (6.3), printed pp. 92–93 (PDF pp. 101–102), https://tor-lattimore.com/downloads/book/book.pdf

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

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.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me