Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4.5) — the squared gradient bounds the optimality gap, ∇JT∇J≥λ[J(w)−J(w∗)]\nabla J^T\nabla J \ge \lambda[J(w)-J(w^*)]∇JT∇J≥λ[J(w)−J(w∗)]

Proved
DynSampleSize.Stoch.eq_4_5

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

convex-optimizationgradient-dominancep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let J:Rm→RJ:\mathbb R^m\to\mathbb RJ:Rm→R be twice continuously differentiable and uniformly convex with constants 0<λ<L0<\lambda<L0<λ<L, i.e. λ∥d∥2≤dT∇2J(w)d≤L∥d∥2\lambda\|d\|^2\le d^T\nabla^2J(w)d\le L\|d\|^2λ∥d∥2≤dT∇2J(w)d≤L∥d∥2 for all w,dw,dw,d (4.2), and let w∗w^*w∗ minimize JJJ. Then for every w∈Rmw\in\mathbb R^mw∈Rm,

∇J(w)T∇J(w)  ≥  λ [J(w)−J(w∗)].\nabla J(w)^T\nabla J(w)\;\ge\;\lambda\,[J(w)-J(w^*)].∇J(w)T∇J(w)≥λ[J(w)−J(w∗)].

This gradient-dominance inequality converts a decrease proportional to ∥∇J∥2\|\nabla J\|^2∥∇J∥2 into a contraction of the optimality gap; it is the step from (4.26) to (4.27).

Formalization Note The paper states the inequality at the iterate wkw_kwk​, which is an arbitrary point there; it is stated for every www. The constant is the paper's λ\lambdaλ (named lam), not the sharper 2λ2\lambda2λ.

Preamble
import Mathlib
import Definitions.Def_DynSampleSize_Stoch_UniformConvexity
Formal statement
namespace DynSampleSize.Stoch

/-- (4.5), p. 8: under (4.2), with `wstar` a minimizer of `J`, for every `w`,
`∇J(w)ᵀ∇J(w) ≥ λ [J(w) − J(w*)]`. -/
theorem eq_4_5 {m : ℕ} (J : EuclideanSpace ℝ (Fin m) → ℝ) (lam L : ℝ)
    (hJ : UniformlyConvex J lam L) (wstar : EuclideanSpace ℝ (Fin m))
    (hwstar : ∀ w, J wstar ≤ J w) (w : EuclideanSpace ℝ (Fin m)) :
    lam * (J w - J wstar) ≤ inner ℝ (gradient J w) (gradient J w) := by sorry

end DynSampleSize.Stoch
Source
Byrd, Chin, Nocedal, Wu, Sample size selection in optimization methods for machine learning, Math. Program. (2012), doi:10.1007/s10107-012-0572-5 — authors' version of 18 Oct 2011, p. 8, (4.5)
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).

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