Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.9 — FKM algorithm regret bound (goal)

Disproved
OnlineConvexOpt.BanditConvex.fkm_algorithm_regret

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

bandit-convex-optimizationonline-convex-optimizationregret

Statement (Theorem 6.9, p. 113, PDF p. 135). Algorithm 23 (the FKM algorithm) with parameters η=D/(nT3/4)\eta = D/(nT^{3/4})η=D/(nT3/4), δ=1/T1/4\delta = 1/T^{1/4}δ=1/T1/4 guarantees the expected regret bound

∑t=1TE[ft(yt)]−min⁡x∈K∑t=1Tft(x)≤9nDGT3/4=O(T3/4).\sum_{t=1}^T \mathbb E[f_t(y_t)] - \min_{x \in K}\sum_{t=1}^T f_t(x) \le 9nDGT^{3/4} = O(T^{3/4}).t=1∑T​E[ft​(yt​)]−x∈Kmin​t=1∑T​ft​(x)≤9nDGT3/4=O(T3/4).

Algorithm 23 is the bandit-feedback instantiation of the reduction (Lemma 6.5) with the sphere-sampling gradient estimator (Lemma 6.7): it plays yt=xt+δuty_t = x_t + \delta u_tyt​=xt​+δut​ for a fresh uniform ut∼Su_t \sim Sut​∼S, observes only ft(yt)f_t(y_t)ft​(yt​), forms gt=nδft(yt)utg_t = \frac{n}{\delta} f_t(y_t) u_tgt​=δn​ft​(yt​)ut​, and runs projected gradient descent xt+1=ΠKδ[xt−ηgt]x_{t+1} = \Pi_{K_\delta}[x_t - \eta g_t]xt+1​=ΠKδ​​[xt​−ηgt​] onto the shrunk set Kδ={z∣(1−δ)−1z∈K}K_\delta = \{z \mid (1-\delta)^{-1} z \in K\}Kδ​={z∣(1−δ)−1z∈K} (Algorithm 23 projects onto KδK_\deltaKδ​, not KKK, to keep room for spherical sampling near the boundary). This is the historically earliest bandit convex optimization algorithm, applying online gradient descent to the bandit setting.

Formalization Note. KKK is assumed convex, to contain the unit ball centered at 000, and to have diameter at most DDD; the cost functions ftf_tft​ are GGG-Lipschitz and bounded by 111 in absolute value on KKK — the chapter's standing simplifying assumptions for Algorithm 23 (p. 112), stated as explicit hypotheses. min⁡x∈K\min_{x\in K}minx∈K​ is rendered as an infimum ⨅ z ∈ K. Integrability of ft(yt)f_t(y_t)ft​(yt​) is required explicitly for the expectation to be well-defined. The bound 9nDGT^{3/4} is the book's own explicit constant, kept exactly (not rounded, and the O(T^{3/4}) restated as the same explicit bound, since it is asymptotically worse than Chapter III's full-information T\sqrt TT​ rate by design, not an approximation to be improved).


Retired. Retired because its Lean statement was unfaithful to Hazan (see the replacement's Formalization Note); replaced by OnlineConvexOpt.BanditConvex.fkm_algorithm_regret_v2.

Preamble
import Mathlib
import Definitions.Def_OnlineConvexOpt_BanditConvex_UniformOnUnitSphere
import Definitions.Def_OnlineConvexOpt_FirstOrder_Protocol

open MeasureTheory
Formal statement
namespace OnlineConvexOpt.BanditConvex

/-- Theorem 6.9 (Hazan, *Introduction to Online Convex Optimization*, 2nd ed.,
arXiv:1909.05207v3, p. 113, PDF p. 135). Algorithm 23 (the FKM algorithm) with parameters
`η = D / (n T^{3/4})`, `δ = 1 / T^{1/4}` guarantees the following expected regret bound:
`Σ_{t=1}^T E[f_t(y_t)] - min_{x ∈ K} Σ_{t=1}^T f_t(x) ≤ 9 n D G T^{3/4} = O(T^{3/4})`.

`K ⊆ EuclideanSpace ℝ (Fin n)` contains the unit ball centered at `0` (p. 112, PDF p. 134), is
convex with diameter `≤ D`, and carries `G`-Lipschitz cost functions `f_t` bounded by `1` in
absolute value on `K` (the chapter's standing simplifying assumptions for Algorithm 23, stated
here as explicit hypotheses). `Kδ` is the shrunk Minkowski set `{z | (1 - δ)⁻¹ z ∈ K}` (p. 112,
PDF p. 134) that Algorithm 23 projects onto, kept as its own object (never conflated with `K`).
`u_t ∼ S` is the round-`t` uniformly drawn unit vector, `y_t = x_t + δ u_t` the played point, and
`g_t = (n/δ) f_t(y_t) u_t` the gradient estimate driving the projected-gradient update
`x_{t+1} = Π_{Kδ}[x_t - η g_t]` of line 5 of Algorithm 23 (reusing `IsMetricProjection` from
Chapter III's `Protocol`). -/
theorem fkm_algorithm_regret
    {n : ℕ} (hn : 0 < n)
    {Ω : Type*} [MeasurableSpace Ω] {Prob : Measure Ω} [IsProbabilityMeasure Prob]
    (K Kδ : Set (EuclideanSpace ℝ (Fin n))) (hKconv : Convex ℝ K)
    (hKball : Metric.closedBall (0 : EuclideanSpace ℝ (Fin n)) 1 ⊆ K)
    (D G : ℝ) (hDpos : 0 < D) (hGpos : 0 < G)
    (hD : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ D)
    (T : ℕ) (hT : 1 ≤ T)
    (η δ : ℝ) (hη : η = D / ((n : ℝ) * (T : ℝ) ^ (3 / 4 : ℝ)))
    (hδ : δ = 1 / (T : ℝ) ^ (1 / 4 : ℝ))
    (hKδ : ∀ z : EuclideanSpace ℝ (Fin n), z ∈ Kδ ↔ (1 - δ)⁻¹ • z ∈ K)
    (f : ℕ → EuclideanSpace ℝ (Fin n) → ℝ)
    (hfG : ∀ t, ∀ x ∈ K, ∀ y ∈ K, |f t x - f t y| ≤ G * dist x y)
    (hfbdd : ∀ t, ∀ x ∈ K, |f t x| ≤ 1)
    (x y u g : ℕ → Ω → EuclideanSpace ℝ (Fin n))
    (hx0 : ∀ ω, x 0 ω = 0)
    (hu : ∀ t, IsUniformOnUnitSphere Prob (u t))
    (hy : ∀ t ω, y t ω = x t ω + δ • u t ω)
    (hg : ∀ t ω, g t ω = ((n : ℝ) / δ * f t (y t ω)) • u t ω)
    (hstep : ∀ t ω,
      OnlineConvexOpt.FirstOrder.IsMetricProjection Kδ (x t ω - η • g t ω) (x (t + 1) ω))
    (hint : ∀ t, Integrable (fun ω => f t (y t ω)) Prob) :
    (∑ t ∈ Finset.range T, ∫ ω, f t (y t ω) ∂Prob) - ⨅ z ∈ K, ∑ t ∈ Finset.range T, f t z ≤
      9 * n * D * G * (T : ℝ) ^ (3 / 4 : ℝ) := by sorry

end OnlineConvexOpt.BanditConvex
Source
Hazan, Introduction to Online Convex Optimization, 2nd ed., arXiv:1909.05207v3, p. 113, Theorem 6.9 (PDF p. 135)
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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