Documentation

Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex

Complex trigonometric functions #

Basic facts and derivatives for the complex trigonometric functions.

Several facts about the real trigonometric functions have the proofs deferred here, rather than Analysis.SpecialFunctions.Trigonometric.Basic, as they are most easily proved by appealing to the corresponding fact for complex trigonometric functions, or require additional imports which are not available in that file.

theorem Complex.cos_eq_zero_iff {θ : } :
Complex.cos θ = 0 ∃ (k : ), θ = (2 * k + 1) * Real.pi / 2
theorem Complex.cos_ne_zero_iff {θ : } :
Complex.cos θ 0 ∀ (k : ), θ (2 * k + 1) * Real.pi / 2
theorem Complex.sin_eq_zero_iff {θ : } :
Complex.sin θ = 0 ∃ (k : ), θ = k * Real.pi
theorem Complex.sin_ne_zero_iff {θ : } :
Complex.sin θ 0 ∀ (k : ), θ k * Real.pi
theorem Complex.tan_eq_zero_iff {θ : } :
Complex.tan θ = 0 ∃ (k : ), k * Real.pi / 2 = θ

The tangent of a complex number is equal to zero iff this number is equal to k * π / 2 for an integer k.

Note that this lemma takes into account that we use zero as the junk value for division by zero. See also Complex.tan_eq_zero_iff'.

theorem Complex.tan_ne_zero_iff {θ : } :
Complex.tan θ 0 ∀ (k : ), k * Real.pi / 2 θ
theorem Complex.tan_eq_zero_iff' {θ : } (hθ : Complex.cos θ 0) :
Complex.tan θ = 0 ∃ (k : ), k * Real.pi = θ

If the tangent of a complex number is well-defined, then it is equal to zero iff the number is equal to k * π for an integer k.

See also Complex.tan_eq_zero_iff for a version that takes into account junk values of θ.

theorem Complex.cos_eq_cos_iff {x : } {y : } :
Complex.cos x = Complex.cos y ∃ (k : ), y = 2 * k * Real.pi + x y = 2 * k * Real.pi - x
theorem Complex.sin_eq_sin_iff {x : } {y : } :
Complex.sin x = Complex.sin y ∃ (k : ), y = 2 * k * Real.pi + x y = (2 * k + 1) * Real.pi - x
theorem Complex.cos_eq_one_iff {x : } :
Complex.cos x = 1 ∃ (k : ), k * (2 * Real.pi) = x
theorem Complex.cos_eq_neg_one_iff {x : } :
Complex.cos x = -1 ∃ (k : ), Real.pi + k * (2 * Real.pi) = x
theorem Complex.sin_eq_one_iff {x : } :
Complex.sin x = 1 ∃ (k : ), Real.pi / 2 + k * (2 * Real.pi) = x
theorem Complex.sin_eq_neg_one_iff {x : } :
Complex.sin x = -1 ∃ (k : ), -(Real.pi / 2) + k * (2 * Real.pi) = x
theorem Complex.tan_add {x : } {y : } (h : ((∀ (k : ), x (2 * k + 1) * Real.pi / 2) ∀ (l : ), y (2 * l + 1) * Real.pi / 2) (∃ (k : ), x = (2 * k + 1) * Real.pi / 2) ∃ (l : ), y = (2 * l + 1) * Real.pi / 2) :
theorem Complex.tan_add' {x : } {y : } (h : (∀ (k : ), x (2 * k + 1) * Real.pi / 2) ∀ (l : ), y (2 * l + 1) * Real.pi / 2) :
theorem Complex.tan_add_mul_I {x : } {y : } (h : ((∀ (k : ), x (2 * k + 1) * Real.pi / 2) ∀ (l : ), y * Complex.I (2 * l + 1) * Real.pi / 2) (∃ (k : ), x = (2 * k + 1) * Real.pi / 2) ∃ (l : ), y * Complex.I = (2 * l + 1) * Real.pi / 2) :
theorem Complex.tan_eq {z : } (h : ((∀ (k : ), z.re (2 * k + 1) * Real.pi / 2) ∀ (l : ), z.im * Complex.I (2 * l + 1) * Real.pi / 2) (∃ (k : ), z.re = (2 * k + 1) * Real.pi / 2) ∃ (l : ), z.im * Complex.I = (2 * l + 1) * Real.pi / 2) :
theorem Complex.continuous_tan :
Continuous fun (x : {x : | Complex.cos x 0}) => Complex.tan x
theorem Real.cos_eq_zero_iff {θ : } :
Real.cos θ = 0 ∃ (k : ), θ = (2 * k + 1) * Real.pi / 2
theorem Real.cos_ne_zero_iff {θ : } :
Real.cos θ 0 ∀ (k : ), θ (2 * k + 1) * Real.pi / 2
theorem Real.cos_eq_cos_iff {x : } {y : } :
Real.cos x = Real.cos y ∃ (k : ), y = 2 * k * Real.pi + x y = 2 * k * Real.pi - x
theorem Real.sin_eq_sin_iff {x : } {y : } :
Real.sin x = Real.sin y ∃ (k : ), y = 2 * k * Real.pi + x y = (2 * k + 1) * Real.pi - x
theorem Real.cos_eq_neg_one_iff {x : } :
Real.cos x = -1 ∃ (k : ), Real.pi + k * (2 * Real.pi) = x
theorem Real.sin_eq_one_iff {x : } :
Real.sin x = 1 ∃ (k : ), Real.pi / 2 + k * (2 * Real.pi) = x
theorem Real.sin_eq_neg_one_iff {x : } :
Real.sin x = -1 ∃ (k : ), -(Real.pi / 2) + k * (2 * Real.pi) = x
theorem Real.tan_eq_zero_iff {θ : } :
Real.tan θ = 0 ∃ (k : ), k * Real.pi / 2 = θ
theorem Real.tan_eq_zero_iff' {θ : } (hθ : Real.cos θ 0) :
Real.tan θ = 0 ∃ (k : ), k * Real.pi = θ
theorem Real.tan_ne_zero_iff {θ : } :
Real.tan θ 0 ∀ (k : ), k * Real.pi / 2 θ