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 / V15. Real analysis in one variable

Mathlib.Analysis.Asymptotics.Arith

103 declarations. Mathlib docs · Source

Arithmetic operations on asymptotic relations

This file develops the behavior of IsBigOWith, IsBigO, and IsLittleO under absolute values, negation, addition, subtraction, zero, constants, and finite sums.

Simplification: absolute value

Simplification: negate

Addition and subtraction

Lemmas about IsBigO (f₁ - f₂) g l / IsLittleO (f₁ - f₂) g l treated as a binary relation

Zero and other constants

Sum

theorem Asymptotics.isBigOWith_abs_right E0 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {c : ℝ} {f : α → E} {l : Filter α} {u : α → ℝ},
  (Asymptotics.IsBigOWith c l f fun x ↦ |u x|) ↔ Asymptotics.IsBigOWith c l f u

theorem Asymptotics.IsBigOWith.abs_right E1 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {c : ℝ} {f : α → E} {l : Filter α} {u : α → ℝ},
  Asymptotics.IsBigOWith c l f u → Asymptotics.IsBigOWith c l f fun x ↦ |u x|

Alias of the reverse direction of Asymptotics.isBigOWith_abs_right.

theorem Asymptotics.IsBigOWith.of_abs_right E1 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {c : ℝ} {f : α → E} {l : Filter α} {u : α → ℝ},
  (Asymptotics.IsBigOWith c l f fun x ↦ |u x|) → Asymptotics.IsBigOWith c l f u

Alias of the forward direction of Asymptotics.isBigOWith_abs_right.

theorem Asymptotics.isBigO_abs_right E0 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {f : α → E} {l : Filter α} {u : α → ℝ},
  (f =O[l] fun x ↦ |u x|) ↔ f =O[l] u

theorem Asymptotics.IsBigO.abs_right E1 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {f : α → E} {l : Filter α} {u : α → ℝ},
  f =O[l] u → f =O[l] fun x ↦ |u x|

Alias of the reverse direction of Asymptotics.isBigO_abs_right.

theorem Asymptotics.IsBigO.of_abs_right E1 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {f : α → E} {l : Filter α} {u : α → ℝ},
  (f =O[l] fun x ↦ |u x|) → f =O[l] u

Alias of the forward direction of Asymptotics.isBigO_abs_right.

theorem Asymptotics.isLittleO_abs_right E0 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {f : α → E} {l : Filter α} {u : α → ℝ},
  (f =o[l] fun x ↦ |u x|) ↔ f =o[l] u

theorem Asymptotics.IsLittleO.of_abs_right E1 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {f : α → E} {l : Filter α} {u : α → ℝ},
  (f =o[l] fun x ↦ |u x|) → f =o[l] u

Alias of the forward direction of Asymptotics.isLittleO_abs_right.

theorem Asymptotics.IsLittleO.abs_right E1 #

∀ {α : Type u_1} {E : Type u_2} [inst : Norm E] {f : α → E} {l : Filter α} {u : α → ℝ},
  f =o[l] u → f =o[l] fun x ↦ |u x|

Alias of the reverse direction of Asymptotics.isLittleO_abs_right.

theorem Asymptotics.isBigOWith_abs_left E0 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {c : ℝ} {g : α → F} {l : Filter α} {u : α → ℝ},
  Asymptotics.IsBigOWith c l (fun x ↦ |u x|) g ↔ Asymptotics.IsBigOWith c l u g

theorem Asymptotics.IsBigOWith.of_abs_left E1 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {c : ℝ} {g : α → F} {l : Filter α} {u : α → ℝ},
  Asymptotics.IsBigOWith c l (fun x ↦ |u x|) g → Asymptotics.IsBigOWith c l u g

Alias of the forward direction of Asymptotics.isBigOWith_abs_left.

theorem Asymptotics.IsBigOWith.abs_left E1 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {c : ℝ} {g : α → F} {l : Filter α} {u : α → ℝ},
  Asymptotics.IsBigOWith c l u g → Asymptotics.IsBigOWith c l (fun x ↦ |u x|) g

