Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

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

Proved
CubicNewton.LocalQuad.cubicStep_first_order

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

cubic-regularizationnewton-methodp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let f:Rn→Rf:\mathbb{R}^n\to\mathbb{R}f:Rn→R be twice differentiable with LLL-Lipschitz Hessian (L>0L > 0L>0), let M>0M > 0M>0, let x∈Rnx \in \mathbb{R}^nx∈Rn, and let T=TM(x)T = T_M(x)T=TM​(x) be any global minimizer of the cubic model

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

Then TTT 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.

Equation (2.5) is the stationarity condition of the cubic model. It expresses the step as T−x=−(f′′(x)+M2rM(x)I)−1f′(x)T - x = -\big(f''(x) + \tfrac{M}{2}r_M(x) I\big)^{-1} f'(x)T−x=−(f′′(x)+2M​rM​(x)I)−1f′(x) whenever the operator in brackets is invertible, which is the starting point of the local analysis.

Formalization Note TM(x)T_M(x)TM​(x) is represented by an arbitrary point satisfying IsCubicStep (a global minimizer). The mission takes F=RnF = \mathbb{R}^nF=Rn (standing assumptions on all of Rn\mathbb{R}^nRn); the conclusion only uses f′(x)f'(x)f′(x) and f′′(x)f''(x)f′′(x).

Preamble
import Mathlib
import Definitions.Def_CubicNewton_Shared_IsCubicStep
Formal statement
namespace CubicNewton.LocalQuad

/-- Nesterov–Polyak 2006, Section 2, Eq. (2.5), p. 182: every global minimizer `T = T_M(x)` of
the cubic model (with `M > 0`) satisfies `f′(x) + f″(x)(T − x) + ½M‖T − x‖·(T − x) = 0`.
Stated in the case `F = ℝⁿ`. -/
theorem cubicStep_first_order {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 : ∀ x, HasGradientAt f (g x) x) (hg : ∀ x, HasFDerivAt g (H x) x)
    (hL : 0 < L) (hLip : ∀ x y, ‖H x - H y‖ ≤ L * ‖x - y‖)
    (M : ℝ) (hM : 0 < M) (x T : EuclideanSpace ℝ (Fin n))
    (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.LocalQuad
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 (possibly 000) and work in Rn\mathbb{R}^nRn with the Euclidean norm. Let f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R, g:Rn→Rng : \mathbb{R}^n \to \mathbb{R}^ng:Rn→Rn, HHH an operator-valued map, and L∈RL \in \mathbb{R}L∈R. Assume:

  • fff has gradient g(x)g(x)g(x) at every xxx;
  • ggg has Fréchet derivative H(x)H(x)H(x) at every xxx;
  • L>0L > 0L>0;
  • ∥H(x)−H(y)∥≤L∥x−y∥\|H(x) - H(y)\| \le L\|x - y\|∥H(x)−H(y)∥≤L∥x−y∥ for all x,yx, yx,y, in operator norm.

Further, let M>0M > 0M>0 and let x,T∈Rnx, T \in \mathbb{R}^nx,T∈Rn satisfy the imported predicate CubicStepg,H(M,x,T)\mathrm{CubicStep}_{g,H}(M, x, T)CubicStepg,H​(M,x,T). Its body is not shown here, and it depends only on ggg, HHH, MMM, xxx and TTT. The conclusion is

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

an equation between vectors in Rn\mathbb{R}^nRn. In that equation, 12M∥T−x∥\tfrac12 M\|T-x\|21​M∥T−x∥ is a scalar multiplying the vector T−xT - xT−x. The constant LLL and the function fff appear only in the hypotheses, not in the conclusion.

Degenerate cases: when n=0n = 0n=0, all vectors are 000 and the equation holds trivially. If CubicStepg,H(M,x,T)\mathrm{CubicStep}_{g,H}(M, x, T)CubicStepg,H​(M,x,T) can never hold for the given data, the statement is vacuous. That cannot be determined from what is shown. When T=xT = xT=x, the conclusion says g(x)=0g(x) = 0g(x)=0.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

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