Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.5, p. 268 — if (3.4) holds, then f(x) − f(y) ≤ ∇f(x)⊤(x − y) − (1/(2β))‖∇f(x) − ∇f(y)‖²

Proved
ConvexOptAlg.SmoothGD.lemma_3_5

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

convex-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1smoothness

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R be differentiable, let β>0\beta>0β>0, and suppose that (3.4) holds: for all x,y∈Rnx,y\in\mathbb R^nx,y∈Rn,

0≤f(x)−f(y)−∇f(y)⊤(x−y)≤β2∥x−y∥2.0\le f(x)-f(y)-\nabla f(y)^\top(x-y)\le\frac\beta2\|x-y\|^2.0≤f(x)−f(y)−∇f(y)⊤(x−y)≤2β​∥x−y∥2.

Then for all x,y∈Rnx,y\in\mathbb R^nx,y∈Rn,

f(x)−f(y)≤∇f(x)⊤(x−y)−12β∥∇f(x)−∇f(y)∥2.f(x)-f(y)\le\nabla f(x)^\top(x-y)-\frac{1}{2\beta}\|\nabla f(x)-\nabla f(y)\|^2.f(x)−f(y)≤∇f(x)⊤(x−y)−2β1​∥∇f(x)−∇f(y)∥2.

This sharpens the basic subgradient inequality f(x)−f(y)≤∇f(x)⊤(x−y)f(x)-f(y)\le\nabla f(x)^\top(x-y)f(x)−f(y)≤∇f(x)⊤(x−y) under smoothness, and shows that (3.4) implies co-coercivity of the gradient (3.6).

Formalization Note The hypothesis is the two-sided inequality (3.4), as in the book, not "convex and β\betaβ-smooth". The gradient is an explicit map ggg with g(x)=∇f(x)g(x)=\nabla f(x)g(x)=∇f(x); β>0\beta>0β>0 is implicit in the page, which divides by β\betaβ.

Preamble
import Mathlib
import Definitions.Def_ConvexOptAlg_SmoothGD_Defs
open scoped InnerProductSpace
Formal statement
namespace ConvexOptAlg.SmoothGD

/-- Lemma 3.5 (Bubeck, arXiv:1405.4980v2, p. 268): let `f : ℝⁿ → ℝ` be differentiable with
gradient map `g`, `β > 0`, and suppose (3.4) holds for all `x, y`:
`0 ≤ f(x) − f(y) − ∇f(y)⊤(x − y) ≤ (β/2)‖x − y‖²`. Then for all `x, y`,
`f(x) − f(y) ≤ ∇f(x)⊤(x − y) − (1/(2β))‖∇f(x) − ∇f(y)‖²`.
The hypothesis is the two-sided inequality (3.4), as printed, not convexity and β-smoothness. -/
theorem lemma_3_5 {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n)) (β : ℝ) (hβ : 0 < β)
    (hgrad : ∀ x, HasGradientAt f (g x) x)
    (h34 : ∀ x y : EuclideanSpace ℝ (Fin n),
      0 ≤ f x - f y - ⟪g y, x - y⟫_ℝ ∧ f x - f y - ⟪g y, x - y⟫_ℝ ≤ β / 2 * ‖x - y‖ ^ 2)
    (x y : EuclideanSpace ℝ (Fin n)) :
    f x - f y ≤ ⟪g x, x - y⟫_ℝ - 1 / (2 * β) * ‖g x - g y‖ ^ 2 := by sorry

end ConvexOptAlg.SmoothGD
Source
Bubeck, arXiv:1405.4980v2, Lemma 3.5, p. 268
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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