Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

BanditAlgorithm.linear_bandit_phased_elimination_regret

Proved

by Shuze Chen · Jul 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

banditseliminationlinearoptimal-design

(Phased elimination with G-optimal design — Theorem 22.1) There is a universal constant C>0C>0C>0 such that for every fixed action set of kkk arms in Rd\mathbb{R}^dRd, horizon n≥2n \ge 2n≥2 and δ∈(0,1)\delta \in (0,1)δ∈(0,1) there is a policy π\piπ (Algorithm 12: phased elimination with G-optimal exploration) such that on every linear bandit instance with gaps Δa≤1\Delta_a \le 1Δa​≤1: with probability at least 1−δ1-\delta1−δ, the random regret satisfies

∑aTa(n)Δa≤Cndlog⁡(klog⁡(n)/δ);\sum_a T_a(n)\Delta_a \le C\sqrt{nd\log(k\log(n)/\delta)};a∑​Ta​(n)Δa​≤Cndlog(klog(n)/δ)​;

and if δ=1/n\delta = 1/nδ=1/n, the expected regret satisfies

Rn≤Cndlog⁡(kn).R_n \le C\sqrt{nd\log(kn)}.Rn​≤Cndlog(kn)​.
Preamble
import Definitions.Def_StochasticLinearBandit
import Definitions.Def_banditRegret


open Matrix MeasureTheory ProbabilityTheory
Formal statement
theorem BanditAlgorithm.linear_bandit_phased_elimination_regret :
    ∃ C : ℝ, 0 < C ∧
      ∀ (k d n : ℕ), 0 < k → 0 < d → 2 ≤ n →
        ∀ (arms : Fin k → Fin d → ℝ) (δ : ℝ), δ ∈ Set.Ioo (0 : ℝ) 1 →
          ∃ π : BanditPolicy k,
            ∀ (θstar : Fin d → ℝ) (ν : StochasticBandit k),
              IsLinearBandit arms θstar ν →
              (∀ i, banditGap ν i ≤ 1) →
              1 - δ ≤ (banditMeasure ν π n).real
                  {h | ∑ i, (armPullCount i h : ℝ) * banditGap ν i ≤
                    C * Real.sqrt (n * d * Real.log (k * Real.log n / δ))} ∧
              (δ = 1 / n →
                banditRegret ν π n ≤
                  C * Real.sqrt (n * d * Real.log (k * n))) := by
  sorry
Source
L&S Theorem 22.1, p.273

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me