Alias of the reverse direction of Asymptotics.isBigOWith_abs_left.

theorem Asymptotics.isBigO_abs_left E0 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {g : α → F} {l : Filter α} {u : α → ℝ},
  (fun x ↦ |u x|) =O[l] g ↔ u =O[l] g

theorem Asymptotics.IsBigO.abs_left E1 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {g : α → F} {l : Filter α} {u : α → ℝ},
  u =O[l] g → (fun x ↦ |u x|) =O[l] g

Alias of the reverse direction of Asymptotics.isBigO_abs_left.

theorem Asymptotics.IsBigO.of_abs_left E1 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {g : α → F} {l : Filter α} {u : α → ℝ},
  (fun x ↦ |u x|) =O[l] g → u =O[l] g

Alias of the forward direction of Asymptotics.isBigO_abs_left.

theorem Asymptotics.isLittleO_abs_left E0 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {g : α → F} {l : Filter α} {u : α → ℝ},
  (fun x ↦ |u x|) =o[l] g ↔ u =o[l] g

theorem Asymptotics.IsLittleO.of_abs_left E1 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {g : α → F} {l : Filter α} {u : α → ℝ},
  (fun x ↦ |u x|) =o[l] g → u =o[l] g

Alias of the forward direction of Asymptotics.isLittleO_abs_left.

theorem Asymptotics.IsLittleO.abs_left E1 #

∀ {α : Type u_1} {F : Type u_3} [inst : Norm F] {g : α → F} {l : Filter α} {u : α → ℝ},
  u =o[l] g → (fun x ↦ |u x|) =o[l] g

Alias of the reverse direction of Asymptotics.isLittleO_abs_left.

theorem Asymptotics.isBigOWith_abs_abs E1 #

∀ {α : Type u_1} {c : ℝ} {l : Filter α} {u v : α → ℝ},
  (Asymptotics.IsBigOWith c l (fun x ↦ |u x|) fun x ↦ |v x|) ↔ Asymptotics.IsBigOWith c l u v

theorem Asymptotics.IsBigOWith.abs_abs E1 #

∀ {α : Type u_1} {c : ℝ} {l : Filter α} {u v : α → ℝ},
  Asymptotics.IsBigOWith c l u v → Asymptotics.IsBigOWith c l (fun x ↦ |u x|) fun x ↦ |v x|

Alias of the reverse direction of Asymptotics.isBigOWith_abs_abs.

theorem Asymptotics.IsBigOWith.of_abs_abs E1 #

∀ {α : Type u_1} {c : ℝ} {l : Filter α} {u v : α → ℝ},
  (Asymptotics.IsBigOWith c l (fun x ↦ |u x|) fun x ↦ |v x|) → Asymptotics.IsBigOWith c l u v

Alias of the forward direction of Asymptotics.isBigOWith_abs_abs.

theorem Asymptotics.isBigO_abs_abs E1 #

∀ {α : Type u_1} {l : Filter α} {u v : α → ℝ}, ((fun x ↦ |u x|) =O[l] fun x ↦ |v x|) ↔ u =O[l] v

theorem Asymptotics.IsBigO.of_abs_abs E1 #

∀ {α : Type u_1} {l : Filter α} {u v : α → ℝ}, ((fun x ↦ |u x|) =O[l] fun x ↦ |v x|) → u =O[l] v

Alias of the forward direction of Asymptotics.isBigO_abs_abs.

theorem Asymptotics.IsBigO.abs_abs E1 #

∀ {α : Type u_1} {l : Filter α} {u v : α → ℝ}, u =O[l] v → (fun x ↦ |u x|) =O[l] fun x ↦ |v x|

Alias of the reverse direction of Asymptotics.isBigO_abs_abs.

theorem Asymptotics.isLittleO_abs_abs E1 #

∀ {α : Type u_1} {l : Filter α} {u v : α → ℝ}, ((fun x ↦ |u x|) =o[l] fun x ↦ |v x|) ↔ u =o[l] v

