NLA-lib Explorer

ConvexOn.hasSupportingLineOn

Library · theorem

A convex function has a supporting line at each point of differentiability: if f is convex on s, \mathbf{x} \in s and f is differentiable at \mathbf{x}, its tangent y \mapsto f(\mathbf{x}) + f'(\mathbf{x})(y - \mathbf{x}) supports it on s.

ConvexOn.hasSupportingLineOn {f : ℝ → ℝ} {s : Set ℝ} (hf : ConvexOn ℝ s f) {x : ℝ} (hx : x ∈ s)
  (hd : DifferentiableAt ℝ f x) : HasSupportingLineOn f s x

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.Convex.SupportingLine.