Eq. (2): an -Lipschitz gradient gives the quadratic upper bound
ProvedKarimiPL.ProxGrad.eq_2_descent_lemmalinear-convergenceoptimizationpolyak-lojasiewiczproximal-gradient
Let be differentiable and suppose its gradient is -Lipschitz continuous:
Then for all
This is inequality (2) of Karimi, Nutini and Schmidt, the standing smoothness assumption of the paper. It is the first step of the proof of Theorem 5, and it connects the literal hypothesis "L-Lipschitz continuous gradient" of Theorem 5 to the form (2) in which the other items of this mission assume it.
Formalization Note is EuclideanSpace ℝ (Fin d) and is Mathlib's gradient. No sign condition on is imposed: for the Lipschitz hypothesis forces , and for the conclusion is trivial.
Differences from the source:
- reading: "the first derivative of f is L-Lipschitz continuous. This means that (2)" → the implication: L-Lipschitz gradient ⇒ (2); reason: the converse is false (f(x) = −x² on ℝ satisfies (2) with L = 0 but its gradient is not 0-Lipschitz), so the implication is the true content of "this means"
- encoding: first derivative of f exists and is L-Lipschitz → Differentiable ℝ f and ‖∇f x − ∇f y‖ ≤ L‖x − y‖ for all x, y; reason: Mathlib's gradient is 0 at points of non-differentiability, so differentiability is stated
- generalization: Lipschitz constant L > 0 → any real L; reason: no sign hypothesis is needed; the statement specializes to L > 0
Preamble
import Mathlib open scoped InnerProductSpace
Formal statement
namespace KarimiPL.ProxGrad
/-- **Eq. (2): an `L`-Lipschitz gradient gives the quadratic upper bound.**
Karimi, Nutini, Schmidt, *Linear Convergence of Gradient and Proximal-Gradient Methods Under the
Polyak-Łojasiewicz Condition*, arXiv:1608.04636v4, §2, eq. (2), p. 2: "we assume that the first derivative of f is L-Lipschitz continuous.
This means that f(y) ≤ f(x) + ⟨∇f(x), y − x⟩ + (L/2)||y − x||², (2) for all x and y."
If `f : ℝᵈ → ℝ` is differentiable and `‖∇f(x) − ∇f(y)‖ ≤ L‖x − y‖` for all `x, y`, then
`f(y) ≤ f(x) + ⟨∇f(x), y − x⟩ + (L/2)‖y − x‖²` for all `x, y`.
**Formalization Note.** `ℝᵈ` is `EuclideanSpace ℝ (Fin d)` and `∇` is Mathlib's `gradient`;
`Differentiable ℝ f` makes `gradient f` the true gradient. No sign condition on `L` is
needed: for `d ≥ 1` the Lipschitz hypothesis forces `L ≥ 0`, and for `d = 0` the conclusion
is trivial. -/
theorem eq_2_descent_lemma {d : ℕ} {f : EuclideanSpace ℝ (Fin d) → ℝ} {L : ℝ}
(hf : Differentiable ℝ f)
(hlip : ∀ x y : EuclideanSpace ℝ (Fin d), ‖gradient f x - gradient f y‖ ≤ L * ‖x - y‖)
(x y : EuclideanSpace ℝ (Fin d)) :
f y ≤ f x + ⟪gradient f x, y - x⟫_ℝ + L / 2 * ‖y - x‖ ^ 2 := by sorry
end KarimiPL.ProxGrad
Source
Karimi, Nutini, Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition, arXiv:1608.04636v4, §2, eq. (2), p. 2