Theorem 5.9 — generalized mean value theorem
ProvedRudin.ch05_generalized_mean_valueanalysiscalculus
If and are continuous real functions on which are differentiable on , then there is a point at which .
Preamble
import Mathlib open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 5.9 (generalized mean value theorem): if `f` and `g` are continuous on
`[a, b]` and differentiable on `(a, b)`, there is `x ∈ (a, b)` with
`(f b - f a) * g'(x) = (g b - g a) * f'(x)`. -/
theorem ch05_generalized_mean_value (a b : ℝ) (hab : a < b) (f g : ℝ → ℝ)
(hfc : ContinuousOn f (Set.Icc a b)) (hgc : ContinuousOn g (Set.Icc a b))
(hfd : ∀ x ∈ Set.Ioo a b, DifferentiableAt ℝ f x)
(hgd : ∀ x ∈ Set.Ioo a b, DifferentiableAt ℝ g x) :
∃ x ∈ Set.Ioo a b, (f b - f a) * deriv g x = (g b - g a) * deriv f x := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 5, p. 107, Theorem 5.9
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let be reals and let satisfy:
- and are continuous on the closed interval (relative continuity at each of its points);
- and are differentiable at every point of the open interval , differentiability being the ordinary two-sided notion for functions on .
Then there exists with
The conclusion is in product form, so no nonvanishing of or of is needed. The point is strictly interior; uniqueness is not asserted, and nothing is claimed about the behaviour of or outside .
Human review
Confirmed by the mission captain (proposal self-audit).