Eq. (2.5): the first-order condition satisfied by a cubic step
ProvedCubicNewton.Nonconvex.cubicStep_first_orderLet be a closed convex set with nonempty interior, and let be twice differentiable on , with gradient and Hessian . Assume the Hessian is Lipschitz continuous on in the spectral norm (Assumption 1): for some ,
For let be any global minimizer over of the cubic model
and write .
Then for every the step satisfies the system of nonlinear equations
This is the stationarity condition of the cubic model at its global minimizer. Taking the inner product with 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 ); the operator norm on H x is the spectral norm. The step is an arbitrary global minimizer of the cubic model (IsCubicStep), never a merely stationary point.
import Mathlib import Definitions.Def_CubicNewton_Shared_IsCubicStep open scoped RealInnerProductSpace
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix and with the Euclidean norm and inner product. The data are:
- a set ;
- a function ;
- a map ;
- a map sending each to a continuous linear operator ;
- real numbers and ;
- points .
The hypotheses are:
- is closed and convex, and its interior is nonempty.
- For every , is differentiable at with gradient .
- For every , is Fréchet differentiable at with derivative .
- .
- For all , the operator norm satisfies .
- .
- .
- The predicate
CubicNewton.Shared.IsCubicStepholds of . This predicate is imported and not shown here, so its content cannot be expanded in this read-back.
The conclusion is the vector identity
is not required to lie in .
Degenerate cases:
- If , the identity reduces to .
- If , the statement is trivial.
- If the unseen predicate in hypothesis 8 cannot be satisfied for some data, the statement holds vacuously for those data.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.