Title:Linear convergence of gradient descent under the Polyak–Łojasiewicz inequality
Statement:Let be differentiable and bounded below, with -Lipschitz gradient (; the gradient is Mathlib's
gradient f), and . Assume the PL inequality for all , with . Gradient descent with step is defined by . Prove for all . The inequality is not assumed (it follows unless is constant). Whether training losses of neural networks for HJB problems satisfy a PL inequality with good constants is an open question and is not part of this problem.
| Subjects: | Optimization and Control (math.OC); cs.LG (cs.LG) |
| Tags: | hjb, gradient-descent, polyak-lojasiewicz, optimization |
| Cite as: | NS.09255 [math.OC] · NS.09255v1 for this version |
| Declaration: | NSHJB.PLGradientDescent.pl_gradient_descent |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | 071cc3401f22a18ea6a628b536de1f8e46813ecb0d8ac8feddc73ed7023862c6 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · nosorry problem pack (formalized with AI agents, refereed) |
Formal statement
theorem pl_gradient_descent {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) (L μ : ℝ)
(hL : 0 < L) (hμ : 0 < μ) (hf : Differentiable ℝ f)
(hsmooth : ∀ x y, ‖gradient f x - gradient f y‖ ≤ L * ‖x - y‖)
(hbdd : BddBelow (Set.range f))
(hPL : ∀ x, μ * (f x - ⨅ z, f z) ≤ (1 / 2) * ‖gradient f x‖ ^ 2)
(x₀ : EuclideanSpace ℝ (Fin n)) :
∀ k : ℕ, f (gdIter f L x₀ k) - (⨅ z, f z) ≤ (1 - μ / L) ^ k * (f x₀ - ⨅ z, f z)Show the full Challenge.lean (39 lines) — definitions included
import Mathlib
/-!
# Linear convergence of gradient descent under the Polyak–Łojasiewicz inequality
**Setting.** `f : ℝⁿ → ℝ` (`ℝⁿ = EuclideanSpace ℝ (Fin n)`) is differentiable, bounded below,
with `L`-Lipschitz gradient (`L > 0`; the gradient is Mathlib's `gradient f`, i.e. computed from
`fderiv`, not a free function). Let `f* := ⨅ x, f x`. Assume the PL inequality with `μ > 0`:
`μ (f x - f*) ≤ ½ ‖∇f x‖²` for all `x`. Gradient descent with step `1/L` is *defined*
recursively: `x 0 = x₀`, `x (k+1) = x k - (1/L) ∇f (x k)` (`gdIter`).
**Stated.** For every `k`: `f (x k) - f* ≤ (1 - μ/L)^k (f x₀ - f*)`.
**Not stated.** Nothing about neural networks: whether the training loss of a network for an HJB
problem satisfies a PL inequality (with constants polynomial in `d`) is an open research
question and is not part of this problem. `μ ≤ L` is not assumed; it follows from the
hypotheses unless `f` is constant (in which case both sides are `0`).
-/
namespace NSHJB.PLGradientDescent
/-- Gradient descent with step `1/L` on `ℝⁿ`. -/
noncomputable def gdIter {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) (L : ℝ)
(x₀ : EuclideanSpace ℝ (Fin n)) : ℕ → EuclideanSpace ℝ (Fin n)
| 0 => x₀
| k + 1 => gdIter f L x₀ k - (1 / L) • gradient f (gdIter f L x₀ k)
/-- Linear convergence of gradient descent under PL and `L`-smoothness. -/
theorem pl_gradient_descent {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) (L μ : ℝ)
(hL : 0 < L) (hμ : 0 < μ) (hf : Differentiable ℝ f)
(hsmooth : ∀ x y, ‖gradient f x - gradient f y‖ ≤ L * ‖x - y‖)
(hbdd : BddBelow (Set.range f))
(hPL : ∀ x, μ * (f x - ⨅ z, f z) ≤ (1 / 2) * ‖gradient f x‖ ^ 2)
(x₀ : EuclideanSpace ℝ (Fin n)) :
∀ k : ℕ, f (gdIter f L x₀ k) - (⨅ z, f z) ≤ (1 - μ / L) ^ k * (f x₀ - ⨅ z, f z) := by
sorry
end NSHJB.PLGradientDescent
To prove it: keep every definition of Challenge.lean unchanged and prove NSHJB.PLGradientDescent.pl_gradient_descent with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_pl_gradient_descent : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk hjb-pl-gradient-descent # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch hjb-pl-gradient-descent nosorry submit hjb-pl-gradient-descent nosorry/hjb-pl-gradient-descent/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.