§3.1, proof of Theorem 3.2, p. 265 — Σ_{s=1}^t (f(x_s) − f(x*)) ≤ R²/(2η) + ηL²t/2
ProvedConvexOptAlg.Subgradient.thm_3_2_sumLet be compact and convex, convex on , and a minimizer of on . Let , , and , and let be a run of projected subgradient descent with constant step for the steps , such that is contained in the closed Euclidean ball of radius centred at and for . Then
Dividing by and choosing to balance the two terms gives Theorem 3.2.
Formalization Note Compactness of , convexity of and the existence of the minimizer are the standing assumptions of Chapter 3 and of the book. The page assumes for every subgradient at every point of ; here the bound is assumed only for the subgradients used by the run, a weaker hypothesis (so a stronger statement). With subgradients taken relative to , the page's form of the bound could never hold at a boundary point of a compact set (the relative subdifferential there contains every outward normal), so the run-wise bound is also what keeps the statement non-vacuous.
import Mathlib import Definitions.Def_OnlineConvexOpt_FirstOrder_Protocol import Definitions.Def_ConvexOptAlg_Subgradient_Defs
namespace ConvexOptAlg.Subgradient
/-- Bubeck, proof of Theorem 3.2, p. 265, second display: under the assumptions of Chapter 3
and §3.1 (`X` compact convex, `f` convex on `X`, `X` inside the ball of radius `R` centred at
`x₁`, subgradients bounded by `L`, `x*` a minimizer of `f` on `X`), a run of projected
subgradient descent with constant step `η > 0` satisfies
`∑_{s=1}^t (f(x_s) - f(x*)) ≤ R²/(2η) + ηL²t/2`. The bound `‖g_s‖ ≤ L` is assumed only for the
subgradients the run uses. -/
theorem thm_3_2_sum {n : ℕ} (X : Set (EuclideanSpace ℝ (Fin n)))
(hXcpt : IsCompact X) (hXconv : Convex ℝ X)
(f : EuclideanSpace ℝ (Fin n) → ℝ) (hf : ConvexOn ℝ X f)
(R L η : ℝ) (hR : 0 < R) (hη : 0 < η) (t : ℕ)
(x g : ℕ → EuclideanSpace ℝ (Fin n))
(hrun : IsProjSubgradRun X f (fun _ => η) x g t)
(hball : X ⊆ Metric.closedBall (x 1) R)
(hL : ∀ s, 1 ≤ s → s ≤ t → ‖g s‖ ≤ L)
(xstar : EuclideanSpace ℝ (Fin n)) (hxstar : xstar ∈ X) (hmin : ∀ y ∈ X, f xstar ≤ f y) :
∑ s ∈ Finset.Icc 1 t, (f (x s) - f xstar) ≤
R ^ 2 / (2 * η) + η * L ^ 2 * (t : ℝ) / 2 := by sorry
end ConvexOptAlg.Subgradient
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.