Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Corollary 7.6, p. 102 — adaptive and square-root FTRL regret bounds

Proved
ModernOnlineLearning.FTRL.corollary_7_6

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

ftrlonline-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1regretstrong-convexity

Let VVV be nonempty, closed and convex, and let the closed function ψ\psiψ be μ\muμ-strongly convex on VVV, where μ>0\mu>0μ>0. Write m=min⁡z∈Vψ(z)m=\min_{z\in V}\psi(z)m=minz∈V​ψ(z), and use the regularizers ψt(z)=(ψ(z)−m)/ηt−1\psi_t(z)=(\psi(z)-m)/\eta_{t-1}ψt​(z)=(ψ(z)−m)/ηt−1​ for t=1,…,Tt=1,\ldots,Tt=1,…,T, with ψT+1=ψT\psi_{T+1}=\psi_TψT+1​=ψT​ and positive step sizes. Let xtx_txt​ be any FTRL run and suppose each loss is subdifferentiable on VVV. Then for every u∈Vu\in Vu∈V and every sequence of subgradients gt∈∂ℓt(xt)g_t\in\partial\ell_t(x_t)gt​∈∂ℓt​(xt​),

∑t=1T(ℓt(xt)−ℓt(u))≤ψ(u)−mηT−1+∑t=1Tηt−12μ∥gt∥∗2+∑t=1T−1(1ηt−1−1ηt)(ψ(xt+1)−m).\sum_{t=1}^T(\ell_t(x_t)-\ell_t(u))\le\frac{\psi(u)-m}{\eta_{T-1}}+\sum_{t=1}^T\frac{\eta_{t-1}}{2\mu}\|g_t\|_*^2+\sum_{t=1}^{T-1}\left(\frac1{\eta_{t-1}}-\frac1{\eta_t}\right)(\psi(x_{t+1})-m).t=1∑T​(ℓt​(xt​)−ℓt​(u))≤ηT−1​ψ(u)−m​+t=1∑T​2μηt−1​​∥gt​∥∗2​+t=1∑T−1​(ηt−1​1​−ηt​1​)(ψ(xt+1​)−m).

Moreover, if every loss is LLL-Lipschitz on an open neighborhood of VVV and ηt−1=αμ/(Lt)\eta_{t-1}=\alpha\sqrt\mu/(L\sqrt t)ηt−1​=αμ​/(Lt​) for positive α,L\alpha,Lα,L, then

∑t=1Tℓt(xt)−∑t=1Tℓt(u)≤(ψ(u)−mα+α)LTμ.\sum_{t=1}^T\ell_t(x_t)-\sum_{t=1}^T\ell_t(u)\le\left(\frac{\psi(u)-m}{\alpha}+\alpha\right)\frac{L\sqrt T}{\sqrt\mu}.t=1∑T​ℓt​(xt​)−t=1∑T​ℓt​(u)≤(αψ(u)−m​+α)μ​LT​​.

The first statement retains the effect of changes in the regularizer; the second gives the chapter's explicit square-root regret rate.

Formalization Note Rounds begin at 111 and step sizes at 000. The minimum mmm is supplied by a minimizing point; the existence of that point and of the run is implicit in the book. Losses are real-valued on the ambient space. The book's subdifferentiability is represented by full-space subgradients at every point of VVV. Positivity of μ\muμ, α\alphaα, LLL, and the used step sizes excludes zero denominators; T≥1T\ge1T≥1 excludes an empty schedule.

Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_FTRL_Defs

set_option autoImplicit false
Formal statement
namespace ModernOnlineLearning.FTRL

/-- Orabona, Corollary 7.6, p. 102: both the adaptive and square-root-schedule bounds. -/
theorem corollary_7_6
    {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    [FiniteDimensional ℝ E]
    (V : Set E) (hVclosed : IsClosed V) (hVconvex : Convex ℝ V)
    (hVnonempty : V.Nonempty) (ψ : E → ℝ)
    (hψclosed : IsClosedFunctionOn V ψ)
    (mu : ℝ) (hmu : 0 < mu) (hψstrong : StrongConvexOn V mu ψ)
    (z₀ : E) (hz₀ : IsMinimizerOn V ψ z₀)
    (ℓ : ℕ → E → ℝ) (η : ℕ → ℝ) (T : ℕ) (hT : 1 ≤ T)
    (hη : ∀ s < T, 0 < η s)
    (x : ℕ → E)
    (hRun : IsFTRLRunUpTo V (scheduledRegularizer ψ (ψ z₀) η T) ℓ x T)
    (hSubdiff : ∀ t ∈ Finset.Icc 1 T, IsSubdifferentiableOn V (ℓ t)) :
    (∀ g : ℕ → (E →L[ℝ] ℝ),
      (∀ t ∈ Finset.Icc 1 T, IsSubgradientAt (ℓ t) (x t) (g t)) →
      ∀ u ∈ V,
        (∑ t ∈ Finset.Icc 1 T, (ℓ t (x t) - ℓ t u)) ≤
          (ψ u - ψ z₀) / η (T - 1) +
          (∑ t ∈ Finset.Icc 1 T, η (t - 1) / (2 * mu) * ‖g t‖ ^ 2) +
          (∑ t ∈ Finset.Icc 1 (T - 1),
            (1 / η (t - 1) - 1 / η t) * (ψ (x (t + 1)) - ψ z₀))) ∧
    (∀ (α L : ℝ), 0 < α → 0 < L →
      (∀ t ∈ Finset.Icc 1 T, IsLipschitzOnOpenNeighborhood V (ℓ t) L) →
      (∀ t ∈ Finset.Icc 1 T,
        η (t - 1) = α * Real.sqrt mu / (L * Real.sqrt (t : ℝ))) →
      ∀ u ∈ V,
        (∑ t ∈ Finset.Icc 1 T, ℓ t (x t)) -
          (∑ t ∈ Finset.Icc 1 T, ℓ t u) ≤
          ((ψ u - ψ z₀) / α + α) * (L * Real.sqrt (T : ℝ) / Real.sqrt mu)) := by sorry

end ModernOnlineLearning.FTRL
Source
Orabona, arXiv:1912.13213v10, Corollary 7.6, p. 102
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