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 / V19. Complex and harmonic analysis

Mathlib.Analysis.SpecialFunctions.Complex.Log

55 declarations. Mathlib docs · Source

def Complex.log E1 #

ℂ → ℂ

Inverse of the exp function. Returns values such that (log x).im > - π and (log x).im ≤ π. log 0 = 0

theorem Complex.log_re E1 #

∀ (x : ℂ), (Complex.log x).re = Real.log ‖x‖

theorem Complex.log_im E1 #

∀ (x : ℂ), (Complex.log x).im = x.arg

theorem Complex.neg_pi_lt_log_im E1 #

∀ (x : ℂ), -Real.pi < (Complex.log x).im

theorem Complex.log_im_le_pi E1 #

∀ (x : ℂ), (Complex.log x).im ≤ Real.pi

theorem Complex.exp_log E1 #

∀ {x : ℂ}, x ≠ 0 → Complex.exp (Complex.log x) = x

theorem Complex.range_exp E0 #

Set.range Complex.exp = {0}ᶜ

theorem Complex.log_exp E1 #

∀ {x : ℂ}, -Real.pi < x.im → x.im ≤ Real.pi → Complex.log (Complex.exp x) = x

theorem Complex.log_exp_eq_re_add_toIocMod E1 #

∀ (x : ℂ), Complex.log (Complex.exp x) = ↑x.re + ↑(toIocMod Real.two_pi_pos (-Real.pi) x.im) * Complex.I

theorem Complex.log_exp_eq_sub_toIocDiv E1 #

∀ (x : ℂ), Complex.log (Complex.exp x) = x - ↑(toIocDiv Real.two_pi_pos (-Real.pi) x.im) * (2 * ↑Real.pi * Complex.I)

theorem Complex.exp_inj_of_neg_pi_lt_of_le_pi E1 #

∀ {x y : ℂ}, -Real.pi < x.im → x.im ≤ Real.pi → -Real.pi < y.im → y.im ≤ Real.pi → Complex.exp x = Complex.exp y → x = y

theorem Complex.ofReal_log E1 #

∀ {x : ℝ}, 0 ≤ x → ↑(Real.log x) = Complex.log ↑x

theorem Complex.natCast_log E0 #

∀ {n : ℕ}, ↑(Real.log ↑n) = Complex.log ↑n

theorem Complex.ofNat_log E0 #

∀ {n : ℕ} [inst : n.AtLeastTwo], ↑(Real.log (OfNat.ofNat n)) = Complex.log (OfNat.ofNat n)

theorem Complex.log_ofReal_re E1 #

∀ (x : ℝ), (Complex.log ↑x).re = Real.log x

theorem Complex.log_ofReal_mul E1 #

∀ {r : ℝ}, 0 < r → ∀ {x : ℂ}, x ≠ 0 → Complex.log (↑r * x) = ↑(Real.log r) + Complex.log x

theorem Complex.log_mul_ofReal E1 #

∀ (r : ℝ), 0 < r → ∀ (x : ℂ), x ≠ 0 → Complex.log (x * ↑r) = ↑(Real.log r) + Complex.log x

theorem Complex.log_mul_eq_add_log_iff E0 #

∀ {x y : ℂ},
  x ≠ 0 → y ≠ 0 → (Complex.log (x * y) = Complex.log x + Complex.log y ↔ x.arg + y.arg ∈ Set.Ioc (-Real.pi) Real.pi)

theorem Complex.log_mul E1 #

∀ {x y : ℂ},
  x ≠ 0 → y ≠ 0 → x.arg + y.arg ∈ Set.Ioc (-Real.pi) Real.pi → Complex.log (x * y) = Complex.log x + Complex.log y

Alias of the reverse direction of Complex.log_mul_eq_add_log_iff.

theorem Complex.log_zero E0 #

Complex.log 0 = 0

theorem Complex.log_one E0 #

Complex.log 1 = 0

