Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2.5): the first-order condition satisfied by a cubic step TM(x)T_M(x)TM​(x)

Proved
CubicNewton.Nonconvex.cubicStep_first_order

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

cubic-regularizationoptimality-conditionsp2o-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)∥.

Then for every x∈Fx \in Fx∈F the step T=TM(x)T = T_M(x)T=TM​(x) satisfies the system of nonlinear equations

f′(x)+f′′(x)(T−x)+12M ∥T−x∥ (T−x)=0.f'(x) + f''(x)(T - x) + \tfrac12 M\,\|T - x\|\,(T - x) = 0 .f′(x)+f′′(x)(T−x)+21​M∥T−x∥(T−x)=0.

This is the stationarity condition of the cubic model at its global minimizer. Taking the inner product with T−xT - xT−x gives relation (2.6), used in Lemmas 2 and 4; its norm form is used in Lemma 3.

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.

Preamble
import Mathlib
import Definitions.Def_CubicNewton_Shared_IsCubicStep

open scoped RealInnerProductSpace
Formal statement
namespace CubicNewton.Nonconvex

/-- Nesterov–Polyak 2006, Section 2, Eq. (2.5), p. 182: every global minimizer `T = T_M(x)`
of the cubic model satisfies `f′(x) + f″(x)(T − x) + ½M‖T − x‖·(T − x) = 0`. -/
theorem cubicStep_first_order {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)
    (hT : CubicNewton.Shared.IsCubicStep g H M x T) :
    g x + H x (T - x) + (1 / 2 * M * ‖T - x‖) • (T - x) = 0 := 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. 182, Section 2, Eq. (2.5)
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;
  • a function f:E→Rf : E \to \mathbb{R}f:E→R;
  • a map 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):E→EH(x) : E \to EH(x):E→E;
  • 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 is differentiable at yyy with gradient g(y)g(y)g(y).
  3. For every y∈Fy \in Fy∈F, ggg is Fréchet differentiable at yyy with derivative H(y)H(y)H(y).
  4. L>0L > 0L>0.
  5. For all y,z∈Fy, z \in Fy,z∈F, the operator norm satisfies ∥H(y)−H(z)∥≤L∥y−z∥\|H(y)-H(z)\| \le L\|y-z\|∥H(y)−H(z)∥≤L∥y−z∥.
  6. M>0M > 0M>0.
  7. x∈Fx \in Fx∈F.
  8. The predicate CubicNewton.Shared.IsCubicStep holds of (g,H,M,x,T)(g, H, M, x, T)(g,H,M,x,T). This predicate is imported and not shown here, so its content cannot be expanded in this read-back.

The conclusion is the vector identity

g(x)+H(x)(T−x)+12 M ∥T−x∥ (T−x)  =  0.g(x) + H(x)(T-x) + \tfrac12\, M\, \|T-x\|\,(T-x) \;=\; 0 .g(x)+H(x)(T−x)+21​M∥T−x∥(T−x)=0.

TTT is not required to lie in FFF.

Degenerate cases:

  • If T=xT = xT=x, the identity reduces to g(x)=0g(x) = 0g(x)=0.
  • If n=0n = 0n=0, the statement is trivial.
  • If the unseen predicate in hypothesis 8 cannot be satisfied for some data, the statement holds vacuously for those data.
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