Theorem 2.7 — first-order lower bound for a convex function differentiable at a point
ProvedOrabonaOL.OGD.convex_first_order_lower_boundconvex-analysisfirst-order-conditiononline-learning
Let and let be convex on (in particular is convex). Let and assume is differentiable at , with gradient . Then
This is the book's Theorem 2.7, with the extended-valued convex function represented by its real values on its effective domain . It provides the linear lower bound on a convex function that drives the analysis of Online Gradient Descent (it is used in Theorem 2.8 and Lemma 2.12).
Formalization Note is EuclideanSpace ℝ (Fin d), is Mathlib's gradient f x, and the inner product is inner ℝ.
Differences from the source:
- encoding: f : R^d → (−∞, +∞] convex; inequality for all y ∈ R^d → f : R^d → ℝ convex on S (S = dom f); inequality for y ∈ S; reason: for y ∉ dom f the book's inequality reads +∞ ≥ … and has no content; on dom f the two functions agree
- generalization: x ∈ int dom f → x ∈ S; reason: differentiability at x already concerns a whole neighbourhood of x and the inequality only uses the segment [x, y] ⊆ S; taking x ∈ int S recovers the book's statement
Preamble
import Mathlib
Formal statement
namespace OrabonaOL.OGD
/-- **Theorem 2.7 (first-order lower bound for a differentiable convex function).**
Orabona, A Modern Introduction to Online Learning, arXiv:1912.13213v10, p. 11 (PDF p. 23),
Theorem 2.7 (Rockafellar, 1970, Theorem 25.1 and Corollary 25.1.1).
Let `f` be convex on a convex set `S` (the book's `dom f`), `x ∈ S`, and `f` differentiable
at `x`. Then `f y ≥ f x + ⟪∇f(x), y − x⟫` for every `y ∈ S`.
**Formalization Note.** The book's extended-valued `f : ℝ^d → (−∞, +∞]` is encoded as a real
function `f` together with its effective domain `S`; for `y ∉ S` the book's inequality reads
`+∞ ≥ …` and has no content. The book assumes `x ∈ int dom f`; here `x ∈ S` suffices, which
specializes to the book's statement. -/
theorem convex_first_order_lower_bound {d : ℕ} (S : Set (EuclideanSpace ℝ (Fin d)))
(f : EuclideanSpace ℝ (Fin d) → ℝ) (hf : ConvexOn ℝ S f)
(x : EuclideanSpace ℝ (Fin d)) (hx : x ∈ S) (hdiff : DifferentiableAt ℝ f x) :
∀ y ∈ S, f x + inner ℝ (gradient f x) (y - x) ≤ f y := by sorry
end OrabonaOL.OGD
Source
Orabona, A Modern Introduction to Online Learning, arXiv:1912.13213v10, p. 11 (PDF p. 23), Theorem 2.7 (Rockafellar 1970, Theorem 25.1 and Corollary 25.1.1)