Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (3.6) — f(xk+1)≤Ck−β∥gk∥2f(x_{k+1}) \le C_k - \beta\|g_k\|^2f(xk+1​)≤Ck​−β∥gk​∥2 with β\betaβ of (2.9)

Proved
NonmonotoneLS.RLinear.sufficient_decrease

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

armijoline-searchnonmonotonep2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1wolfe

Let f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R be continuously differentiable and consider a run of the Nonmonotone Line Search Algorithm (Wolfe or Armijo rule) with iterates xkx_kxk​, directions dkd_kdk​, steps αk\alpha_kαk​ and reference values CkC_kCk​; write gk=∇f(xk)g_k = \nabla f(x_k)gk​=∇f(xk​). Assume

  1. there are c1,c2>0c_1, c_2 > 0c1​,c2​>0 with gkTdk≤−c1∥gk∥2g_k^{\mathsf T} d_k \le -c_1\|g_k\|^2gkT​dk​≤−c1​∥gk​∥2 and ∥dk∥≤c2∥gk∥\|d_k\| \le c_2\|g_k\|∥dk​∥≤c2​∥gk​∥ for every kkk;
  2. αk≤μ\alpha_k \le \muαk​≤μ for every kkk;
  3. ∇f\nabla f∇f is Lipschitz continuous with constant L>0L > 0L>0 on Lˉ\bar{\mathcal L}Lˉ, the set of points whose distance to L={x:f(x)≤f(x0)}\mathcal L = \{x : f(x) \le f(x_0)\}L={x:f(x)≤f(x0​)} is at most μdmax⁡\mu d_{\max}μdmax​, dmax⁡=sup⁡k∥dk∥d_{\max} = \sup_k \|d_k\|dmax​=supk​∥dk​∥.

Then for every kkk

f(xk+1)≤Ck−β∥gk∥2,(3.6)f(x_{k+1}) \le C_k - \beta \|g_k\|^2, \quad (3.6)f(xk+1​)≤Ck​−β∥gk​∥2,(3.6)

where

β=min⁡{δμc1ρ, 2δ(1−δ)c12Lρc22, δ(1−σ)c12Lc22}.(2.9)\beta = \min\left\{\frac{\delta\mu c_1}{\rho},\ \frac{2\delta(1-\delta)c_1^2}{L\rho c_2^2},\ \frac{\delta(1-\sigma)c_1^2}{L c_2^2}\right\}. \quad (2.9)β=min{ρδμc1​​, Lρc22​2δ(1−δ)c12​​, Lc22​δ(1−σ)c12​​}.(2.9)

This is the sufficient-decrease inequality that drives both the global convergence proof and the linear rate.

Formalization Note. The paper cites (3.6) from the proof of Theorem 2.2, where it is (2.8). Here the direction assumption is required at every kkk, as in Theorem 3.1, and one Lipschitz constant on Lˉ\bar{\mathcal L}Lˉ serves both rules (for the Wolfe rule the proof only needs it on L⊆Lˉ\mathcal L \subseteq \bar{\mathcal L}L⊆Lˉ). L>0L > 0L>0 is assumed because LLL divides in β\betaβ; a Lipschitz constant can always be enlarged. dmax⁡d_{\max}dmax​ is computed in [0,∞][0, \infty][0,∞].

Preamble
import Mathlib
import Definitions.Def_NonmonotoneLS_Shared_Params
import Definitions.Def_NonmonotoneLS_Shared_Cost
import Definitions.Def_NonmonotoneLS_Shared_Steps
import Definitions.Def_NonmonotoneLS_RLinear_Run
import Definitions.Def_NonmonotoneLS_RLinear_Regions
import Definitions.Def_NonmonotoneLS_RLinear_Constants

open scoped InnerProductSpace NNReal
open Filter
Formal statement
namespace NonmonotoneLS.RLinear

/-- Eq. (3.6) (p. 1050), i.e. (2.8) with `β` of (2.9): along a run whose directions satisfy
(2.4)–(2.5) with constants `c₁, c₂ > 0` at every `k`, whose steps satisfy `α_k ≤ μ`, and for which
`∇f` is `L`-Lipschitz (`L > 0`) on `𝓛̄`, `f(x_{k+1}) ≤ C_k - β ‖∇f(x_k)‖²` for every `k`. -/
theorem sufficient_decrease {n : ℕ} (p : Shared.Params) (r : Rule) (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ContDiff ℝ 1 f) (x d : ℕ → EuclideanSpace ℝ (Fin n)) (α η : ℕ → ℝ)
    (hrun : IsNLSARun p r f x d α η)
    (c₁ c₂ : ℝ) (hc₁ : 0 < c₁) (hc₂ : 0 < c₂) (hdir : DirectionBounds f x d c₁ c₂)
    (hαμ : ∀ k, α k ≤ p.μ)
    (L : ℝ≥0) (hL : 0 < L) (hLip : LipschitzOnWith L (gradient f) (Lbar p f x d)) :
    ∀ k, f (x (k + 1)) ≤ Shared.costC f x η k - beta p c₁ c₂ L * ‖gradient f (x k)‖ ^ 2 := by sorry

end NonmonotoneLS.RLinear
Source
Zhang, Hager, A Nonmonotone Line Search Technique and Its Application to Unconstrained Optimization, SIAM J. Optim. 14 (2004), p. 1050, Eq. (3.6), with beta from p. 1047, Eq. (2.9)
Read-back

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

