Lemma 2 (2.8):
ProvedCubicNewton.Nonconvex.grad_inner_step_nonnegLet 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 ,
Let be a starting point such that contains the level set in its interior.
For let be any global minimizer over of the cubic model
and write .
Then for any with ,
So the cubic step never moves uphill to first order. This is the first claim of Lemma 2; together with (2.6) it gives the model decrease of Lemma 4.
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 level-set hypothesis is written {x | f x ≤ f x₀} ⊆ interior F, for defined on all of as in problem (3.1).
import Mathlib import Definitions.Def_CubicNewton_Shared_IsCubicStep open scoped RealInnerProductSpace
namespace CubicNewton.Nonconvex
/-- Nesterov–Polyak 2006, Lemma 2, relation (2.8), p. 182 (first claim of Lemma 2 only). -/
theorem grad_inner_step_nonneg {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 : ∀ 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‖)
(x₀ : EuclideanSpace ℝ (Fin n)) (hx₀ : x₀ ∈ interior F)
(hlevel : {x | f x ≤ f x₀} ⊆ interior F)
(M : ℝ) (hM : 0 < M) (x T : EuclideanSpace ℝ (Fin n)) (hx : x ∈ F) (hfx : f x ≤ f x₀)
(hT : CubicNewton.Shared.IsCubicStep g H M x T) :
0 ≤ ⟪g x, x - T⟫ := 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. Nonemptiness of the interior is not assumed separately; it follows from hypothesis 6.
- For every , has gradient at .
- For every , has Fréchet derivative at .
- .
- For all , in operator norm.
- lies in the interior of .
- The full sublevel set , taken over all of and not only over , is contained in the interior of .
- .
- and .
- The imported predicate
CubicNewton.Shared.IsCubicStepholds of . Its definition is not shown.
The conclusion is
Degenerate cases:
- If , the conclusion is trivially true.
- If , the statement is trivial.
- Hypothesis 7 restricts on the whole space: every point outside the interior of must have -value strictly greater than .
- If hypothesis 7 or hypothesis 10 cannot be satisfied, the statement is vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.