theorem Complex.log_mul_eq_add_log_sub_two_pi_mul_I_iff E0 #

∀ {x y : ℂ}, Complex.log (x * y) = Complex.log x + Complex.log y - 2 * ↑Real.pi * Complex.I ↔ Real.pi < x.arg + y.arg

theorem Complex.log_mul_of_pi_lt E1 #

∀ {x y : ℂ}, Real.pi < x.arg + y.arg → Complex.log (x * y) = Complex.log x + Complex.log y - 2 * ↑Real.pi * Complex.I

Alias of the reverse direction of Complex.log_mul_eq_add_log_sub_two_pi_mul_I_iff.

theorem Complex.log_mul_eq_add_log_add_two_pi_mul_I_iff E0 #

∀ {x y : ℂ}, Complex.log (x * y) = Complex.log x + Complex.log y + 2 * ↑Real.pi * Complex.I ↔ x.arg + y.arg ≤ -Real.pi

theorem Complex.log_mul_of_le_neg_pi E1 #

∀ {x y : ℂ}, x.arg + y.arg ≤ -Real.pi → Complex.log (x * y) = Complex.log x + Complex.log y + 2 * ↑Real.pi * Complex.I

Alias of the reverse direction of Complex.log_mul_eq_add_log_add_two_pi_mul_I_iff.

theorem Complex.log_div_self E0 #

∀ (x : ℂ), Complex.log (x / x) = 0

This holds true for all x : ℂ because of the junk values 0 / 0 = 0 and log 0 = 0.

theorem Complex.log_neg_one E1 #

Complex.log (-1) = ↑Real.pi * Complex.I

theorem Complex.log_I E1 #

Complex.log Complex.I = ↑Real.pi / 2 * Complex.I

theorem Complex.log_neg_I E1 #

Complex.log (-Complex.I) = -(↑Real.pi / 2) * Complex.I

theorem Complex.log_conj_eq_ite E1 #

∀ (x : ℂ), Complex.log ((starRingEnd ℂ) x) = if x.arg = Real.pi then Complex.log x else (starRingEnd ℂ) (Complex.log x)

theorem Complex.log_conj E1 #

∀ (x : ℂ), x.arg ≠ Real.pi → Complex.log ((starRingEnd ℂ) x) = (starRingEnd ℂ) (Complex.log x)

theorem Complex.log_inv_eq_ite E1 #

∀ (x : ℂ), Complex.log x⁻¹ = if x.arg = Real.pi then -(starRingEnd ℂ) (Complex.log x) else -Complex.log x

theorem Complex.log_inv E1 #

∀ (x : ℂ), x.arg ≠ Real.pi → Complex.log x⁻¹ = -Complex.log x

theorem Complex.two_pi_I_ne_zero E1 #

2 * ↑Real.pi * Complex.I ≠ 0

theorem Complex.exp_eq_one_iff E0 #

∀ {x : ℂ}, Complex.exp x = 1 ↔ ∃ n, x = ↑n * (2 * ↑Real.pi * Complex.I)

theorem Complex.exp_eq_one_iff_of_im_nonneg E1 #

∀ {x : ℂ}, 0 ≤ x.im → (Complex.exp x = 1 ↔ ∃ n, x = ↑n * (2 * ↑Real.pi * Complex.I))

theorem Complex.exp_two_pi_mul_I_mul_div_eq_one_iff E0 #

∀ {k N : ℕ}, N ≠ 0 → (Complex.exp (2 * ↑Real.pi * Complex.I * ↑k / ↑N) = 1 ↔ N ∣ k)

theorem Complex.exp_eq_exp_iff_exp_sub_eq_one E1 #

∀ {x y : ℂ}, Complex.exp x = Complex.exp y ↔ Complex.exp (x - y) = 1

theorem Complex.exp_eq_exp_iff_exists_int E1 #

∀ {x y : ℂ}, Complex.exp x = Complex.exp y ↔ ∃ n, x = y + ↑n * (2 * ↑Real.pi * Complex.I)

