Theorem 1.15 — convex functions are almost differentiable and their almost-gradients are subgradients
ProvedShorNonsmooth.AlmostDiff.convex_almostDifferentiable_almostGradient_isSubgradientalmost-differentiableconvex-analysisp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1subgradient
Let be convex. Then
- is almost differentiable: it is Lipschitz on every bounded set, differentiable almost everywhere, and its gradient is continuous on the set of points where it is differentiable;
- at every point , every almost-gradient of is a subgradient:
The theorem places convex functions inside the class of almost differentiable functions, so that methods designed for almost-gradients apply to convex minimization, with every almost-gradient a valid subgradient.
Formalization Note The printed theorem says that the almost-gradients "coincide with" the subgradients. That set equality is false: for on the almost-gradients at are , while the subgradients form . The book's proof establishes exactly the inclusion stated here, and this is what is formalized. (The true equality is between the subdifferential and the closed convex hull of the almost-gradients; the book does not prove it.)
Preamble
import Mathlib import Definitions.Def_ShorNonsmooth_AlmostDiff_IsSubgradient import Definitions.Def_ShorNonsmooth_AlmostDiff_AlmostDifferentiable import Definitions.Def_ShorNonsmooth_AlmostDiff_almostGradients
Formal statement
namespace ShorNonsmooth.AlmostDiff
/-- Shor (1985), p. 18, Theorem 1.15, in the form its proof establishes: a convex function `f`
on `E_n` is almost differentiable, and at every point `x₀` every almost-gradient of `f` is a
subgradient of `f` at `x₀`.
The printed statement says the almost-gradients "coincide with" the subgradients; that set
equality is false (for `f(x) = |x|` on `ℝ¹` the almost-gradients at `0` are `{-1, 1}` while the
subgradients form `[-1, 1]`), and the book's proof shows only the inclusion stated here. -/
theorem convex_almostDifferentiable_almostGradient_isSubgradient {n : ℕ}
(f : EuclideanSpace ℝ (Fin n) → ℝ) (hf : ConvexOn ℝ Set.univ f) :
AlmostDifferentiable f ∧
∀ x₀ : EuclideanSpace ℝ (Fin n), ∀ g ∈ almostGradients f x₀,
IsSubgradient f x₀ g := by sorry
end ShorNonsmooth.AlmostDiff
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 18, Theorem 1.15 (corrected: inclusion, as proved)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.