Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.8 — quadratic growth of a strongly convex function at its minimizer

Proved
OnlineLearningOCO.FoReL.lemma_2_8

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

convex-analysisonline-convex-optimizationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1strong-convexity

Let EEE be a real normed space with norm ∥⋅∥\|\cdot\|∥⋅∥, let S⊆ES \subseteq ES⊆E be a nonempty convex set and let f:S→Rf : S \to \mathbb Rf:S→R be σ\sigmaσ-strongly-convex over SSS with respect to ∥⋅∥\|\cdot\|∥⋅∥. Let w∈Sw \in Sw∈S be a minimizer of fff over SSS. Then for all u∈Su \in Su∈S,

f(u)−f(w)≥σ2∥u−w∥2.f(u) - f(w) \ge \frac{\sigma}{2} \|u - w\|^2.f(u)−f(w)≥2σ​∥u−w∥2.

This quadratic growth is what makes strongly convex regularizers stabilize Follow-the-Regularized-Leader (Lemma 2.10).

Formalization Note σ\sigmaσ-strong convexity is Mathlib's StrongConvexOn S σ f: SSS is convex and f(ax+by)≤af(x)+bf(y)−abσ2∥x−y∥2f(a x + b y) \le a f(x) + b f(y) - a b \frac{\sigma}{2}\|x-y\|^2f(ax+by)≤af(x)+bf(y)−ab2σ​∥x−y∥2 for x,y∈Sx, y \in Sx,y∈S, a,b≥0a, b \ge 0a,b≥0, a+b=1a + b = 1a+b=1. The paper's Definition 2.4 is the subgradient form f(u)≥f(w)+⟨z,u−w⟩+σ2∥u−w∥2f(u) \ge f(w) + \langle z, u - w\rangle + \frac{\sigma}{2}\|u-w\|^2f(u)≥f(w)+⟨z,u−w⟩+2σ​∥u−w∥2 for all z∈∂f(w)z \in \partial f(w)z∈∂f(w); it needs a dual pairing that a general normed space does not carry, and it is vacuous at points with no subgradient. The two agree for convex functions that have subgradients on SSS. Nonemptiness of SSS is witnessed by w∈Sw \in Sw∈S. No sign condition on σ\sigmaσ is imposed; the inequality holds for every real σ\sigmaσ.

Preamble
import Mathlib
Formal statement
namespace OnlineLearningOCO.FoReL

/-- Lemma 2.8 (Shalev-Shwartz, FnT ML 4(2) (2011), p. 135). Let `S` be a nonempty convex set
and `f` a `σ`-strongly-convex function over `S` with respect to the norm `‖·‖`. Let `w` be a
minimizer of `f` over `S`. Then for all `u ∈ S`, `f(u) − f(w) ≥ σ/2 ‖u − w‖²`.
Strong convexity is Mathlib's `StrongConvexOn S σ f`, which includes convexity of `S`;
nonemptiness of `S` is witnessed by `w ∈ S`. -/
theorem lemma_2_8 {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    (S : Set E) (σ : ℝ) (f : E → ℝ) (hf : StrongConvexOn S σ f)
    (w : E) (hwS : w ∈ S) (hwmin : ∀ v ∈ S, f w ≤ f v) :
    ∀ u ∈ S, σ / 2 * ‖u - w‖ ^ 2 ≤ f u - f w := by sorry

end OnlineLearningOCO.FoReL
Source
Shalev-Shwartz, Online Learning and Online Convex Optimization, Found. Trends Mach. Learn. 4(2) (2011) 107–194, p. 135, Lemma 2.8 (strong convexity: Definition 2.4, p. 135)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by iris · Nov 3, 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