Setting.

  • n∈Nn\in\mathbb{N}n∈N, a parameter bundle ppp of type Shared.Params, with fields μ,δ,ρ,σ,ηmin⁡,ηmax⁡\mu,\delta,\rho,\sigma,\eta_{\min},\eta_{\max}μ,δ,ρ,σ,ηmin​,ηmax​ among others (the structure is not shown).
  • A rule r∈{wolfe,armijo}r\in\{\text{wolfe},\text{armijo}\}r∈{wolfe,armijo}.
  • A C1C^1C1 function f:Rn→Rf:\mathbb{R}^n\to\mathbb{R}f:Rn→R with gradient ∇f\nabla f∇f.
  • Sequences (xk)(x_k)(xk​) and (dk)(d_k)(dk​) in Rn\mathbb{R}^nRn, and real sequences (αk)(\alpha_k)(αk​) and (ηk)(\eta_k)(ηk​).

Hypotheses.

  1. (x,d,α,η)(x,d,\alpha,\eta)(x,d,α,η) is a run for (p,r,f)(p,r,f)(p,r,f). For every kkk:

    • xk+1=xk+αkdkx_{k+1}=x_k+\alpha_k d_kxk+1​=xk​+αk​dk​;
    • ηk∈[ηmin⁡,ηmax⁡]\eta_k\in[\eta_{\min},\eta_{\max}]ηk​∈[ηmin​,ηmax​];
    • αk\alpha_kαk​ satisfies the rule's step predicate (not shown) at (xk,dk)(x_k,d_k)(xk​,dk​) with reference value CkC_kCk​.

    Here CkC_kCk​ is Shared.costC applied to fff, xxx, η\etaη and kkk (not shown).

  2. There are real constants c1>0c_1>0c1​>0 and c2>0c_2>0c2​>0 such that, for every kkk:

⟨∇f(xk),dk⟩≤−c1∥∇f(xk)∥2and∥dk∥≤c2∥∇f(xk)∥.\langle\nabla f(x_k),d_k\rangle\le -c_1\|\nabla f(x_k)\|^2\quad\text{and}\quad \|d_k\|\le c_2\|\nabla f(x_k)\|.⟨∇f(xk​),dk​⟩≤−c1​∥∇f(xk​)∥2and∥dk​∥≤c2​∥∇f(xk​)∥.
  1. αk≤μ\alpha_k\le\muαk​≤μ for every kkk. No lower bound on αk\alpha_kαk​ is stated here.
  2. LLL is a nonnegative real with L>0L>0L>0, and ∇f\nabla f∇f is LLL-Lipschitz on Lˉ\bar{\mathcal{L}}Lˉ. That is, ∥∇f(u)−∇f(v)∥≤L∥u−v∥\|\nabla f(u)-\nabla f(v)\|\le L\|u-v\|∥∇f(u)−∇f(v)∥≤L∥u−v∥ for u,v∈Lˉu,v\in\bar{\mathcal{L}}u,v∈Lˉ, where
Lˉ={y:dist⁡(y,{z:f(z)≤f(x0)})≤max⁡(μ,0)⋅sup⁡k∥dk∥}.\bar{\mathcal{L}}=\Big\{y:\operatorname{dist}\big(y,\{z: f(z)\le f(x_0)\}\big)\le \max(\mu,0)\cdot \sup_k\|d_k\|\Big\}.Lˉ={y:dist(y,{z:f(z)≤f(x0​)})≤max(μ,0)⋅ksup​∥dk​∥}.

This is computed in [0,∞][0,\infty][0,∞] with 0⋅∞=00\cdot\infty=00⋅∞=0. It equals the whole space if μ>0\mu>0μ>0 and the dkd_kdk​ are unbounded.

Conclusion. For every k≥0k\ge 0k≥0:

f(xk+1)≤Ck−β ∥∇f(xk)∥2,f(x_{k+1}) \le C_k - \beta\,\|\nabla f(x_k)\|^2,f(xk+1​)≤Ck​−β∥∇f(xk​)∥2, β=min⁡{δμc1ρ, 2δ(1−δ)c12Lρc22, δ(1−σ)c12Lc22}.\beta=\min\left\{\frac{\delta\mu c_1}{\rho},\ \frac{2\delta(1-\delta)c_1^2}{L\rho c_2^2},\ \frac{\delta(1-\sigma)c_1^2}{Lc_2^2}\right\}.β=min{ρδμc1​​, Lρc22​2δ(1−δ)c12​​, Lc22​δ(1−σ)c12​​}.

Here δ,μ,ρ,σ\delta,\mu,\rho,\sigmaδ,μ,ρ,σ are fields of ppp, and division by zero yields 000.

Degenerate cases:

  • If ρ=0\rho=0ρ=0 is permitted by Shared.Params, then β≤0\beta\le 0β≤0 and the conclusion is weaker than f(xk+1)≤Ckf(x_{k+1})\le C_kf(xk+1​)≤Ck​.
  • If ηmin⁡>ηmax⁡\eta_{\min}>\eta_{\max}ηmin​>ηmax​, or the step predicates are unsatisfiable, the statement is vacuous.
  • At an iterate with ∇f(xk)=0\nabla f(x_k)=0∇f(xk​)=0, hypothesis 2 forces dk=0d_k=0dk​=0, and the conclusion reads f(xk+1)≤Ckf(x_{k+1})\le C_kf(xk+1​)≤Ck​.
  • For n=0n=0n=0, all gradients vanish and the conclusion is f(pt)≤Ckf(\text{pt})\le C_kf(pt)≤Ck​ for every kkk.
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me