Lemma 3 (2.9):
ProvedCubicNewton.Nonconvex.grad_norm_at_stepLet 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 .
Let . If , then
The gradient at the new point is quadratically small in the step length. This bound gives the first entry of the optimality measure in Lemma 5.
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. The base point is taken in , as throughout Section 2 (the Lipschitz bound (2.2) is applied between and ).
import Mathlib import Definitions.Def_CubicNewton_Shared_IsCubicStep open scoped RealInnerProductSpace
namespace CubicNewton.Nonconvex
/-- Nesterov–Polyak 2006, Lemma 3, (2.9), p. 183: if `T_M(x) ∈ F` then
`‖f′(T_M(x))‖ ≤ ½(L + M) r_M(x)²`. -/
theorem grad_norm_at_step {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) :
‖g T‖ ≤ 1 / 2 * (L + M) * ‖x - T‖ ^ 2 := 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 ;
- functions and ;
- a map sending each to a continuous linear operator on ;
- real numbers and ;
- points .
The hypotheses are:
- is closed and convex, and its interior is nonempty.
- For every , has gradient at .
- For every , has Fréchet derivative at .
- .
- For all , in operator norm.
- .
- and . Membership of in is assumed here, not derived.
- The imported predicate
CubicNewton.Shared.IsCubicStepholds of . Its definition is not shown.
The conclusion is
Degenerate cases:
- If , the conclusion says .
- If , the statement is trivial.
- If hypothesis 8 cannot be satisfied, the statement is vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.