Darboux's theorem
ProvedFamousTheorems.exists_hasderivwithinat_eq_of_gt_of_ltcalculusmathlibreal-analysis
Darboux's theorem. A derivative has the intermediate value property, even when it is not continuous. If takes two values on an interval it takes every value between them — so a function like the sign function, which skips values, can never be a derivative. This is remarkable because derivatives genuinely can be discontinuous ( has a derivative discontinuous at ), yet they cannot have jump discontinuities. The proof applies the extreme value theorem to an auxiliary function, using the interior extremum criterion rather than continuity of . Darboux published it in 1875. Formalization note. The derivative is HasDerivWithinAt on an interval. The result is Mathlib's exists_hasDerivWithinAt_eq_of_gt_of_lt.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
universe u_1 u_2 u_3 u_4 u_5 u_6 u_7 u_8 u_9 u_10 u_11 u_12 u_13 u_14 u_15 u_16 u_17 u_18 u_19 u_20 u_21 u_22 u_23 u_24 u_25
open Filter Set Topology DirectSum
theorem exists_hasderivwithinat_eq_of_gt_of_lt :
∀ {a b : ℝ} {f f' : ℝ → ℝ},
a ≤ b → (∀ x ∈ Icc a b, HasDerivWithinAt f (f' x) (Icc a b) x) → ∀ {m : ℝ}, f' a < m → m < f' b → m ∈ f' '' Ioo a b := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.