Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions Mathlib/Analysis/Asymptotics/SpecificAsymptotics.lean
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,9 @@ open Bornology

theorem Asymptotics.isLittleO_pow_pow_cobounded_of_lt (hpq : p < q) :
(· ^ p) =o[cobounded R] (· ^ q) := by
nontriviality R
have noc : NormOneClass R := NormMulClass.toNormOneClass
refine IsLittleO.of_bound fun c cpos ↦ ?_
rw [← Nat.sub_add_cancel hpq.le]
simp_rw [pow_add, norm_mul, norm_pow, eventually_iff_exists_mem]
refine ⟨{y | c⁻¹ ≤ ‖y‖ ^ (q - p)}, ?_, fun y my ↦ ?_⟩
· have key : Tendsto (‖·‖ ^ (q - p)) (cobounded R) atTop :=
(tendsto_pow_atTop (Nat.sub_ne_zero_iff_lt.mpr hpq)).comp tendsto_norm_cobounded_atTop
rw [tendsto_atTop] at key
exact mem_map.mp (key c⁻¹)
· rw [← inv_mul_le_iff₀ cpos]
gcongr; exact my
rw [← Nat.add_sub_of_le hpq.le]
simpa [pow_add] using (isBigO_refl (fun x ↦ x ^ p) (cobounded R)).mul_isLittleO
((isLittleO_const_id_cobounded (1 : R)).pow (Nat.sub_pos_of_lt hpq))

theorem Asymptotics.isBigO_pow_pow_cobounded_of_le (hpq : p ≤ q) :
(· ^ p) =O[cobounded R] (· ^ q) := by
Expand Down
7 changes: 1 addition & 6 deletions Mathlib/Analysis/Complex/Trigonometric.lean
Original file line number Diff line number Diff line change
Expand Up @@ -501,12 +501,7 @@ theorem tan_sq_div_one_add_tan_sq {x : ℂ} (hx : cos x ≠ 0) :
simp only [← tan_mul_cos hx, mul_pow, ← inv_one_add_tan_sq hx, div_eq_mul_inv]

theorem cos_three_mul : cos (3 * x) = 4 * cos x ^ 3 - 3 * cos x := by
have h1 : x + 2 * x = 3 * x := by ring
rw [← h1, cos_add x (2 * x)]
simp only [cos_two_mul, sin_two_mul, mul_sub, mul_one, sq]
have h2 : 4 * cos x ^ 3 = 2 * cos x * cos x * cos x + 2 * cos x * cos x ^ 2 := by ring
rw [h2, cos_sq']
ring
rw [← cosh_mul_I, mul_assoc, cosh_three_mul, cosh_mul_I]

theorem sin_three_mul : sin (3 * x) = 3 * sin x - 4 * sin x ^ 3 := by
have h1 : x + 2 * x = 3 * x := by ring
Expand Down
Loading