Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 6.1 — the Hessian-step gradient method converges linearly: locally (6.3), and globally when damped (6.4)

Proved
FatkhullinPolyak.HessStep.hessian_step_linear_rate

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

gradient-descentlinear-convergencep2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1step-sizestrong-convexity

Let f:Rn→Rf:\mathbb{R}^n\to\mathbb{R}f:Rn→R be a twice differentiable, μ\muμ-strongly convex function (μ>0\mu>0μ>0) whose gradient ∇f\nabla f∇f is Lipschitz continuous with constant LLL and whose Hessian ∇2f\nabla^2 f∇2f is Lipschitz continuous with constant MMM (operator norm). Let x∗x_*x∗​ be its global minimizer. Consider the gradient method (6.1)

xj+1=xj−γj∇f(xj),γj=∥∇f(xj)∥2⟨∇2f(xj)∇f(xj),∇f(xj)⟩.x_{j+1}=x_j-\gamma_j\nabla f(x_j),\qquad \gamma_j=\frac{\|\nabla f(x_j)\|^2}{\langle\nabla^2 f(x_j)\nabla f(x_j),\nabla f(x_j)\rangle}.xj+1​=xj​−γj​∇f(xj​),γj​=⟨∇2f(xj​)∇f(xj​),∇f(xj​)⟩∥∇f(xj​)∥2​.

Then:

  1. Local linear rate. If δ>0\delta>0δ>0 and the initial point x0x_0x0​ satisfies
M2L(f(x0)−f(x∗))≤3μ2(1−δ),(6.2)M\sqrt{2L\bigl(f(x_0)-f(x_*)\bigr)}\le 3\mu^2(1-\delta),\tag{6.2}M2L(f(x0​)−f(x∗​))​≤3μ2(1−δ),(6.2)

then the iterates of (6.1) satisfy, for every j≥0j\ge0j≥0,

f(xj)−f(x∗)≤(f(x0)−f(x∗))(1−μδL)j.(6.3)f(x_j)-f(x_*)\le\bigl(f(x_0)-f(x_*)\bigr)\Bigl(1-\frac{\mu\delta}{L}\Bigr)^j.\tag{6.3}f(xj​)−f(x∗​)≤(f(x0​)−f(x∗​))(1−Lμδ​)j.(6.3)
  1. Global linear rate of the damped method. If 0<σ≤μ/L0<\sigma\le\mu/L0<σ≤μ/L, then for every initial point x0x_0x0​ the iterates of the damped method xj+1=xj−σγj∇f(xj)x_{j+1}=x_j-\sigma\gamma_j\nabla f(x_j)xj+1​=xj​−σγj​∇f(xj​) satisfy, for every j≥0j\ge0j≥0,
f(xj)−f(x∗)≤(f(x0)−f(x∗))(1−μσL)j.(6.4)f(x_j)-f(x_*)\le\bigl(f(x_0)-f(x_*)\bigr)\Bigl(1-\frac{\mu\sigma}{L}\Bigr)^j.\tag{6.4}f(xj​)−f(x∗​)≤(f(x0​)−f(x∗​))(1−Lμσ​)j.(6.4)

The step size of (6.1) uses one Hessian–vector product and no knowledge of LLL or μ\muμ. The theorem justifies it for nonquadratic strongly convex functions: linear convergence near the minimizer, and from any starting point once the step is damped by σ≤μ/L\sigma\le\mu/Lσ≤μ/L.

Formalization Note Both claims share the hypotheses of the theorem as printed, including the Lipschitz Hessian, although the damped claim does not use MMM. The damping positivity σ>0\sigma>0σ>0 is implicit on the page and added. Condition (6.2) is a hypothesis on x0x_0x0​ only. When δ>1\delta>1δ>1 it cannot hold (its left side is nonnegative), so claim 1 is then vacuous, as on the page. The minimizer is taken as a hypothesis (f(x∗)≤f(y)f(x_*)\le f(y)f(x∗​)≤f(y) for all yyy), not constructed. At a stationary iterate the step is 0/0=00/0=00/0=0 in Lean, so the method stays at the minimizer and both bounds still hold. Strong convexity is Mathlib's StrongConvexOn Set.univ μ f (modulus μ2∥x−y∥2\frac{\mu}{2}\|x-y\|^22μ​∥x−y∥2). LLL and MMM are real constants in the Lipschitz inequalities ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x)-\nabla f(y)\|\le L\|x-y\|∥∇f(x)−∇f(y)∥≤L∥x−y∥ and ∥∇2f(x)−∇2f(y)∥≤M∥x−y∥\|\nabla^2 f(x)-\nabla^2 f(y)\|\le M\|x-y\|∥∇2f(x)−∇2f(y)∥≤M∥x−y∥.

