Theorem 1.9 — convexity iff directional derivatives exist and are nondecreasing along lines
ProvedShorNonsmooth.Subdiff.convex_iff_dirDeriv_monotoneconvex-analysisdirectional-derivativep2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1
A function is convex if and only if its one-sided directional derivative exists (and is finite) at every point in every direction , and for every and the function
is nondecreasing.
This characterizes convexity through monotonicity of one-sided derivatives along lines, and yields the smooth Hessian criterion as a special case.
Formalization Note The derivative is packaged as a function with for all ; it is unique because a limit from the right is unique. Existence is required for all directions, including .
Preamble
import Mathlib import Definitions.Def_ShorNonsmooth_Subdiff_DirDeriv
Formal statement
namespace ShorNonsmooth.Subdiff
/-- Shor (1985), p. 11, Theorem 1.9: a function `f` on `E_n` is convex if and only if its
one-sided directional derivative `f′_η(x)` exists (finite) at every point `x` in every direction
`η`, and `t ↦ f′_η(x + tη)` is nondecreasing for every `x` and `η`. The derivative is recorded as
a function `D x η`; it is unique because the limit from the right is unique. -/
theorem convex_iff_dirDeriv_monotone {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) :
ConvexOn ℝ Set.univ f ↔
∃ D : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n) → ℝ,
(∀ x η, HasOneSidedDirDeriv f x η (D x η)) ∧
∀ x η, Monotone (fun t : ℝ => D (x + t • η) η) := by sorry
end ShorNonsmooth.Subdiff
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 11, Theorem 1.9
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.