Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 14 — asymptotic optimality of Track-and-Stop

Proved
OptimalBAI.TrackStop.track_and_stop_asymptotic_optimality

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

best-arm-identificationp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1sample-complexitytrack-and-stop

Let μ∈S\boldsymbol\mu\in\mathcal Sμ∈S be an exponential family bandit model with K≥2K\ge2K≥2 arms, let α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2], and let r:N→(0,∞)r:\mathbb N\to(0,\infty)r:N→(0,∞) satisfy r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα). Use Chernoff's stopping rule τδ\tau_\deltaτδ​ with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ) and the sampling rule C-Tracking or D-Tracking. Then

lim sup⁡δ→0Eμ[τδ]log⁡(1/δ)≤α T∗(μ),\limsup_{\delta\to0}\frac{\mathbb E_{\boldsymbol\mu}[\tau_\delta]}{\log(1/\delta)}\le\alpha\,T^*(\boldsymbol\mu),δ→0limsup​log(1/δ)Eμ​[τδ​]​≤αT∗(μ),

where T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is the characteristic time of eq. (1).

Combined with the lower bound Eμ[τδ]≥T∗(μ) kl(δ,1−δ)\mathbb E_{\boldsymbol\mu}[\tau_\delta]\ge T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta,1-\delta)Eμ​[τδ​]≥T∗(μ)kl(δ,1−δ) of Theorem 1 for δ\deltaδ-PAC strategies, this shows that Track-and-Stop attains the optimal sample complexity as δ→0\delta\to0δ→0 (up to the factor α\alphaα, which can be taken equal to 111).

Formalization Note The statement holds for every run of either tracking rule: for every target map with values in ΣK\Sigma_KΣK​ that returns the optimal proportions w∗w^*w∗ on S\mathcal SS (the paper leaves w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) undefined when μ^(t)∉S\hat{\boldsymbol\mu}(t)\notin\mathcal Sμ^​(t)∈/S), every choice of L∞L^\inftyL∞ projections, and every tie-breaking. The expectation, the ratio and T∗(μ)T^*(\boldsymbol\mu)T∗(μ) take values in [0,∞][0,\infty][0,∞], so an infinite expectation is never read as 000. T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is the platform's characteristic time of the class of exponential family models with a unique optimal arm. "r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα)" is written as r(t)≤Dtαr(t)\le Dt^\alphar(t)≤Dtα for all t≥1t\ge1t≥1 and some constant DDD; positivity of rrr is added so that log⁡(r(t)/δ)\log(r(t)/\delta)log(r(t)/δ) is defined. "Let μ\boldsymbol\muμ be an exponential family bandit model" is read as μ∈S\boldsymbol\mu\in\mathcal Sμ∈S, the class fixed on p. 4, on which T∗T^*T∗ and w∗w^*w∗ are defined.

Preamble
import Mathlib
import Definitions.Def_OptimalBAI_TrackStop_Tracking
import Definitions.Def_OptimalBAI_TrackStop_ChernoffRule

open BanditAlgorithm Filter Topology ENNReal
Formal statement
namespace OptimalBAI.TrackStop

/-- Theorem 14 (Garivier–Kaufmann, arXiv:1602.04589v2, p. 13): asymptotic optimality of
Track-and-Stop. Let `μ` be an exponential family bandit model in `𝒮` (parameters `θ ∈ 𝒮`),
`α ∈ [1, e/2]` and `r(t) = O(t^α)`. Use Chernoff's stopping rule `τ_δ` with
`β(t, δ) = log(r(t)/δ)`, and a sampling rule `π` that is a run of C-Tracking or of D-Tracking
(for any target map `wt` with values in `Σ_K` that returns the optimal proportions `w*` on `𝒮`,
any choice of projections, any tie-breaking). Then
`limsup_{δ → 0} 𝔼_μ[τ_δ] / log(1/δ) ≤ α T*(μ)`,
with the expectation and `T*(μ)` in `[0, ∞]`. -/
theorem track_and_stop_asymptotic_optimality (F : ExpFamily) {K : ℕ} (hK : 2 ≤ K)
    (θ : Fin K → F.Θ) (hθ : θ ∈ Sθ F K)
    (α : ℝ) (hα : α ∈ Set.Icc (1 : ℝ) (Real.exp 1 / 2))
    (r : ℕ → ℝ) (hr_pos : ∀ t, 0 < r t)
    (hr : ∃ D : ℝ, ∀ t : ℕ, 1 ≤ t → r t ≤ D * (t : ℝ) ^ α)
    (wt : (Fin K → ℝ) → (Fin K → ℝ)) (hwt_simplex : ∀ μ', wt μ' ∈ simplex K)
    (hwt_opt : ∀ μ' ∈ bestArmMeans F K, IsOptimalProportion F μ' (wt μ'))
    (π : BanditPolicy K) (hπ : IsCTrackingPolicy wt π ∨ IsDTrackingPolicy wt π) :
    limsup (fun δ : ℝ =>
        (∫⁻ ω, (chernoffTime F (rateThreshold r δ) ω : ℝ≥0∞)
            ∂banditTrajMeasure (expFamilyBandit F θ) π) /
          ENNReal.ofReal (Real.log (1 / δ))) (𝓝[>] (0 : ℝ)) ≤
      ENNReal.ofReal α * baiComplexity (expFamilyBandit F θ) (modelClass F K) := by sorry

end OptimalBAI.TrackStop
Source
Garivier, Kaufmann, Optimal Best Arm Identification with Fixed Confidence, arXiv:1602.04589v2, p. 13, Theorem 14 (proof: App. D.1, pp. 27–29)
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

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