Supporting lines of real functions
Library · Source module
Supporting lines of real functions
A function f : \mathbb{R} \to \mathbb{R} has a supporting line on a set s at a point \mathbf{x} when some affine function through (\mathbf{x}, f(\mathbf{x})) lies below f on s: f(\mathbf{x}) + c(y - \mathbf{x}) \le f(y) for all y \in s. A convex function has one at every point of s where it is differentiable; a function that is not convex can still have one at the points that matter, which is how Jensen's inequality survives for "almost convex" functions (Tropp and Webber's Lemma 9.4). Mathlib has no subgradient of a real function (searched Subgradient, SupportingLine). Upstream candidate for Mathlib.Analysis.Convex.Deriv.
Main definitions
* HasSupportingLineOn: a supporting line of f on s at \mathbf{x}.
Main results
* ConvexOn.hasSupportingLineOn: a convex function differentiable at \mathbf{x} \in s has a supporting line on s at \mathbf{x}, its tangent.