Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5: μM(TM(x))≤rM(x)\mu_M(T_M(x)) \le r_M(x)μM​(TM​(x))≤rM​(x)

Proved
CubicNewton.Nonconvex.mu_step_le

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

cubic-regularizationp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1second-order-stationarity

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)∥.

For M>0M > 0M>0 the second-order optimality measure of Section 3 is

μM(x)=max⁡{2L+M ∥f′(x)∥, −22L+M λn(f′′(x))},\mu_M(x) = \max\Big\{ \sqrt{\tfrac{2}{L + M}\,\|f'(x)\|},\ -\tfrac{2}{2L + M}\,\lambda_n(f''(x)) \Big\},μM​(x)=max{L+M2​∥f′(x)∥​, −2L+M2​λn​(f′′(x))},

where λn\lambda_nλn​ denotes the smallest eigenvalue. Then for any x∈Fx \in Fx∈F with TM(x)∈FT_M(x) \in FTM​(x)∈F,

μM(TM(x))≤rM(x).\mu_M(T_M(x)) \le r_M(x) .μM​(TM​(x))≤rM​(x).

The optimality measure at the new point is bounded by the length of the step. Together with the summability of rMi(xi)3r_{M_i}(x_i)^3rMi​​(xi​)3 this yields the rate of Theorem 1.

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. λn\lambda_nλn​ is lamMin, the Rayleigh-quotient infimum over the unit sphere (for n=0n = 0n=0 it is 000). The hypothesis TM(x)∈FT_M(x) \in FTM​(x)∈F is added to the printed statement: the proof uses inequality (2.9), which assumes it, and the Lipschitz bound (2.1) between xxx and TM(x)T_M(x)TM​(x). It holds at every iterate of method (3.3).

Preamble
import Mathlib
import Definitions.Def_CubicNewton_Shared_IsCubicStep
import Definitions.Def_CubicNewton_Nonconvex_muMeasure

open scoped RealInnerProductSpace
Formal statement
namespace CubicNewton.Nonconvex

/-- Nesterov–Polyak 2006, Lemma 5, p. 184: `μ_M(T_M(x)) ≤ r_M(x)`. The hypothesis
`T_M(x) ∈ F` is added: the printed proof uses (2.9) and the Lipschitz bound (2.1) at `T_M(x)`. -/
theorem mu_step_le {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) :
    muMeasure L M g H T ≤ ‖x - T‖ := 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. 184, Lemma 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;
  • 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 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 μ(T)≤∥x−T∥\mu(T) \le \|x-T\|μ(T)≤∥x−T∥, where μ\muμ is the imported muMeasure with parameters L,M,g,HL, M, g, HL,M,g,H. Its definition is not shown in this declaration. Its name suggests an expression of the form

max⁡{2L+M∥g(T)∥,  −22L+M λmin⁡(H(T))},\max\Big\{\sqrt{\tfrac{2}{L+M}\|g(T)\|},\; -\tfrac{2}{2L+M}\,\lambda_{\min}(H(T))\Big\},max{L+M2​∥g(T)∥​,−2L+M2​λmin​(H(T))},

but this read-back cannot confirm that from the code shown. Because L,M>0L, M > 0L,M>0, the denominators L+ML+ML+M and 2L+M2L+M2L+M are positive, so no division-by-zero convention comes into play in such an expression.

Degenerate cases:

  • If T=xT = xT=x, the conclusion says μ(x)≤0\mu(x) \le 0μ(x)≤0.
  • If n=0n = 0n=0, the result depends on how the unseen definitions behave on the zero space.
  • 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