Unimodality from a single sign change of the derivative
Provedunimodal_of_deriv_signderivativemonotonicityreal-analysissiegel-median
Unimodality from a single-sign-change derivative (Siegel 2001, Theorem 2.1, p.5). If is differentiable everywhere with derivative that is positive on and negative on (a single interior maximum at ), then is strictly increasing on and strictly decreasing on . This is the derivative-sign half of unimodality, the step that turns the sign pattern of the log-density-difference derivative into the StrictMonoOn/StrictAntiOn hypotheses of the single-crossing lemma unimodal_single_crossing.
Preamble
import Mathlib.Analysis.Calculus.Deriv.MeanValue set_option autoImplicit false open Set
Formal statement
theorem unimodal_of_deriv_sign
(φ φ' : ℝ → ℝ) (μ a : ℝ)
(hd : ∀ x, HasDerivAt φ (φ' x) x)
(hpos : ∀ x ∈ Ioo (0:ℝ) a, 0 < φ' x)
(hneg : ∀ x ∈ Ioo a μ, φ' x < 0) :
StrictMonoOn φ (Icc 0 a) ∧ StrictAntiOn φ (Icc a μ) := by sorrySource
A. Siegel, "Median Bounds and their Application", J. Algorithms 38:184-236, 2001, Theorem 2.1, p.5 (single interior turning point). Mathlib: strictMonoOn_of_hasDerivWithinAt_pos / strictAntiOn_of_hasDerivWithinAt_neg.