Lemma 13.5: λ‖w‖² is 2λ-strongly convex; strongly convex + convex is strongly convex; a minimizer u of a λ-strongly convex f has f(w) − f(u) ≥ (λ/2)‖w − u‖²
ProvedUnderstandingML.strongly_convex_lemmaconvexitystrong-convexity
Lemma 13.5. (1) The function is -strongly convex. (2) If is -strongly convex and is convex, then is -strongly convex. (3) If is -strongly convex and is a minimizer of , then for any , .
Formally: with Mathlib's StrongConvexOn Set.univ, for every real .
Preamble
import Definitions.Def_UnderstandingML_Convex open MeasureTheory open scoped InnerProductSpace
Formal statement
namespace UnderstandingML
/-- **Lemma 13.5** (p. 175). (1) The function `f(w) = λ‖w‖²` is `2λ`-strongly convex. (2) If `f` is
`λ`-strongly convex and `g` is convex, then `f + g` is `λ`-strongly convex. (3) If `f` is
`λ`-strongly convex and `u` is a minimizer of `f`, then for any `w`,
`f(w) − f(u) ≥ (λ/2)‖w − u‖²`. Strong convexity is Mathlib's `StrongConvexOn` (Definition
13.4). -/
theorem strongly_convex_lemma {d : ℕ} :
(∀ lam : ℝ, StrongConvexOn Set.univ (2 * lam) (fun w : Vec d ↦ lam * ‖w‖ ^ 2)) ∧
(∀ (lam : ℝ) (f g : Vec d → ℝ), StrongConvexOn Set.univ lam f → ConvexOn ℝ Set.univ g →
StrongConvexOn Set.univ lam (f + g)) ∧
∀ (lam : ℝ) (f : Vec d → ℝ) (u : Vec d), StrongConvexOn Set.univ lam f →
(∀ w, f u ≤ f w) → ∀ w, lam / 2 * ‖w - u‖ ^ 2 ≤ f w - f u := by sorry
end UnderstandingML
Source
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, doi:10.1017/CBO9781107298019, §13.3 p. 175, Lemma 13.5 with its proof
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.