Cauchy's mean value theorem
ProvedFamousTheorems.cauchy_mean_value_theoremCauchy's mean value theorem. Let and be continuous on and differentiable on with derivatives . Then there is with
Taking gives Lagrange's mean value theorem. It is the standard route to L'Hôpital's rule and to the Lagrange form of the remainder in Taylor's theorem.
Formalization note. Mathlib's exists_ratio_hasDerivAt_eq_ratio_slope. The platform's older Cauchy_Mean_Value_Theorem entry is a deprecated placeholder stating only True; this is the actual theorem. Derivatives are given by HasDerivAt at the interior points.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem cauchy_mean_value_theorem {f f' g g' : ℝ → ℝ} {a b : ℝ} (hab : a < b) (hfc : ContinuousOn f (Set.Icc a b))
(hff' : ∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) (hgc : ContinuousOn g (Set.Icc a b))
(hgg' : ∀ x ∈ Set.Ioo a b, HasDerivAt g (g' x) x) :
∃ c ∈ Set.Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `exists_ratio_hasDerivAt_eq_ratio_slope`. Proof here reduces to that Mathlib result.