Documentation

TauCeti.Topology.Algebra.Order.Field

Ratios whose denominator diverges #

Mathlib's Mathlib/Topology/Algebra/Order/Field.lean proves tendsto_bdd_div_atTop_nhds_zero: a numerator confined to a fixed interval, divided by a denominator that diverges to atTop, tends to 0. This file records the companion statement for a numerator that is not bounded but instead tracks the denominator: if f agrees with g up to a two-sided additive bounded error and g diverges, then f / g tends to 1.

Main results #

Implementation notes #

The two error bounds are taken as separate ∃ C, ∀ᶠ … hypotheses rather than as a single bound on |f - g|, because a caller that derives the two inequalities from different estimates arrives holding them in that shape and would otherwise have to recombine them.

References #

Adapted from tendsto_ratio_one_of_div_atTop_pm_bounded in CebotarevDensity/ForMathlib/LogOneDivSubOne.lean of CBirkbeck/chebotarev-density (Apache-2.0, Birkbeck--Brasca) at commit 8575c9df1ae0a61120ab5c964c7911414254bec7. The source states it over ℝ; the statement here is over an arbitrary linearly ordered topological field.

theorem TauCeti.tendsto_div_nhds_one_of_le_add_const_of_sub_const_le {𝕜 : Type u_1} {α : Type u_2} [Field 𝕜] [LinearOrder 𝕜] [IsStrictOrderedRing 𝕜] [TopologicalSpace 𝕜] [OrderTopology 𝕜] {l : Filter α} {g f : α → 𝕜} (hg : Filter.Tendsto g l Filter.atTop) (h_le : ∃ (C : 𝕜), ∀ᶠ (s : α) in l, f s ≤ g s + C) (h_lower : ∃ (C : 𝕜), ∀ᶠ (s : α) in l, g s - C ≤ f s) :
Filter.Tendsto (fun (s : α) => f s / g s) l (nhds 1)

A ratio whose denominator diverges and whose numerator tracks it up to a two-sided additive bounded error tends to 1. Contrast tendsto_bdd_div_atTop_nhds_zero, whose numerator is confined to a fixed interval and whose ratio tends to 0.