Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

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

Proved
CubicNewton.LocalQuad.grad_norm_at_step

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 and x∈Rnx \in \mathbb{R}^nx∈Rn, let T=TM(x)T = T_M(x)T=TM​(x) be any global minimizer of the cubic model of fff at xxx with parameter MMM, and let rM(x)=∥x−TM(x)∥r_M(x) = \|x - T_M(x)\|rM​(x)=∥x−TM​(x)∥. Then

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

The gradient at the new point is thus quadratically small in the step length; this is what makes the local convergence of the relaxed method quadratic.

Formalization Note The paper's hypothesis TM(x)∈FT_M(x) \in FTM​(x)∈F is automatic here because the mission takes F=RnF = \mathbb{R}^nF=Rn, so it is dropped.

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

/-- Nesterov–Polyak 2006, Lemma 3, (2.9), p. 183, in the case `F = ℝⁿ` (so the hypothesis
`T_M(x) ∈ F` holds automatically): for every global minimizer `T = T_M(x)` of the cubic model
with `M > 0`, `‖f′(T)‖ ≤ ½(L + M) r_M(x)²` where `r_M(x) = ‖x − T‖`. -/
theorem grad_norm_at_step {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 T‖ ≤ 1 / 2 * (L + M) * ‖x - T‖ ^ 2 := 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. 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 (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(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: when n=0n = 0n=0, both sides are 000. When T=xT = xT=x, the conclusion says g(x)=0g(x) = 0g(x)=0. If CubicStepg,H(M,x,T)\mathrm{CubicStep}_{g,H}(M, x, T)CubicStepg,H​(M,x,T) is unsatisfiable for the given data, the statement is vacuous. That cannot be determined from what is shown. No total-function default values occur.

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