Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 14.2, p. 228 — online mirror descent dynamic regret with the terminal Bregman term

Proved
ModernOnlineLearning.Dynamic.theorem_14_2

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

dynamic-regretmirror-descentonline-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let V⊆XV\subseteq XV⊆X be a nonempty closed convex feasible set in a finite-dimensional real normed space. Let ψ\psiψ be closed and λ\lambdaλ-strongly convex on V∩int⁡XV\cap\operatorname{int}XV∩intX, with λ>0\lambda>0λ>0, and let x1,…,xT+1x_1,\ldots,x_{T+1}x1​,…,xT+1​ be an OMD run with constant learning rate η>0\eta>0η>0 entirely in int⁡X\operatorname{int}XintX. For T≥1T\ge1T≥1, every feasible comparator sequence u1,…,uTu_1,\ldots,u_Tu1​,…,uT​ satisfies

DRegret⁡T(u1,…,uT)≤Bψ(uT;x1)+Q∑t=2T∥ut−ut−1∥η+η2λ∑t=1T∥gt∥∗2−Bψ(uT;xT+1)η,Q=max⁡1≤t≤T∥∇ψ(xt)−∇ψ(x1)∥∗.\operatorname{DRegret}_T(u_1,\ldots,u_T)\le \frac{B_\psi(u_T;x_1)+Q\sum_{t=2}^T\lVert u_t-u_{t-1}\rVert}{\eta} +\frac{\eta}{2\lambda}\sum_{t=1}^T\lVert g_t\rVert_*^2 -\frac{B_\psi(u_T;x_{T+1})}{\eta}, \qquad Q=\max_{1\le t\le T}\lVert\nabla\psi(x_t)-\nabla\psi(x_1)\rVert_*.DRegretT​(u1​,…,uT​)≤ηBψ​(uT​;x1​)+Q∑t=2T​∥ut​−ut−1​∥​+2λη​t=1∑T​∥gt​∥∗2​−ηBψ​(uT​;xT+1​)​,Q=1≤t≤Tmax​∥∇ψ(xt​)−∇ψ(x1​)∥∗​.

The theorem measures the cost of comparator movement while retaining the final Bregman improvement. A constant comparator has zero path length.

Formalization Note The horizon and the two denominators are positive. The model uses real-valued losses on the evaluated domain and relative subgradients on VVV, which are weaker than the book's full-space convention but suffice for the displayed comparison. The OMD run includes the interior condition and all permissible argmin choices.

Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_Dynamic_Defs
Formal statement
namespace ModernOnlineLearning.Dynamic

/-- Theorem 14.2, p. 228: dynamic regret of OMD, including the terminal
Bregman term. The maximum ranges over the nonempty finite set `1..T`. -/
theorem theorem_14_2
    {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
    (X V : Set E) (ψ : E → ℝ) (η : ℝ) (ℓ : ℕ → E → ℝ)
    (x u : ℕ → E) (g : ℕ → E →L[ℝ] ℝ) (T : ℕ) (lam : ℝ)
    (hT : 1 ≤ T) (hη : 0 < η) (hlam : 0 < lam)
    (hVsub : V ⊆ X) (hVne : V.Nonempty) (hVclosed : IsClosed V)
    (hVconv : Convex ℝ V) (hXconv : Convex ℝ X)
    (hψclosed : ClosedRegularizerOn X ψ)
    (hψstrict : StrictConvexOn ℝ X ψ)
    (hψdiff : DifferentiableOn ℝ ψ (interior X))
    (hψstrong : StrongConvexOn (V ∩ interior X) lam ψ)
    (hrun : IsOMDRun X V ψ (fun _ => η) ℓ x g T)
    (hu : ∀ t ∈ Finset.Icc 1 T, u t ∈ V) :
    dynamicRegret ℓ x u T ≤
      (BeckTeboulleMD.EMDA.bregman ψ (u T) (x 1) +
        maxGradientShift ψ x T hT * pathLength u T) / η +
      (η / (2 * lam)) * (∑ t ∈ Finset.Icc 1 T, ‖g t‖ ^ 2) -
      BeckTeboulleMD.EMDA.bregman ψ (u T) (x (T + 1)) / η := by sorry

end ModernOnlineLearning.Dynamic
Source
Orabona, arXiv:1912.13213v10, Theorem 14.2, p. 228 (PDF p. 240)
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