Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Newton quadratic-phase contraction

Proved
ConvexOptimization.newton_quadratic_phase_contraction

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

convexoptimizationnewtonmethodoptimizationalgorithms

The quadratically convergent phase: the scaled gradient norm squares at every step — inequality (9.33) of Boyd & Vandenberghe.

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

mI⪯∇2f(x)⪯MI,∥∇2f(x)−∇2f(y)∥≤L∥x−y∥2,m I \preceq \nabla^2 f(x) \preceq M I, \qquad \lVert \nabla^2 f(x) - \nabla^2 f(y)\rVert \le L\lVert x - y\rVert_2 ,mI⪯∇2f(x)⪯MI,∥∇2f(x)−∇2f(y)∥≤L∥x−y∥2​,

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α)} m2/L\eta = \min\{1, 3(1-2\alpha)\}\,m^{2}/Lη=min{1,3(1−2α)}m2/L. Let xxx satisfy ∥∇f(x)∥2<η\lVert \nabla f(x)\rVert_2 < \eta∥∇f(x)∥2​<η and let Δ\DeltaΔ solve the Newton system ∇2f(x) Δ=−∇f(x)\nabla^2 f(x)\,\Delta = -\nabla f(x)∇2f(x)Δ=−∇f(x). Then the unit step passes the Armijo test, so backtracking accepts t=1t = 1t=1, and the next iterate x+=x+Δx^{+} = x + \Deltax+=x+Δ satisfies

f(x+Δ)≤f(x)+α⟨∇f(x),Δ⟩andL2m2∥∇f(x+)∥2  ≤  (L2m2∥∇f(x)∥2)2.f(x + \Delta) \le f(x) + \alpha \langle \nabla f(x), \Delta\rangle \qquad\text{and}\qquad \frac{L}{2m^{2}}\lVert \nabla f(x^{+})\rVert_2 \;\le\; \Bigl(\frac{L}{2m^{2}}\lVert \nabla f(x)\rVert_2\Bigr)^{2}.f(x+Δ)≤f(x)+α⟨∇f(x),Δ⟩and2m2L​∥∇f(x+)∥2​≤(2m2L​∥∇f(x)∥2​)2.

Once the gradient drops below η\etaη it never rises above it again, the method takes full Newton steps from then on, and the scaled quantity L2m2∥∇f∥2\frac{L}{2m^2}\lVert\nabla f\rVert_22m2L​∥∇f∥2​ squares at each iteration — the number of correct digits doubles per step. This is the source of the log⁡2log⁡2(ε0/ε)\log_2\log_2(\varepsilon_0/\varepsilon)log2​log2​(ε0​/ε) term in the mission's goal theorem, and the precise reason Newton's method is qualitatively different from any first-order method.

Formalization Note The conclusion is a conjunction: acceptance of the unit step is stated as the Armijo inequality at t=1t = 1t=1 rather than by invoking the backtracking predicate, since acceptance is exactly what has to be proved. Hessian bounds are in quadratic-form guise and the Lipschitz condition uses the operator norm. Source: B&V §9.5.3, pp. 488–491, eq. (9.33).

Preamble
import Mathlib

open scoped RealInnerProductSpace ENNReal
open MeasureTheory

Formal statement
theorem ConvexOptimization.newton_quadratic_phase_contraction {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))
    (hΔ : H x Δ = -g x) (hgx : ‖g x‖ < η) :
    (f (x + Δ) ≤ f x + α * ⟪g x, Δ⟫) ∧
    L / (2 * m ^ 2) * ‖g (x + Δ)‖ ≤ (L / (2 * m ^ 2) * ‖g x‖) ^ 2 := by
  sorry
Source
Boyd & Vandenberghe 2004, Convex Optimization, Cambridge University Press (seventh printing with corrections, 2009), https://web.stanford.edu/~boyd/cvxbook/, pp. 488-491, §9.5.3 eq. (9.33) (quadratically convergent phase: the scaled gradient norm squares and the unit step is accepted)

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