Eq. (2.5) — first-order condition satisfied by
ProvedCubicNewton.GradDom.cubicStep_first_orderUnder the standing assumptions of the paper (a closed convex with non-empty interior, twice differentiable on with -Lipschitz Hessian), let , , and let be any global minimizer of the cubic model . Then
This is the stationarity condition of the cubic model at its minimizer; together with Proposition 1 it yields the model decrease (2.11) and the gradient bound (2.9).
Formalization Note The Hessian H x is not assumed self-adjoint; it is self-adjoint at points of because it is the derivative of a gradient and is continuous on .
import Mathlib import Definitions.Def_CubicNewton_Shared_IsCubicStep open scoped RealInnerProductSpace
namespace CubicNewton.GradDom
/-- 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.GradDom
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setup. Let , and let carry the Euclidean norm. The data are:
- a set ;
- functions and ;
- a map into continuous linear operators on ;
- a real number .
Hypotheses on the data.
- is closed and convex, with nonempty interior.
- For every , is differentiable at with gradient .
- For every , is Fréchet differentiable at with derivative .
- .
- (operator norm) for all .
Further data and hypotheses. There is a real , a point , and a point satisfying the predicate . That predicate is imported from a separate definitions file, and its code is not part of this declaration, so it is not unfolded here. Its arguments are only , , , and ; it does not take , or . is not required to lie in .
Conclusion.
Degenerate cases. When , every vector is and the conclusion is trivially true. When , the conclusion says . Whether that case is possible depends on the unshown predicate.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.