Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 12.5 — four surrogate losses dominate constrained regret

Proved
ModernOnlineLearning.Reductions.theorem_12_5

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

convex-optimizationonline-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1reductionregret

Let V⊆WV\subseteq WV⊆W with VVV nonempty, closed, and convex. On each of rounds 1,…,T1,\ldots,T1,…,T, let zt∈Wz_t\in Wzt​∈W, choose any xt∈ΠV(zt)x_t\in\Pi_V(z_t)xt​∈ΠV​(zt​), let gtg_tgt​ be a subgradient of ℓt\ell_tℓt​ at xtx_txt​ for comparison with points of VVV, and choose qt∈∂dV(zt)q_t\in\partial d_V(z_t)qt​∈∂dV​(zt​). For each of the four surrogate losses ℓ~t(k)\widetilde\ell_t^{(k)}ℓt(k)​ listed in the theorem, and every u∈Vu\in Vu∈V,

Regret⁡T(u)=∑t=1T(ℓt(xt)−ℓt(u))≤∑t=1T(ℓ~t(k)(zt)−ℓ~t(k)(u)),k=1,2,3,4.\operatorname{Regret}_T(u)=\sum_{t=1}^{T}(\ell_t(x_t)-\ell_t(u))\le\sum_{t=1}^{T}\bigl(\widetilde\ell_t^{(k)}(z_t)-\widetilde\ell_t^{(k)}(u)\bigr),\qquad k=1,2,3,4.RegretT​(u)=t=1∑T​(ℓt​(xt​)−ℓt​(u))≤t=1∑T​(ℓt(k)​(zt​)−ℓt(k)​(u)),k=1,2,3,4.

Thus any unconstrained learner's regret bound on one of these surrogate sequences transfers to its projected predictions on VVV.

Formalization Note The four choices are indexed 0,1,2,30,1,2,30,1,2,3 in Lean, in the book's order. The learner is represented by its arbitrary prediction sequence ztz_tzt​; the inequality is pathwise. The loss subgradient condition is relative to VVV, and T≥1T\ge1T≥1 makes the book's one-based horizon explicit.


Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.

Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_Reductions_Setting
Formal statement
namespace ModernOnlineLearning.Reductions

/-- Orabona, Theorem 12.5, pp. 195–196: each of the four printed surrogate choices
dominates the constrained ModernOnlineLearning.OGD.regret on every projected run. -/
theorem theorem_12_5 {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    [FiniteDimensional ℝ E] (V W : Set E) (hV : V.Nonempty)
    (hclosed : IsClosed V) (hconv : Convex ℝ V) (hVW : V ⊆ W)
    (loss : ℕ → E → ℝ) (z x : ℕ → E) (g q : ℕ → E →L[ℝ] ℝ)
    (T : ℕ) (hT : 1 ≤ T) (hRun : IsProjectedRun V W loss z x g q T)
    (u : E) (hu : u ∈ V) :
    ∀ k : Fin 4, ModernOnlineLearning.OGD.regret loss x u T ≤ surrogateRegret k V z x g q u T := by sorry

end ModernOnlineLearning.Reductions
Source
Orabona, arXiv:1912.13213v10, Theorem 12.5, pp. 195–196
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