theorem Complex.re_eq_re_of_cexp_eq_cexp E1 #

∀ {x y : ℂ}, Complex.exp x = Complex.exp y → x.re = y.re

theorem Complex.log_exp_exists E1 #

∀ (z : ℂ), ∃ n, Complex.log (Complex.exp z) = z + ↑n * (2 * ↑Real.pi * Complex.I)

theorem Complex.countable_preimage_exp E0 #

∀ {s : Set ℂ}, (Complex.exp ⁻¹' s).Countable ↔ s.Countable

theorem Set.Countable.preimage_cexp E1 #

∀ {s : Set ℂ}, s.Countable → (Complex.exp ⁻¹' s).Countable

Alias of the reverse direction of Complex.countable_preimage_exp.

theorem Complex.tendsto_log_nhdsWithin_im_neg_of_re_neg_of_im_zero E1 #

∀ {z : ℂ},
  z.re < 0 →
    z.im = 0 → Filter.Tendsto Complex.log (nhdsWithin z {z | z.im < 0}) (nhds (↑(Real.log ‖z‖) - ↑Real.pi * Complex.I))

theorem Complex.continuousWithinAt_log_of_re_neg_of_im_zero E1 #

∀ {z : ℂ}, z.re < 0 → z.im = 0 → ContinuousWithinAt Complex.log {z | 0 ≤ z.im} z

theorem Complex.tendsto_log_nhdsWithin_im_nonneg_of_re_neg_of_im_zero E1 #

∀ {z : ℂ},
  z.re < 0 →
    z.im = 0 → Filter.Tendsto Complex.log (nhdsWithin z {z | 0 ≤ z.im}) (nhds (↑(Real.log ‖z‖) + ↑Real.pi * Complex.I))

theorem Complex.map_exp_comap_re_atBot E0 #

Filter.map Complex.exp (Filter.comap Complex.re Filter.atBot) = nhdsWithin 0 {0}ᶜ

theorem Complex.map_exp_comap_re_atTop E0 #

Filter.map Complex.exp (Filter.comap Complex.re Filter.atTop) = Bornology.cobounded ℂ

theorem continuousAt_clog E1 #

∀ {x : ℂ}, x ∈ Complex.slitPlane → ContinuousAt Complex.log x

theorem Filter.Tendsto.clog E1 #

∀ {α : Type u_1} {l : Filter α} {f : α → ℂ} {x : ℂ},
  Filter.Tendsto f l (nhds x) →
    x ∈ Complex.slitPlane → Filter.Tendsto (fun t ↦ Complex.log (f t)) l (nhds (Complex.log x))

theorem ContinuousAt.clog E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {f : α → ℂ} {x : α},
  ContinuousAt f x → f x ∈ Complex.slitPlane → ContinuousAt (fun t ↦ Complex.log (f t)) x

theorem ContinuousWithinAt.clog E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {f : α → ℂ} {s : Set α} {x : α},
  ContinuousWithinAt f s x → f x ∈ Complex.slitPlane → ContinuousWithinAt (fun t ↦ Complex.log (f t)) s x

theorem ContinuousOn.clog E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {f : α → ℂ} {s : Set α},
  ContinuousOn f s → (∀ x ∈ s, f x ∈ Complex.slitPlane) → ContinuousOn (fun t ↦ Complex.log (f t)) s

theorem Continuous.clog E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {f : α → ℂ},
  Continuous f → (∀ (x : α), f x ∈ Complex.slitPlane) → Continuous fun t ↦ Complex.log (f t)

def Complex.expOpenPartialHomeomorph E1 #

OpenPartialHomeomorph ℂ ℂ

Complex.exp as an OpenPartialHomeomorph with source = {z | -π < im z < π} and target = {z | 0 < re z} ∪ {z | im z ≠ 0} (a.k.a. slitPlane). This definition is used to prove that Complex.log is complex differentiable at all points but the negative real semi-axis.