Theorem 5.11 — sign of the derivative and monotonicity
ProvedRudin.ch05_monotonicityanalysiscalculus
Let be differentiable on . If throughout, is monotonically increasing; if throughout, is constant; if throughout, is monotonically decreasing.
Preamble
import Mathlib open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 5.11: on an interval where `f` is differentiable, a nonnegative derivative
makes `f` monotonically increasing, a vanishing derivative makes it constant, and a nonpositive
derivative makes it monotonically decreasing. -/
theorem ch05_monotonicity (a b : ℝ) (f : ℝ → ℝ)
(hfd : ∀ x ∈ Set.Ioo a b, DifferentiableAt ℝ f x) :
((∀ x ∈ Set.Ioo a b, 0 ≤ deriv f x) → MonotoneOn f (Set.Ioo a b)) ∧
((∀ x ∈ Set.Ioo a b, deriv f x = 0) → ∀ x ∈ Set.Ioo a b, ∀ y ∈ Set.Ioo a b, f x = f y) ∧
((∀ x ∈ Set.Ioo a b, deriv f x ≤ 0) → AntitoneOn f (Set.Ioo a b)) := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 5, p. 108, Theorem 5.11
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let and let be differentiable at every point of the open interval . Three implications are asserted together:
- If for all , then is monotone non-decreasing on : whenever and .
- If for all , then is constant on : for all .
- If for all , then is monotone non-increasing on : whenever and .
No hypothesis appears, so when is empty all three conclusions hold vacuously. All statements are relative to only; no continuity at the endpoints and no information about outside the interval is involved. The inequalities on are non-strict, and the conclusions are correspondingly non-strict monotonicity.
Human review
Confirmed by the mission captain (proposal self-audit).