Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Newton damped-phase decrease

Proved
ConvexOptimization.newton_damped_phase_decrease

by Shuze Chen · Aug 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexoptimizationnewtonmethodoptimizationalgorithms

The damped Newton phase: a fixed decrease per iteration — inequality (9.32) of Boyd & Vandenberghe.

Let f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R be twice differentiable with gradient field ∇f\nabla f∇f and Hessian field ∇2f\nabla^2 f∇2f, and assume, for constants 0<m≤M0 < m \le M0<m≤M and L>0L > 0L>0,

mI⪯∇2f(x)⪯MIfor all x,∥∇2f(x)−∇2f(y)∥≤L∥x−y∥2for all x,y,m I \preceq \nabla^2 f(x) \preceq M I \quad \text{for all } x, \qquad \lVert \nabla^2 f(x) - \nabla^2 f(y)\rVert \le L \lVert x - y\rVert_2 \quad \text{for all } x, y,mI⪯∇2f(x)⪯MIfor all x,∥∇2f(x)−∇2f(y)∥≤L∥x−y∥2​for all x,y,

the second being the Lipschitz-Hessian condition (9.31). Fix backtracking parameters α∈(0,1/2)\alpha \in (0, 1/2)α∈(0,1/2), β∈(0,1)\beta \in (0,1)β∈(0,1) and set

η  =  min⁡{1, 3(1−2α)} m2L,γ  =  αβη2mM2.\eta \;=\; \min\{1,\, 3(1 - 2\alpha)\}\,\frac{m^{2}}{L}, \qquad \gamma \;=\; \frac{\alpha\beta\eta^{2}m}{M^{2}}.η=min{1,3(1−2α)}Lm2​,γ=M2αβη2m​.

Let xxx be a point with ∥∇f(x)∥2≥η\lVert \nabla f(x)\rVert_2 \ge \eta∥∇f(x)∥2​≥η, let Δ\DeltaΔ be its Newton step, i.e. the solution of ∇2f(x) Δ=−∇f(x)\nabla^2 f(x)\,\Delta = -\nabla f(x)∇2f(x)Δ=−∇f(x), and let ttt be any backtracking step at xxx along Δ\DeltaΔ. Then

f(x+tΔ)  ≤  f(x)−γ.f(x + t\Delta) \;\le\; f(x) - \gamma .f(x+tΔ)≤f(x)−γ.

While the gradient stays above the threshold η\etaη, every iteration buys a decrease of at least the constant γ\gammaγ — independent of the iterate. Since fff is bounded below by p⋆p^{\star}p⋆, this immediately caps the number of such iterations by (f(x(0))−p⋆)/γ(f(x^{(0)}) - p^{\star})/\gamma(f(x(0))−p⋆)/γ, which is the first of the two terms in the mission's goal theorem.

Formalization Note The Hessian bounds are stated in quadratic-form guise, m * ‖v‖ ^ 2 ≤ ⟪H x v, v⟫ and ⟪H x v, v⟫ ≤ M * ‖v‖ ^ 2, and the Lipschitz condition uses the operator norm on continuous linear maps. The Newton direction appears as a solution of the linear system, so no invertibility hypothesis is needed. Source: B&V §9.5.3, pp. 489–490, eq. (9.32).

Preamble
import Mathlib
import Definitions.Def_ConvexOptimization_IsBacktrackingStep

open scoped RealInnerProductSpace ENNReal
open MeasureTheory

Formal statement
theorem ConvexOptimization.newton_damped_phase_decrease {n : ℕ} (m M L α β η : ℝ)
    (hm : 0 < m) (hmM : m ≤ M) (hL : 0 < L)
    (hα0 : 0 < α) (hα : α < 1 / 2) (hβ0 : 0 < β) (hβ1 : β < 1)
    (hη : η = min 1 (3 * (1 - 2 * α)) * m ^ 2 / L)
    (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg : ∀ x, HasGradientAt f (g x) x)
    (H : EuclideanSpace ℝ (Fin n) →
      EuclideanSpace ℝ (Fin n) →L[ℝ] EuclideanSpace ℝ (Fin n))
    (hH : ∀ x, HasFDerivAt g (H x) x)
    (hHm : ∀ x v, m * ‖v‖ ^ 2 ≤ ⟪H x v, v⟫)
    (hHM : ∀ x v, ⟪H x v, v⟫ ≤ M * ‖v‖ ^ 2)
    (hHL : ∀ x y, ‖H x - H y‖ ≤ L * ‖x - y‖)
    (x Δ : EuclideanSpace ℝ (Fin n)) (t : ℝ)
    (hΔ : H x Δ = -g x) (hgx : η ≤ ‖g x‖)
    (ht : IsBacktrackingStep f g α β x Δ t) :
    f (x + t • Δ) ≤ f x - α * β * η ^ 2 * m / M ^ 2 := by
  sorry
Source
Boyd & Vandenberghe 2004, Convex Optimization, Cambridge University Press (seventh printing with corrections, 2009), https://web.stanford.edu/~boyd/cvxbook/, pp. 489-490, §9.5.3 eq. (9.32) (damped Newton phase: each step decreases f by at least gamma = alpha beta eta^2 m / M^2, with eta = min{1, 3(1 - 2 alpha)} m^2 / L)

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me