Eq. (3.8) — Ck+1−f(x∗)≤θ(Ck−f(x∗))
ProvedNonmonotoneLS.RLinear.cost_contractionby mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)
line-searchlinear-convergencenonmonotonep2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1strong-convexity
Let f:Rn→R be continuously differentiable and strongly convex with constant γ>0 in the sense of (3.1), and let x∗ minimize f. Consider a run of the Nonmonotone Line Search Algorithm with ηmax<1, iterates xk, directions dk, steps αk and reference values Ck; write gk=∇f(xk). Assume
- there are c1,c2>0 with gkTdk≤−c1∥gk∥2 and ∥dk∥≤c2∥gk∥ for every k;
- αk≤μ for every k;
- ∇f is Lipschitz continuous with constant L>0 on Lˉ.
Then for each k
Ck+1−f(x∗)≤θ(Ck−f(x∗)),(3.8)
where
θ=1−βb2(1−ηmax),b2=β+γb21,
β is given by (2.9) and b=1+μc2L by (3.7).
Since f(xk)≤Ck and C0=f(x0), the contraction yields the linear rate (3.5) immediately.
Formalization Note. All constants are explicit and computed from δ,σ,ρ,μ,ηmax,c1,c2,L,γ. The direction assumption is required at every k, as in the goal theorem.
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.8) (p. 1050): if `f` is strongly convex in the sense of (3.1) with constant `γ`,
`x*` minimizes `f`, `η_max < 1`, the directions satisfy (2.4)–(2.5) with constants `c₁, c₂ > 0` at
every `k`, the steps satisfy `α_k ≤ μ`, and `∇f` is `L`-Lipschitz (`L > 0`) on `𝓛̄`, then
`C_{k+1} - f(x*) ≤ θ (C_k - f(x*))` for every `k`, where `θ = 1 - βb₂(1 - η_max)`,
`b₂ = 1/(β + γb²)`, `β` is given by (2.9) and `b = 1 + μc₂L`. -/
theorem cost_contraction {n : ℕ} (p : Shared.Params) (r : Rule) (f : EuclideanSpace ℝ (Fin n) → ℝ)
(hf : ContDiff ℝ 1 f) (γ : ℝ) (hsc : IsStronglyConvexWith f γ)
(xstar : EuclideanSpace ℝ (Fin n)) (hmin : ∀ y, f xstar ≤ f y)
(hηmax : p.ηmax < 1)
(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, Shared.costC f x η (k + 1) - f xstar ≤
theta p c₁ c₂ L γ * (Shared.costC f x η k - f xstar) := 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.8)
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- n∈N, a parameter bundle p of type
Shared.Params (fields μ,δ,ρ,σ,ηmin,ηmax used; structure not shown), and a rule r∈{wolfe,armijo}.
- A C1 function f:Rn→R with gradient ∇f, and a real number γ.
- Sequences (xk) and (dk) in Rn, and real sequences (αk) and (ηk).
Hypotheses.
-
γ>0 and f(y)+⟨∇f(y),x−y⟩+2γ1∥x−y∥2≤f(x) for all x,y∈Rn.
-
x∗ is a global minimizer: f(x∗)≤f(y) for all y.
-
ηmax<1.
-
(x,d,α,η) is a run for (p,r,f). For every k:
- xk+1=xk+αkdk;
- ηk∈[ηmin,ηmax];
- αk satisfies the rule's step predicate (not shown) with reference value Ck.
Here Ck is Shared.costC applied to f,x,η,k (not shown).
-
Real constants c1>0 and c2>0 satisfy, for every k:
⟨∇f(xk),dk⟩≤−c1∥∇f(xk)∥2and∥dk∥≤c2∥∇f(xk)∥.
- αk≤μ for every k.
- L is a nonnegative real with L>0, and ∇f is L-Lipschitz on
Lˉ={y:dist(y,{z:f(z)≤f(x0)})≤max(μ,0)⋅ksup∥dk∥},
computed in [0,∞] with 0⋅∞=0.
Conclusion. For every k≥0:
Ck+1−f(x∗)≤θ(Ck−f(x∗)),
where
θ=1−βb2(1−ηmax),b2=β+γb21,b=1+μc2L,
β=min{ρδμc1, Lρc222δ(1−δ)c12, Lc22δ(1−σ)c12}.
Division by zero yields 0.
Degenerate cases:
- The statement does not assert θ<1 or θ≥0; θ is whatever the formula gives.
- If ρ=0 is allowed by
Shared.Params, then β≤0, and θ may be 1 or larger.
- If β+γb2=0, then b2=0 and θ=1.
- If ηmin>ηmax, or the step predicate is unsatisfiable, the statement is vacuous.
- For n=0, xk=x∗ for all k, and the claim concerns only the values Ck.
View graph
Confirmed by the moderator at approval.