The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.ComputeAsymptotics.Lemmas

8 declarations. Mathlib docs ยท Source

Conversion lemmas

The main procedure of the compute_asymptotics tactic is able to compute limits of functions at atTop filter. This file contains lemmas we use to reduce other asymptotic goals to the case Tendsto f atTop l.

Main theorems

This file contains the following lemmas:

  • tendsto_nhdsGT_of_tendsto_atTop for Tendsto f (๐“[>] c) l
  • tendsto_nhdsLT_of_tendsto_atTop for Tendsto f (๐“[<] c) l
  • tendsto_nhdsNE_of_tendsto_atTop for Tendsto f (๐“[โ‰ ] c) l
  • isBigO_of_div_tendsto_atTop and isBigO_of_div_tendsto_atBot for f =O[l] g

We also use lemmas from other files:

  • tendsto_comp_neg_atTop_iff for Tendsto f atBot l
  • IsLittleO.of_tendsto_div_atBot and IsLittleO.of_tendsto_div_atTop for f =o[l] g
  • isEquivalent_of_tendsto_one for f โˆผ g

theorem Tactic.ComputeAsymptotics.tendsto_nhdsGT_of_tendsto_atTop E3 #

โˆ€ {ฮฑ : Type u_1} {๐•œ : Type u_2} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ]
  [inst_3 : TopologicalSpace ๐•œ] [OrderTopology ๐•œ] {l : Filter ฮฑ} (f : ๐•œ โ†’ ฮฑ) (c : ๐•œ),
  Filter.Tendsto (fun x โ†ฆ f (c + xโปยน)) Filter.atTop l โ†’ Filter.Tendsto f (nhdsWithin c (Set.Ioi c)) l

theorem Tactic.ComputeAsymptotics.tendsto_nhdsLT_of_tendsto_atTop E3 #

โˆ€ {ฮฑ : Type u_1} {๐•œ : Type u_2} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ]
  [inst_3 : TopologicalSpace ๐•œ] [OrderTopology ๐•œ] {l : Filter ฮฑ} (f : ๐•œ โ†’ ฮฑ) (c : ๐•œ),
  Filter.Tendsto (fun x โ†ฆ f (c - xโปยน)) Filter.atTop l โ†’ Filter.Tendsto f (nhdsWithin c (Set.Iio c)) l

theorem Tactic.ComputeAsymptotics.tendsto_nhdsNE_of_tendsto_atTop E3 #

โˆ€ {ฮฑ : Type u_1} {๐•œ : Type u_2} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ]
  [inst_3 : TopologicalSpace ๐•œ] [OrderTopology ๐•œ] {l : Filter ฮฑ} (f : ๐•œ โ†’ ฮฑ) (c : ๐•œ),
  Filter.Tendsto (fun x โ†ฆ f (c - xโปยน)) Filter.atTop l โ†’
    Filter.Tendsto (fun x โ†ฆ f (c + xโปยน)) Filter.atTop l โ†’ Filter.Tendsto f (nhdsWithin c {c}แถœ) l

theorem Tactic.ComputeAsymptotics.tendsto_nhdsNE_of_tendsto_atTop_nhds_of_eq E0 #

โˆ€ {ฮฑ : Type u_1} {๐•œ : Type u_2} [inst : Field ๐•œ] [inst_1 : LinearOrder ๐•œ] [IsStrictOrderedRing ๐•œ]
  [inst_3 : TopologicalSpace ๐•œ] [OrderTopology ๐•œ] (f : ๐•œ โ†’ ฮฑ) (c : ๐•œ) [inst_5 : TopologicalSpace ฮฑ] {a b : ฮฑ},
  Filter.Tendsto (fun x โ†ฆ f (c - xโปยน)) Filter.atTop (nhds a) โ†’
    Filter.Tendsto (fun x โ†ฆ f (c + xโปยน)) Filter.atTop (nhds b) โ†’ a = b โ†’ Filter.Tendsto f (nhdsWithin c {c}แถœ) (nhds a)

theorem Tactic.ComputeAsymptotics.isBigOWith_of_tendsto_top E1 #

โˆ€ {C : โ„} {f g : โ„ โ†’ โ„} {l : Filter โ„},
  Filter.Tendsto (fun x โ†ฆ g x / f x) l Filter.atTop โ†’ 0 < C โ†’ Asymptotics.IsBigOWith C l f g

theorem Tactic.ComputeAsymptotics.isBigOWith_of_tendsto_bot E1 #

โˆ€ {C : โ„} {f g : โ„ โ†’ โ„} {l : Filter โ„},
  Filter.Tendsto (fun x โ†ฆ g x / f x) l Filter.atBot โ†’ 0 < C โ†’ Asymptotics.IsBigOWith C l f g

theorem Tactic.ComputeAsymptotics.isBigO_of_div_tendsto_atTop E3 #

โˆ€ {f g : โ„ โ†’ โ„} {l : Filter โ„}, Filter.Tendsto (fun x โ†ฆ g x / f x) l Filter.atTop โ†’ f =O[l] g

theorem Tactic.ComputeAsymptotics.isBigO_of_div_tendsto_atBot E3 #

โˆ€ {f g : โ„ โ†’ โ„} {l : Filter โ„}, Filter.Tendsto (fun x โ†ฆ g x / f x) l Filter.atBot โ†’ f =O[l] g