Concave functions lie below tangents
ProvedConcaveOn.le_add_deriv_mul_subconvex-geometry
A differentiable concave real function lies below its tangent line, by trichotomy with slope bounds on each side.
Preamble
import Mathlib.Analysis.Convex.Deriv import Mathlib.Analysis.Calculus.Deriv.Slope import Mathlib.Tactic.Linarith open Filter Set open scoped Topology
Formal statement
namespace ConcaveOn
theorem le_add_deriv_mul_sub {s : Set ℝ} {g : ℝ → ℝ}
(hg : ConcaveOn ℝ s g) {x : ℝ} (hx : x ∈ s)
(hdiff : DifferentiableAt ℝ g x) {y : ℝ} (hy : y ∈ s) :
g y ≤ g x + deriv g x * (y - x) := by sorry
end ConcaveOnSource