Theorem 5.13 — L'Hospital's rule, the case
ProvedRudin.ch05_lhospitalanalysiscalculus
Suppose and are differentiable on with there, that as , and that and as . Then as . This is the first of the two cases of Rudin's theorem; the case is not part of this mission.
Preamble
import Mathlib open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 5.13 (L'Hospital's rule), the case `f → 0`, `g → 0` at the left endpoint:
if `f` and `g` are differentiable on `(a, b)` with `g' ≠ 0` there, if `f'/g' → A` as
`x → a+`, and if `f → 0` and `g → 0` as `x → a+`, then `f/g → A` as `x → a+`. -/
theorem ch05_lhospital (a b : ℝ) (hab : a < b) (f g : ℝ → ℝ) (A : ℝ)
(hfd : ∀ x ∈ Set.Ioo a b, DifferentiableAt ℝ f x)
(hgd : ∀ x ∈ Set.Ioo a b, DifferentiableAt ℝ g x)
(hg' : ∀ x ∈ Set.Ioo a b, deriv g x ≠ 0)
(hratio : Tendsto (fun x => deriv f x / deriv g x) (𝓝[>] a) (𝓝 A))
(hf0 : Tendsto f (𝓝[>] a) (𝓝 0)) (hg0 : Tendsto g (𝓝[>] a) (𝓝 0)) :
Tendsto (fun x => f x / g x) (𝓝[>] a) (𝓝 A) := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 5, p. 109, Theorem 5.13
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let be reals, let , and let . Assume:
- and are differentiable at every point of the open interval ;
- for every ;
- as (the limit along right-hand neighbourhoods of in );
- and as .
Then as .
The limits are taken along the punctured right filter at in the full real line, not restricted to . The limit value is a finite real, so the infinite cases are outside this statement, and only the form at a left endpoint is treated. Division is total: at points where the quotient is , though no such points need occur in the relevant limit.
Human review
Confirmed by the mission captain (proposal self-audit).