Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Suboptimality bound from strong convexity

Proved
ConvexOptimization.strong_convexity_quadratic_lower_bound

by Shuze Chen · Aug 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexoptimizationnewtonmethodoptimizationalgorithms

Suboptimality is controlled by the gradient norm — inequality (9.9) of Boyd & Vandenberghe, the standard stopping criterion for unconstrained minimization.

Let f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R have gradient field g=∇fg = \nabla fg=∇f, and let m>0m > 0m>0 be such that fff satisfies the strong-convexity lower bound

f(y)  ≥  f(x)+⟨∇f(x),y−x⟩+m2∥y−x∥22for all x,y∈Rn.f(y) \;\ge\; f(x) + \langle \nabla f(x), y - x\rangle + \frac{m}{2}\lVert y - x\rVert_2^{2} \qquad \text{for all } x, y \in \mathbb{R}^n .f(y)≥f(x)+⟨∇f(x),y−x⟩+2m​∥y−x∥22​for all x,y∈Rn.

Let x⋆x^{\star}x⋆ be a global minimizer of fff and write p⋆=f(x⋆)p^{\star} = f(x^{\star})p⋆=f(x⋆) for the optimal value. Then for every x∈Rnx \in \mathbb{R}^nx∈Rn

f(x)−p⋆  ≤  ∥∇f(x)∥222m.f(x) - p^{\star} \;\le\; \frac{\lVert \nabla f(x)\rVert_2^{2}}{2m} .f(x)−p⋆≤2m∥∇f(x)∥22​​.

The bound converts a computable quantity, the gradient norm at the current iterate, into a certificate of suboptimality: ∥∇f(x)∥2≤(2mε)1/2\lVert \nabla f(x)\rVert_2 \le (2m\varepsilon)^{1/2}∥∇f(x)∥2​≤(2mε)1/2 already guarantees f(x)−p⋆≤εf(x) - p^{\star} \le \varepsilonf(x)−p⋆≤ε. It is what turns the gradient contraction of Newton's quadratically convergent phase into a bound on the objective error, and hence is used directly in the mission's goal theorem.

Formalization Note The gradient is an explicit field g with ∀ x, HasGradientAt f (g x) x; the minimizer is stated as IsMinOn f Set.univ xstar, and p⋆p^{\star}p⋆ appears as f xstar. Strong convexity enters as the displayed inequality for all x,yx,yx,y rather than through a Hessian hypothesis, which keeps the statement usable for functions that are not twice differentiable. Source: B&V §9.1.2 p. 460, eq. (9.9).

Preamble
import Mathlib

open scoped RealInnerProductSpace ENNReal
open MeasureTheory

Formal statement
theorem ConvexOptimization.strong_convexity_quadratic_lower_bound {n : ℕ} (m : ℝ) (hm : 0 < m)
    (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg : ∀ x, HasGradientAt f (g x) x)
    (hsc : ∀ x y : EuclideanSpace ℝ (Fin n),
      f x + ⟪g x, y - x⟫ + m / 2 * ‖y - x‖ ^ 2 ≤ f y)
    (xstar : EuclideanSpace ℝ (Fin n)) (hstar : IsMinOn f Set.univ xstar)
    (x : EuclideanSpace ℝ (Fin n)) :
    f x - f xstar ≤ ‖g x‖ ^ 2 / (2 * m) := by
  sorry
Source
Boyd & Vandenberghe 2004, Convex Optimization, Cambridge University Press (seventh printing with corrections, 2009), https://web.stanford.edu/~boyd/cvxbook/, pp. 460, §9.1.2 eq. (9.9) (suboptimality bounded by the gradient norm)

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