Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 (2.9): ∥f′(TM(x))∥≤12(L+M)rM(x)2\|f'(T_M(x))\| \le \frac12(L+M) r_M(x)^2∥f′(TM​(x))∥≤21​(L+M)rM​(x)2

Proved
CubicNewton.Nonconvex.grad_norm_at_step

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

cubic-regularizationgradient-boundp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let F⊆RnF \subseteq \mathbb{R}^nF⊆Rn be a closed convex set with nonempty interior, and let fff be twice differentiable on FFF, with gradient f′(x)f'(x)f′(x) and Hessian f′′(x)f''(x)f′′(x). Assume the Hessian is Lipschitz continuous on FFF in the spectral norm (Assumption 1): for some L>0L > 0L>0,

∥f′′(x)−f′′(y)∥≤L ∥x−y∥for all x,y∈F.\|f''(x) - f''(y)\| \le L\,\|x - y\| \qquad \text{for all } x, y \in F.∥f′′(x)−f′′(y)∥≤L∥x−y∥for all x,y∈F.

For M>0M > 0M>0 let T=TM(x)T = T_M(x)T=TM​(x) be any global minimizer over y∈Rny \in \mathbb{R}^ny∈Rn of the cubic model

⟨f′(x),y−x⟩+12⟨f′′(x)(y−x),y−x⟩+M6∥y−x∥3,\langle f'(x), y - x\rangle + \tfrac12\langle f''(x)(y - x), y - x\rangle + \tfrac{M}{6}\|y - x\|^3,⟨f′(x),y−x⟩+21​⟨f′′(x)(y−x),y−x⟩+6M​∥y−x∥3,

and write rM(x)=∥x−TM(x)∥r_M(x) = \|x - T_M(x)\|rM​(x)=∥x−TM​(x)∥.

Let x∈Fx \in Fx∈F. If TM(x)∈FT_M(x) \in FTM​(x)∈F, then

∥f′(TM(x))∥≤12(L+M) rM(x)2.\|f'(T_M(x))\| \le \tfrac12 (L + M)\, r_M(x)^2 .∥f′(TM​(x))∥≤21​(L+M)rM​(x)2.

The gradient at the new point is quadratically small in the step length. This bound gives the first entry of the optimality measure in Lemma 5.

Formalization Note The space is EuclideanSpace ℝ (Fin n). The gradient and Hessian are given as maps g and H with HasGradientAt f (g x) x and HasFDerivAt g (H x) x at every x ∈ F (two-sided derivatives, also at boundary points of FFF); the operator norm on H x is the spectral norm. The step TM(x)T_M(x)TM​(x) is an arbitrary global minimizer of the cubic model (IsCubicStep), never a merely stationary point. The base point xxx is taken in FFF, as throughout Section 2 (the Lipschitz bound (2.2) is applied between xxx and TM(x)T_M(x)TM​(x)).

Preamble
import Mathlib
import Definitions.Def_CubicNewton_Shared_IsCubicStep

open scoped RealInnerProductSpace
Formal statement
namespace CubicNewton.Nonconvex

/-- Nesterov–Polyak 2006, Lemma 3, (2.9), p. 183: if `T_M(x) ∈ F` then
`‖f′(T_M(x))‖ ≤ ½(L + M) r_M(x)²`. -/
theorem grad_norm_at_step {n : ℕ}
    (F : Set (EuclideanSpace ℝ (Fin n))) (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (H : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n) →L[ℝ] EuclideanSpace ℝ (Fin n))
    (L : ℝ)
    (hF_closed : IsClosed F) (hF_convex : Convex ℝ F)
    (hF_int : (interior F).Nonempty)
    (hf : ∀ x ∈ F, HasGradientAt f (g x) x) (hg : ∀ x ∈ F, HasFDerivAt g (H x) x)
    (hL : 0 < L) (hLip : ∀ x ∈ F, ∀ y ∈ F, ‖H x - H y‖ ≤ L * ‖x - y‖)
    (M : ℝ) (hM : 0 < M) (x T : EuclideanSpace ℝ (Fin n)) (hx : x ∈ F) (hTF : T ∈ F)
    (hT : CubicNewton.Shared.IsCubicStep g H M x T) :
    ‖g T‖ ≤ 1 / 2 * (L + M) * ‖x - T‖ ^ 2 := by sorry

end CubicNewton.Nonconvex
Source
Nesterov & Polyak, Cubic regularization of Newton method and its global performance, Math. Program. Ser. A 108 (2006) 177–205, DOI 10.1007/s10107-006-0706-8, p. 183, Lemma 3, inequality (2.9)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Fix n∈Nn \in \mathbb{N}n∈N and E=RnE = \mathbb{R}^nE=Rn with the Euclidean norm and inner product. The data are:

  • a set F⊆EF \subseteq EF⊆E;
  • functions f:E→Rf : E \to \mathbb{R}f:E→R and g:E→Eg : E \to Eg:E→E;
  • a map HHH sending each x∈Ex \in Ex∈E to a continuous linear operator H(x)H(x)H(x) on EEE;
  • real numbers LLL and MMM;
  • points x,T∈Ex, T \in Ex,T∈E.

The hypotheses are:

  1. FFF is closed and convex, and its interior is nonempty.
  2. For every y∈Fy \in Fy∈F, fff has gradient g(y)g(y)g(y) at yyy.
  3. For every y∈Fy \in Fy∈F, ggg has Fréchet derivative H(y)H(y)H(y) at yyy.
  4. L>0L > 0L>0.
  5. For all y,z∈Fy, z \in Fy,z∈F, ∥H(y)−H(z)∥≤L∥y−z∥\|H(y)-H(z)\| \le L\|y-z\|∥H(y)−H(z)∥≤L∥y−z∥ in operator norm.
  6. M>0M > 0M>0.
  7. x∈Fx \in Fx∈F and T∈FT \in FT∈F. Membership of TTT in FFF is assumed here, not derived.
  8. The imported predicate CubicNewton.Shared.IsCubicStep holds of (g,H,M,x,T)(g, H, M, x, T)(g,H,M,x,T). Its definition is not shown.

The conclusion is

∥g(T)∥  ≤  12 (L+M) ∥x−T∥2.\|g(T)\| \;\le\; \tfrac12\,(L+M)\,\|x-T\|^2 .∥g(T)∥≤21​(L+M)∥x−T∥2.

Degenerate cases:

  • If T=xT = xT=x, the conclusion says g(x)=0g(x) = 0g(x)=0.
  • If n=0n = 0n=0, the statement is trivial.
  • If hypothesis 8 cannot be satisfied, the statement is vacuous.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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