Preamble
import Mathlib
import Definitions.Def_FatkhullinPolyak_HessStep_hessianStepMethod
Formal statement
namespace FatkhullinPolyak.HessStep

theorem hessian_step_linear_rate {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) (μ L M : ℝ)
    (xstar : EuclideanSpace ℝ (Fin n))
    (hf : Differentiable ℝ f) (hf' : Differentiable ℝ (fderiv ℝ f))
    (hμ : 0 < μ) (hconv : StrongConvexOn Set.univ μ f)
    (hL : ∀ x y : EuclideanSpace ℝ (Fin n), ‖gradient f x - gradient f y‖ ≤ L * ‖x - y‖)
    (hM : ∀ x y : EuclideanSpace ℝ (Fin n),
      ‖fderiv ℝ (fderiv ℝ f) x - fderiv ℝ (fderiv ℝ f) y‖ ≤ M * ‖x - y‖)
    (hmin : ∀ y : EuclideanSpace ℝ (Fin n), f xstar ≤ f y) :
    (∀ (δ : ℝ) (x₀ : EuclideanSpace ℝ (Fin n)), 0 < δ →
        M * Real.sqrt (2 * L * (f x₀ - f xstar)) ≤ 3 * μ ^ 2 * (1 - δ) →
        ∀ j : ℕ, f (hessIter f x₀ j) - f xstar ≤ (f x₀ - f xstar) * (1 - μ * δ / L) ^ j) ∧
    (∀ σ : ℝ, 0 < σ → σ ≤ μ / L → ∀ (x₀ : EuclideanSpace ℝ (Fin n)) (j : ℕ),
        f (dampedHessIter f σ x₀ j) - f xstar ≤ (f x₀ - f xstar) * (1 - μ * σ / L) ^ j) := by sorry

end FatkhullinPolyak.HessStep
Source
Fatkhullin, Polyak, Optimizing Static Linear Feedback: Gradient Method, arXiv:2004.09875v2, p. 13, Theorem 6.1, Eqs. (6.1)-(6.4); proof in Appendix D.4, p. 19
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

The statement concerns a real-valued function f:Rn→Rf:\mathbb{R}^n\to\mathbb{R}f:Rn→R on nnn-dimensional Euclidean space, where the dimension n∈Nn\in\mathbb{N}n∈N is arbitrary and may be 000. It also involves real numbers μ,L,M\mu, L, Mμ,L,M and a point x⋆∈Rnx^\star\in\mathbb{R}^nx⋆∈Rn. It uses two iteration schemes, hessIter\mathrm{hessIter}hessIter and dampedHessIter\mathrm{dampedHessIter}dampedHessIter, taken from the imported module Definitions.Def_FatkhullinPolyak_HessStep_hessianStepMethod. That module's code is not shown here, so this read-back cannot say what they compute. All it can say is how they are used:

  • hessIter(f,x0,j)\mathrm{hessIter}(f, x_0, j)hessIter(f,x0​,j) is a point of Rn\mathbb{R}^nRn, determined by fff, a starting point x0x_0x0​ and an index j∈Nj\in\mathbb{N}j∈N. Below it is written xjx_jxj​.
  • dampedHessIter(f,σ,x0,j)\mathrm{dampedHessIter}(f, \sigma, x_0, j)dampedHessIter(f,σ,x0​,j) is a point of Rn\mathbb{R}^nRn, determined by fff, a real parameter σ\sigmaσ, x0x_0x0​ and jjj. Below it is written yjy_jyj​.

Nothing in the statement says whether xjx_jxj​ or yjy_jyj​ equals x0x_0x0​ at j=0j=0j=0. Nothing says how either one behaves when some quantity it uses is undefined, for example a non-invertible matrix or a division by zero.

Hypotheses (all assumed together):

  1. fff is differentiable everywhere on Rn\mathbb{R}^nRn.
  2. The map x↦Df(x)x\mapsto Df(x)x↦Df(x), which sends a point to the Fréchet derivative of fff there (a linear functional), is itself differentiable everywhere. So fff is twice differentiable with second derivative D2f(x)D^2 f(x)D2f(x).
  3. μ>0\mu>0μ>0.
  4. fff is μ\muμ-strongly convex on all of Rn\mathbb{R}^nRn, in this sense: for all x,yx,yx,y and all a,b≥0a,b\ge 0a,b≥0 with a+b=1a+b=1a+b=1,
f(ax+by)≤af(x)+bf(y)−ab μ2∥x−y∥2.f(ax+by)\le a f(x)+b f(y)-ab\,\tfrac{\mu}{2}\|x-y\|^2.f(ax+by)≤af(x)+bf(y)−ab2μ​∥x−y∥2.
  1. The gradient is LLL-Lipschitz: for all x,yx,yx,y,
∥∇f(x)−∇f(y)∥≤L ∥x−y∥.\|\nabla f(x)-\nabla f(y)\|\le L\,\|x-y\|.∥∇f(x)−∇f(y)∥≤L∥x−y∥.

LLL is not separately assumed to be positive. 6. The second derivative is MMM-Lipschitz in operator norm: for all x,yx,yx,y,

∥D2f(x)−D2f(y)∥≤M ∥x−y∥.\|D^2 f(x)-D^2 f(y)\|\le M\,\|x-y\|.∥D2f(x)−D2f(y)∥≤M∥x−y∥.

MMM is not separately assumed to be nonnegative. 7. x⋆x^\starx⋆ is a global minimizer: f(x⋆)≤f(y)f(x^\star)\le f(y)f(x⋆)≤f(y) for every y∈Rny\in\mathbb{R}^ny∈Rn.

Write f⋆=f(x⋆)f^\star = f(x^\star)f⋆=f(x⋆).

Conclusion. The theorem asserts that both of the following hold.

(A) Undamped scheme. Take any real δ>0\delta>0δ>0 and any starting point x0x_0x0​ satisfying

M2L (f(x0)−f⋆)  ≤  3μ2(1−δ).M\sqrt{2L\,(f(x_0)-f^\star)}\;\le\;3\mu^2(1-\delta).M2L(f(x0​)−f⋆)​≤3μ2(1−δ).

Then for every j∈Nj\in\mathbb{N}j∈N:

f(xj)−f⋆  ≤  (f(x0)−f⋆)(1−μδL)j.f(x_j)-f^\star\;\le\;(f(x_0)-f^\star)\Bigl(1-\frac{\mu\delta}{L}\Bigr)^{j}.f(xj​)−f⋆≤(f(x0​)−f⋆)(1−Lμδ​)j.

Here ⋅\sqrt{\cdot}⋅​ is the real square root, which by convention returns 000 for a negative argument. δ\deltaδ has no upper bound in the statement.

(B) Damped scheme. Take any real σ\sigmaσ with

0<σ≤μL.0<\sigma\le \frac{\mu}{L}.0<σ≤Lμ​.

Then for every starting point x0x_0x0​ (with no condition on x0x_0x0​) and every j∈Nj\in\mathbb{N}j∈N:

f(yj)−f⋆  ≤  (f(x0)−f⋆)(1−μσL)j.f(y_j)-f^\star\;\le\;(f(x_0)-f^\star)\Bigl(1-\frac{\mu\sigma}{L}\Bigr)^{j}.f(yj​)−f⋆≤(f(x0​)−f⋆)(1−Lμσ​)j.

Degenerate cases:

  • The case n=0n=0n=0. R0\mathbb{R}^0R0 has exactly one point. Then fff is constant and every point, including x⋆x^\starx⋆, x0x_0x0​, xjx_jxj​ and yjy_jyj​, is that one point. Hypotheses 5 and 6 hold for every real LLL and MMM, including negative ones. Both conclusions reduce to 0≤00\le 00≤0 and hold trivially.
  • Division by L=0L=0L=0. Lean returns 000 for division by zero, so μδ/L\mu\delta/Lμδ/L and μ/L\mu/Lμ/L are both 000. The factor in (A) is then 111, and (B) is vacuous because no σ\sigmaσ satisfies 0<σ≤00<\sigma\le 00<σ≤0. (B) is also vacuous whenever L<0L<0L<0.
  • The case n≥1n\ge 1n≥1. The hypotheses together imply L≥μ>0L\ge\mu>0L≥μ>0 (strong convexity bounds how fast the gradient changes from below) and M≥0M\ge 0M≥0. So the square-root argument in (A) is nonnegative.
  • Large δ\deltaδ in (A). If δ>1\delta>1δ>1, the right-hand side of the condition is negative, so the condition cannot hold and (A) says nothing. If δ=1\delta=1δ=1, the condition requires M=0M=0M=0 or f(x0)=f⋆f(x_0)=f^\starf(x0​)=f⋆.
  • The case j=0j=0j=0. Both bounds read f(iterate0)−f⋆≤f(x0)−f⋆f(\text{iterate}_0)-f^\star\le f(x_0)-f^\starf(iterate0​)−f⋆≤f(x0​)−f⋆, since r0=1r^0=1r0=1 for every real rrr, including 00=10^0=100=1. Whether this is trivially true depends on the unseen definitions of the two schemes.
  • Starting at the minimum. If f(x0)=f⋆f(x_0)=f^\starf(x0​)=f⋆, both conclusions claim f(iteratej)≤f⋆f(\text{iterate}_j)\le f^\starf(iteratej​)≤f⋆ for every jjj. Together with hypothesis 7, this means every iterate attains the minimum value.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

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