Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 5.1 — deterministic OLO has regret at least √2 LD√T/4

Proved
ModernOnlineLearning.LowerBounds.theorem_5_1

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

lower-boundsonline-learningonline-linear-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let V⊆RdV\subseteq\mathbb R^dV⊆Rd be nonempty, bounded, closed, and convex, with diameter D=max⁡v,w∈V∥v−w∥2>0D=\max_{v,w\in V}\|v-w\|_2>0D=maxv,w∈V​∥v−w∥2​>0. For every deterministic online linear optimization algorithm on VVV, every horizon T≥1T\ge1T≥1, and every loss bound L≥0L\ge0L≥0, there are loss vectors g1,…,gTg_1,\ldots,g_Tg1​,…,gT​ with ∥gt∥2≤L\|g_t\|_2\le L∥gt​∥2​≤L and a competitor u∈Vu\in Vu∈V such that

Regret⁡T(u)=∑t=1T⟨gt,xt⟩−∑t=1T⟨gt,u⟩≥24LDT.\operatorname{Regret}_T(u) =\sum_{t=1}^{T}\langle g_t,x_t\rangle -\sum_{t=1}^{T}\langle g_t,u\rangle \ge\frac{\sqrt2}{4}LD\sqrt T.RegretT​(u)=t=1∑T​⟨gt​,xt​⟩−t=1∑T​⟨gt​,u⟩≥42​​LDT​.

Thus the worst-case regret of every deterministic algorithm has square-root growth even for linear losses on any nontrivial bounded convex feasible set.

Formalization Note The book does not introduce LLL in the theorem sentence; it is quantified here as a nonnegative loss bound. The space is finite-dimensional Euclidean space, so closed and bounded VVV is compact and the diameter is attained. The loss sequence and comparator are chosen after the algorithm, as the theorem requires.

Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_LowerBounds_Protocol
Formal statement
namespace ModernOnlineLearning.LowerBounds

/-- Theorem 5.1, printed pp. 50–51. For each deterministic algorithm and
positive horizon, the adversary can choose bounded linear losses and one
feasible comparator with regret at least `√2 L D √T / 4`. -/
theorem theorem_5_1 {d : ℕ} (V : Set (EuclideanSpace ℝ (Fin d)))
    (hVne : V.Nonempty) (hVclosed : IsClosed V)
    (hVbounded : Bornology.IsBounded V) (hVconvex : Convex ℝ V)
    (hD : 0 < Metric.diam V)
    (A : ℕ → (ℕ → EuclideanSpace ℝ (Fin d)) → EuclideanSpace ℝ (Fin d))
    (hA : IsDeterministicOLOAlg V A)
    (L : ℝ) (hL : 0 ≤ L) (T : ℕ) (hT : 1 ≤ T) :
    ∃ (g : ℕ → EuclideanSpace ℝ (Fin d)) (u : EuclideanSpace ℝ (Fin d)),
      u ∈ V ∧
      (∀ t ∈ Finset.Icc 1 T, ‖g t‖ ≤ L) ∧
      Real.sqrt 2 * L * Metric.diam V * Real.sqrt (T : ℝ) / 4 ≤
        oloRegret A g u T := by sorry

end ModernOnlineLearning.LowerBounds
Source
Orabona, arXiv:1912.13213v10, Theorem 5.1, pp. 50–51
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me