Strict monotonicity on from a positive interior derivative
ProvedstrictMonoOn_Icc_of_interior_deriv_posanalysiscalculusmonotonicity
If is continuous on the closed interval and has a strictly positive derivative at every interior point — with no derivative requirement at the endpoints — then is strictly increasing on . This is the boundary-aware form of monotonicity-from-positive-derivative: it applies to functions such as that are well-defined and differentiable only on the open interval. Source: standard real-analysis consequence of the mean value theorem; in Mathlib it follows from strictMonoOn_of_deriv_pos (Mathlib/Analysis/Calculus/Deriv/MeanValue.lean), which requires only ContinuousOn f D and positivity of deriv f on interior D.
Preamble
import Mathlib.Analysis.Calculus.Deriv.MeanValue open Set
Formal statement
theorem strictMonoOn_Icc_of_interior_deriv_pos (f f' : ℝ → ℝ) (a b : ℝ) (hcont : ContinuousOn f (Set.Icc a b)) (hd : ∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) (hpos : ∀ x ∈ Set.Ioo a b, 0 < f' x) : StrictMonoOn f (Set.Icc a b) := by sorry
Source
Standard real analysis (mean value theorem); Mathlib strictMonoOn_of_deriv_pos.