theorem Asymptotics.IsLittleO.abs_abs E1 #

∀ {α : Type u_1} {l : Filter α} {u v : α → ℝ}, u =o[l] v → (fun x ↦ |u x|) =o[l] fun x ↦ |v x|

Alias of the reverse direction of Asymptotics.isLittleO_abs_abs.

theorem Asymptotics.IsLittleO.of_abs_abs E1 #

∀ {α : Type u_1} {l : Filter α} {u v : α → ℝ}, ((fun x ↦ |u x|) =o[l] fun x ↦ |v x|) → u =o[l] v

Alias of the forward direction of Asymptotics.isLittleO_abs_abs.

theorem Asymptotics.isBigOWith_neg_right E0 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {c : ℝ} {f : α → E}
  {g' : α → F'} {l : Filter α}, (Asymptotics.IsBigOWith c l f fun x ↦ -g' x) ↔ Asymptotics.IsBigOWith c l f g'

theorem Asymptotics.IsBigOWith.of_neg_right E1 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {c : ℝ} {f : α → E}
  {g' : α → F'} {l : Filter α}, (Asymptotics.IsBigOWith c l f fun x ↦ -g' x) → Asymptotics.IsBigOWith c l f g'

Alias of the forward direction of Asymptotics.isBigOWith_neg_right.

theorem Asymptotics.IsBigOWith.neg_right E1 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {c : ℝ} {f : α → E}
  {g' : α → F'} {l : Filter α}, Asymptotics.IsBigOWith c l f g' → Asymptotics.IsBigOWith c l f fun x ↦ -g' x

Alias of the reverse direction of Asymptotics.isBigOWith_neg_right.

theorem Asymptotics.isBigO_neg_right E0 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {f : α → E}
  {g' : α → F'} {l : Filter α}, (f =O[l] fun x ↦ -g' x) ↔ f =O[l] g'

theorem Asymptotics.IsBigO.of_neg_right E1 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {f : α → E}
  {g' : α → F'} {l : Filter α}, (f =O[l] fun x ↦ -g' x) → f =O[l] g'

Alias of the forward direction of Asymptotics.isBigO_neg_right.

theorem Asymptotics.IsBigO.neg_right E1 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {f : α → E}
  {g' : α → F'} {l : Filter α}, f =O[l] g' → f =O[l] fun x ↦ -g' x

Alias of the reverse direction of Asymptotics.isBigO_neg_right.

theorem Asymptotics.isLittleO_neg_right E0 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {f : α → E}
  {g' : α → F'} {l : Filter α}, (f =o[l] fun x ↦ -g' x) ↔ f =o[l] g'

theorem Asymptotics.IsLittleO.of_neg_right E1 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {f : α → E}
  {g' : α → F'} {l : Filter α}, (f =o[l] fun x ↦ -g' x) → f =o[l] g'

Alias of the forward direction of Asymptotics.isLittleO_neg_right.

theorem Asymptotics.IsLittleO.neg_right E1 #

∀ {α : Type u_1} {E : Type u_2} {F' : Type u_5} [inst : Norm E] [inst_1 : SeminormedAddCommGroup F'] {f : α → E}
  {g' : α → F'} {l : Filter α}, f =o[l] g' → f =o[l] fun x ↦ -g' x

Alias of the reverse direction of Asymptotics.isLittleO_neg_right.

theorem Asymptotics.isBigOWith_neg_left E0 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c : ℝ} {g : α → F}
  {f' : α → E'} {l : Filter α}, Asymptotics.IsBigOWith c l (fun x ↦ -f' x) g ↔ Asymptotics.IsBigOWith c l f' g

theorem Asymptotics.IsBigOWith.of_neg_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c : ℝ} {g : α → F}
  {f' : α → E'} {l : Filter α}, Asymptotics.IsBigOWith c l (fun x ↦ -f' x) g → Asymptotics.IsBigOWith c l f' g

Alias of the forward direction of Asymptotics.isBigOWith_neg_left.

theorem Asymptotics.IsBigOWith.neg_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c : ℝ} {g : α → F}
  {f' : α → E'} {l : Filter α}, Asymptotics.IsBigOWith c l f' g → Asymptotics.IsBigOWith c l (fun x ↦ -f' x) g

Alias of the reverse direction of Asymptotics.isBigOWith_neg_left.

theorem Asymptotics.isBigO_neg_left E0 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {f' : α → E'} {l : Filter α}, (fun x ↦ -f' x) =O[l] g ↔ f' =O[l] g

theorem Asymptotics.IsBigO.neg_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {f' : α → E'} {l : Filter α}, f' =O[l] g → (fun x ↦ -f' x) =O[l] g

Alias of the reverse direction of Asymptotics.isBigO_neg_left.

theorem Asymptotics.IsBigO.of_neg_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {f' : α → E'} {l : Filter α}, (fun x ↦ -f' x) =O[l] g → f' =O[l] g

Alias of the forward direction of Asymptotics.isBigO_neg_left.

theorem Asymptotics.isLittleO_neg_left E0 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {f' : α → E'} {l : Filter α}, (fun x ↦ -f' x) =o[l] g ↔ f' =o[l] g

theorem Asymptotics.IsLittleO.of_neg_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {f' : α → E'} {l : Filter α}, (fun x ↦ -f' x) =o[l] g → f' =o[l] g

Alias of the forward direction of Asymptotics.isLittleO_neg_left.

theorem Asymptotics.IsLittleO.neg_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {f' : α → E'} {l : Filter α}, f' =o[l] g → (fun x ↦ -f' x) =o[l] g

Alias of the reverse direction of Asymptotics.isLittleO_neg_left.

theorem Asymptotics.IsBigOWith.add E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c₁ c₂ : ℝ}
  {g : α → F} {l : Filter α} {f₁ f₂ : α → E'},
  Asymptotics.IsBigOWith c₁ l f₁ g →
    Asymptotics.IsBigOWith c₂ l f₂ g → Asymptotics.IsBigOWith (c₁ + c₂) l (fun x ↦ f₁ x + f₂ x) g

theorem Asymptotics.IsBigO.add E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =O[l] g → f₂ =O[l] g → (fun x ↦ f₁ x + f₂ x) =O[l] g

theorem Asymptotics.IsLittleO.add E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =o[l] g → f₂ =o[l] g → (fun x ↦ f₁ x + f₂ x) =o[l] g

theorem Asymptotics.IsBigOWith.add_add E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {c₁ c₂ : ℝ} {l : Filter α} {f₁ f₂ : α → E'}
  {g₁ g₂ : α → ℝ},
  Asymptotics.IsBigOWith c₁ l f₁ g₁ →
    Asymptotics.IsBigOWith c₂ l f₂ g₂ →
      Asymptotics.IsBigOWith (max c₁ c₂) l (fun x ↦ f₁ x + f₂ x) fun x ↦ ‖g₁ x‖ + ‖g₂ x‖

theorem Asymptotics.IsBigO.add_add E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {f₁ f₂ : α → E'} {g₁ g₂ : α → ℝ},
  f₁ =O[l] g₁ → f₂ =O[l] g₂ → (fun x ↦ f₁ x + f₂ x) =O[l] fun x ↦ ‖g₁ x‖ + ‖g₂ x‖

theorem Asymptotics.IsLittleO.add_add E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  {l : Filter α} {f₁ f₂ : α → E'} {g₁ g₂ : α → F'},
  f₁ =o[l] g₁ → f₂ =o[l] g₂ → (fun x ↦ f₁ x + f₂ x) =o[l] fun x ↦ ‖g₁ x‖ + ‖g₂ x‖

theorem Asymptotics.IsBigO.add_isLittleO E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =O[l] g → f₂ =o[l] g → (fun x ↦ f₁ x + f₂ x) =O[l] g

theorem Asymptotics.IsLittleO.add_isBigO E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =o[l] g → f₂ =O[l] g → (fun x ↦ f₁ x + f₂ x) =O[l] g

theorem Asymptotics.IsBigOWith.add_isLittleO E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c₁ c₂ : ℝ}
  {g : α → F} {l : Filter α} {f₁ f₂ : α → E'},
  Asymptotics.IsBigOWith c₁ l f₁ g → f₂ =o[l] g → c₁ < c₂ → Asymptotics.IsBigOWith c₂ l (fun x ↦ f₁ x + f₂ x) g

theorem Asymptotics.IsLittleO.add_isBigOWith E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c₁ c₂ : ℝ}
  {g : α → F} {l : Filter α} {f₁ f₂ : α → E'},
  f₁ =o[l] g → Asymptotics.IsBigOWith c₁ l f₂ g → c₁ < c₂ → Asymptotics.IsBigOWith c₂ l (fun x ↦ f₁ x + f₂ x) g

theorem Asymptotics.IsBigOWith.sub E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c₁ c₂ : ℝ}
  {g : α → F} {l : Filter α} {f₁ f₂ : α → E'},
  Asymptotics.IsBigOWith c₁ l f₁ g →
    Asymptotics.IsBigOWith c₂ l f₂ g → Asymptotics.IsBigOWith (c₁ + c₂) l (fun x ↦ f₁ x - f₂ x) g

theorem Asymptotics.IsBigOWith.sub_isLittleO E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c₁ c₂ : ℝ}
  {g : α → F} {l : Filter α} {f₁ f₂ : α → E'},
  Asymptotics.IsBigOWith c₁ l f₁ g → f₂ =o[l] g → c₁ < c₂ → Asymptotics.IsBigOWith c₂ l (fun x ↦ f₁ x - f₂ x) g

theorem Asymptotics.IsBigO.sub E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =O[l] g → f₂ =O[l] g → (fun x ↦ f₁ x - f₂ x) =O[l] g

theorem Asymptotics.IsLittleO.sub E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =o[l] g → f₂ =o[l] g → (fun x ↦ f₁ x - f₂ x) =o[l] g

theorem Asymptotics.IsBigO.add_iff_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₂ =O[l] g → ((fun x ↦ f₁ x + f₂ x) =O[l] g ↔ f₁ =O[l] g)

theorem Asymptotics.IsBigO.add_iff_right E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =O[l] g → ((fun x ↦ f₁ x + f₂ x) =O[l] g ↔ f₂ =O[l] g)

theorem Asymptotics.IsLittleO.add_iff_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₂ =o[l] g → ((fun x ↦ f₁ x + f₂ x) =o[l] g ↔ f₁ =o[l] g)

theorem Asymptotics.IsLittleO.add_iff_right E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =o[l] g → ((fun x ↦ f₁ x + f₂ x) =o[l] g ↔ f₂ =o[l] g)

theorem Asymptotics.IsBigO.sub_iff_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₂ =O[l] g → ((fun x ↦ f₁ x - f₂ x) =O[l] g ↔ f₁ =O[l] g)

theorem Asymptotics.IsBigO.sub_iff_right E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =O[l] g → ((fun x ↦ f₁ x - f₂ x) =O[l] g ↔ f₂ =O[l] g)

theorem Asymptotics.IsLittleO.sub_iff_left E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₂ =o[l] g → ((fun x ↦ f₁ x - f₂ x) =o[l] g ↔ f₁ =o[l] g)

theorem Asymptotics.IsLittleO.sub_iff_right E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, f₁ =o[l] g → ((fun x ↦ f₁ x - f₂ x) =o[l] g ↔ f₂ =o[l] g)

theorem Asymptotics.IsBigOWith.symm E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c : ℝ} {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'},
  Asymptotics.IsBigOWith c l (fun x ↦ f₁ x - f₂ x) g → Asymptotics.IsBigOWith c l (fun x ↦ f₂ x - f₁ x) g

theorem Asymptotics.isBigOWith_comm E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c : ℝ} {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'},
  Asymptotics.IsBigOWith c l (fun x ↦ f₁ x - f₂ x) g ↔ Asymptotics.IsBigOWith c l (fun x ↦ f₂ x - f₁ x) g

theorem Asymptotics.IsBigO.symm E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, (fun x ↦ f₁ x - f₂ x) =O[l] g → (fun x ↦ f₂ x - f₁ x) =O[l] g

theorem Asymptotics.isBigO_comm E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, (fun x ↦ f₁ x - f₂ x) =O[l] g ↔ (fun x ↦ f₂ x - f₁ x) =O[l] g

theorem Asymptotics.IsLittleO.symm E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, (fun x ↦ f₁ x - f₂ x) =o[l] g → (fun x ↦ f₂ x - f₁ x) =o[l] g

theorem Asymptotics.isLittleO_comm E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, (fun x ↦ f₁ x - f₂ x) =o[l] g ↔ (fun x ↦ f₂ x - f₁ x) =o[l] g

theorem Asymptotics.IsBigOWith.triangle E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {c c' : ℝ}
  {g : α → F} {l : Filter α} {f₁ f₂ f₃ : α → E'},
  Asymptotics.IsBigOWith c l (fun x ↦ f₁ x - f₂ x) g →
    Asymptotics.IsBigOWith c' l (fun x ↦ f₂ x - f₃ x) g → Asymptotics.IsBigOWith (c + c') l (fun x ↦ f₁ x - f₃ x) g

theorem Asymptotics.IsBigO.triangle E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ f₃ : α → E'},
  (fun x ↦ f₁ x - f₂ x) =O[l] g → (fun x ↦ f₂ x - f₃ x) =O[l] g → (fun x ↦ f₁ x - f₃ x) =O[l] g

theorem Asymptotics.IsLittleO.triangle E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ f₃ : α → E'},
  (fun x ↦ f₁ x - f₂ x) =o[l] g → (fun x ↦ f₂ x - f₃ x) =o[l] g → (fun x ↦ f₁ x - f₃ x) =o[l] g

theorem Asymptotics.IsBigO.congr_of_sub E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, (fun x ↦ f₁ x - f₂ x) =O[l] g → (f₁ =O[l] g ↔ f₂ =O[l] g)

theorem Asymptotics.IsLittleO.congr_of_sub E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {f₁ f₂ : α → E'}, (fun x ↦ f₁ x - f₂ x) =o[l] g → (f₁ =o[l] g ↔ f₂ =o[l] g)

theorem Asymptotics.isLittleO_zero E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  (g' : α → F') (l : Filter α), (fun _x ↦ 0) =o[l] g'

theorem Asymptotics.isBigOWith_zero E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  {c : ℝ} (g' : α → F') (l : Filter α), 0 ≤ c → Asymptotics.IsBigOWith c l (fun _x ↦ 0) g'

theorem Asymptotics.isBigOWith_zero' E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] (g : α → F)
  (l : Filter α), Asymptotics.IsBigOWith 0 l (fun _x ↦ 0) g

theorem Asymptotics.isBigO_zero E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] (g : α → F)
  (l : Filter α), (fun _x ↦ 0) =O[l] g

theorem Asymptotics.isBigO_refl_left E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  {f' : α → E'} (g' : α → F') (l : Filter α), (fun x ↦ f' x - f' x) =O[l] g'

theorem Asymptotics.isLittleO_refl_left E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  {f' : α → E'} (g' : α → F') (l : Filter α), (fun x ↦ f' x - f' x) =o[l] g'

theorem Asymptotics.isBigOWith_zero_right_iff E0 #

∀ {α : Type u_1} {F' : Type u_5} {E'' : Type u_6} [inst : SeminormedAddCommGroup F'] [inst_1 : NormedAddCommGroup E'']
  {c : ℝ} {f'' : α → E''} {l : Filter α}, (Asymptotics.IsBigOWith c l f'' fun _x ↦ 0) ↔ f'' =ᶠ[l] 0

theorem Asymptotics.isBigO_zero_right_iff E0 #

∀ {α : Type u_1} {F' : Type u_5} {E'' : Type u_6} [inst : SeminormedAddCommGroup F'] [inst_1 : NormedAddCommGroup E'']
  {f'' : α → E''} {l : Filter α}, (f'' =O[l] fun _x ↦ 0) ↔ f'' =ᶠ[l] 0

theorem Asymptotics.isLittleO_zero_right_iff E0 #

∀ {α : Type u_1} {F' : Type u_5} {E'' : Type u_6} [inst : SeminormedAddCommGroup F'] [inst_1 : NormedAddCommGroup E'']
  {f'' : α → E''} {l : Filter α}, (f'' =o[l] fun _x ↦ 0) ↔ f'' =ᶠ[l] 0

theorem Asymptotics.isBigOWith_const_const E1 #

∀ {α : Type u_1} {E : Type u_2} {F'' : Type u_7} [inst : Norm E] [inst_1 : NormedAddCommGroup F''] (c : E) {c' : F''},
  c' ≠ 0 → ∀ (l : Filter α), Asymptotics.IsBigOWith (‖c‖ / ‖c'‖) l (fun _x ↦ c) fun _x ↦ c'

theorem Asymptotics.isBigO_const_const E1 #

∀ {α : Type u_1} {E : Type u_2} {F'' : Type u_7} [inst : Norm E] [inst_1 : NormedAddCommGroup F''] (c : E) {c' : F''},
  c' ≠ 0 → ∀ (l : Filter α), (fun _x ↦ c) =O[l] fun _x ↦ c'

theorem Asymptotics.isBigO_const_const_iff E0 #

∀ {α : Type u_1} {E'' : Type u_6} {F'' : Type u_7} [inst : NormedAddCommGroup E''] [inst_1 : NormedAddCommGroup F'']
  {c : E''} {c' : F''} (l : Filter α) [l.NeBot], ((fun _x ↦ c) =O[l] fun _x ↦ c') ↔ c' = 0 → c = 0

theorem Asymptotics.isBigO_pure E0 #

∀ {α : Type u_1} {E'' : Type u_6} {F'' : Type u_7} [inst : NormedAddCommGroup E''] [inst_1 : NormedAddCommGroup F'']
  {f'' : α → E''} {g'' : α → F''} {x : α}, f'' =O[pure x] g'' ↔ g'' x = 0 → f'' x = 0

theorem Asymptotics.IsBigOWith.fun_sum E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {ι : Type u_8} {A : ι → α → E'} {C : ι → ℝ} {s : Finset ι},
  (∀ i ∈ s, Asymptotics.IsBigOWith (C i) l (A i) g) → Asymptotics.IsBigOWith (∑ i ∈ s, C i) l (fun a ↦ ∑ c ∈ s, A c a) g

Eta-expanded form of Asymptotics.IsBigOWith.sum

theorem Asymptotics.IsBigOWith.sum E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {ι : Type u_8} {A : ι → α → E'} {C : ι → ℝ} {s : Finset ι},
  (∀ i ∈ s, Asymptotics.IsBigOWith (C i) l (A i) g) → Asymptotics.IsBigOWith (∑ i ∈ s, C i) l (∑ i ∈ s, A i) g

theorem Asymptotics.IsBigO.sum E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {ι : Type u_8} {A : ι → α → E'} {s : Finset ι}, (∀ i ∈ s, A i =O[l] g) → (∑ i ∈ s, A i) =O[l] g

theorem Asymptotics.IsBigO.fun_sum E1 #

∀ {α : Type u_1} {F : Type u_3} {E' : Type u_4} [inst : Norm F] [inst_1 : SeminormedAddCommGroup E'] {g : α → F}
  {l : Filter α} {ι : Type u_8} {A : ι → α → E'} {s : Finset ι},
  (∀ i ∈ s, A i =O[l] g) → (fun a ↦ ∑ c ∈ s, A c a) =O[l] g

Eta-expanded form of Asymptotics.IsBigO.sum

theorem Asymptotics.IsLittleO.sum E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  {g' : α → F'} {l : Filter α} {ι : Type u_8} {A : ι → α → E'} {s : Finset ι},
  (∀ i ∈ s, A i =o[l] g') → (∑ i ∈ s, A i) =o[l] g'

theorem Asymptotics.IsLittleO.fun_sum E1 #

∀ {α : Type u_1} {E' : Type u_4} {F' : Type u_5} [inst : SeminormedAddCommGroup E'] [inst_1 : SeminormedAddCommGroup F']
  {g' : α → F'} {l : Filter α} {ι : Type u_8} {A : ι → α → E'} {s : Finset ι},
  (∀ i ∈ s, A i =o[l] g') → (fun a ↦ ∑ c ∈ s, A c a) =o[l] g'

Eta-expanded form of Asymptotics.IsLittleO.sum

theorem Asymptotics.IsBigOWith.sum_congr E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {ι : Type u_8} {A : ι → α → E'}
  {C : ι → ℝ} {s : Finset ι} {B : ι → α → ℝ},
  (∀ i ∈ s, Asymptotics.IsBigOWith (C i) l (A i) (B i)) →
    Asymptotics.IsBigOWith (sSup (C '' ↑s)) l (fun H ↦ ∑ i ∈ s, A i H) fun H ↦ ∑ i ∈ s, ‖B i H‖

If each term A i of a sum IsBigO of B i, then the sum of the A i IsBigO of the sum of the norms of the B i.

theorem Asymptotics.IsBigO.sum_congr E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {ι : Type u_8} {A : ι → α → E'}
  {s : Finset ι} {B : ι → α → ℝ}, (∀ i ∈ s, A i =O[l] B i) → (fun H ↦ ∑ i ∈ s, A i H) =O[l] fun H ↦ ∑ i ∈ s, ‖B i H‖

theorem Asymptotics.IsLittleO.sum_congr E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {ι : Type u_8} {A : ι → α → E'}
  {s : Finset ι} {B : ι → α → ℝ}, (∀ i ∈ s, A i =o[l] B i) → (fun H ↦ ∑ i ∈ s, A i H) =o[l] fun H ↦ ∑ i ∈ s, ‖B i H‖

theorem Asymptotics.IsBigOWith.sum_congr' E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {ι : Type u_8} {A : ι → α → E'}
  {B : ι → α → ℝ} {C : ℝ} {i : α → Finset ι},
  Asymptotics.IsBigOWith C (⊤ ×ˢ l) (Function.uncurry A) (Function.uncurry B) →
    Asymptotics.IsBigOWith C l (fun H ↦ ∑ j ∈ i H, A j H) fun H ↦ ∑ j ∈ i H, ‖B j H‖

Similar to IsBigOWith.sum_congr except the index set can change in the sum. This requires the constant in hAB to be independent of the index i and also the big-O relationship to "kick in" at the same point along the running variable. Hence the ⊤ in ⊤ ×ˢ l.

theorem Asymptotics.IsBigO.sum_congr' E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {ι : Type u_8} {A : ι → α → E'}
  {B : ι → α → ℝ} {i : α → Finset ι},
  Function.uncurry A =O[⊤ ×ˢ l] Function.uncurry B → (fun H ↦ ∑ j ∈ i H, A j H) =O[l] fun H ↦ ∑ j ∈ i H, ‖B j H‖

theorem Asymptotics.IsLittleO.sum_congr' E1 #

∀ {α : Type u_1} {E' : Type u_4} [inst : SeminormedAddCommGroup E'] {l : Filter α} {ι : Type u_8} {A : ι → α → E'}
  {B : ι → α → ℝ} {i : α → Finset ι},
  Function.uncurry A =o[⊤ ×ˢ l] Function.uncurry B → (fun H ↦ ∑ j ∈ i H, A j H) =o[l] fun H ↦ ∑ j ∈ i H, ‖B j H‖