The areas / V15. Real analysis in one variable
Mathlib.Analysis.SpecialFunctions.Pow.Complex
56 declarations and 2 deprecated aliases. Mathlib docs · Source
Power function on ℂ
We construct the power functions x ^ y, where x and y are complex numbers.
def Complex.cpow E1 #
ℂ → ℂ → ℂ
The complex power function x ^ y, given by x ^ y = exp(y log x) (where log is the
principal determination of the logarithm), unless x = 0 where one sets 0 ^ 0 = 1 and
0 ^ y = 0 for y ≠ 0.
instance Complex.instPow E0 #
Pow ℂ ℂ
theorem Complex.cpow_eq_pow E0 #
∀ (x y : ℂ), x.cpow y = x ^ y
theorem Complex.cpow_def E0 #
∀ (x y : ℂ), x ^ y = if x = 0 then if y = 0 then 1 else 0 else Complex.exp (Complex.log x * y)
theorem Complex.cpow_def_of_ne_zero E1 #
∀ {x : ℂ}, x ≠ 0 → ∀ (y : ℂ), x ^ y = Complex.exp (Complex.log x * y)
theorem Complex.cpow_zero E0 #
∀ (x : ℂ), x ^ 0 = 1
theorem Complex.cpow_eq_zero_iff E0 #
∀ (x y : ℂ), x ^ y = 0 ↔ x = 0 ∧ y ≠ 0
theorem Complex.cpow_ne_zero_iff E0 #
∀ {x y : ℂ}, x ^ y ≠ 0 ↔ x ≠ 0 ∨ y = 0
theorem Complex.cpow_ne_zero_iff_of_exponent_ne_zero E1 #
∀ {x y : ℂ}, y ≠ 0 → (x ^ y ≠ 0 ↔ x ≠ 0)
theorem Complex.zero_cpow E0 #
∀ {x : ℂ}, x ≠ 0 → 0 ^ x = 0
theorem Complex.zero_cpow_eq_iff E0 #
∀ {x a : ℂ}, 0 ^ x = a ↔ x ≠ 0 ∧ a = 0 ∨ x = 0 ∧ a = 1
theorem Complex.cpow_one E0 #
∀ (x : ℂ), x ^ 1 = x
theorem Complex.one_cpow E0 #
∀ (x : ℂ), 1 ^ x = 1
theorem Complex.cpow_add E1 #
∀ {x : ℂ} (y z : ℂ), x ≠ 0 → x ^ (y + z) = x ^ y * x ^ z
theorem Complex.cpow_mul E1 #
∀ {x y : ℂ} (z : ℂ), -Real.pi < (Complex.log x * y).im → (Complex.log x * y).im ≤ Real.pi → x ^ (y * z) = (x ^ y) ^ z
theorem Complex.cpow_neg E1 #
∀ (x y : ℂ), x ^ (-y) = (x ^ y)⁻¹
theorem Complex.cpow_sub E1 #
∀ {x : ℂ} (y z : ℂ), x ≠ 0 → x ^ (y - z) = x ^ y / x ^ z
theorem Complex.cpow_neg_one E1 #
∀ (x : ℂ), x ^ (-1) = x⁻¹
theorem Complex.cpow_int_mul E1 #
∀ (x : ℂ) (n : ℤ) (y : ℂ), x ^ (↑n * y) = (x ^ y) ^ n
See also Complex.cpow_int_mul'.
theorem Complex.cpow_mul_int E1 #
∀ (x y : ℂ) (n : ℤ), x ^ (y * ↑n) = (x ^ y) ^ n
theorem Complex.cpow_nat_mul E1 #
∀ (x : ℂ) (n : ℕ) (y : ℂ), x ^ (↑n * y) = (x ^ y) ^ n
theorem Complex.cpow_ofNat_mul E1 #
∀ (x : ℂ) (n : ℕ) [inst : n.AtLeastTwo] (y : ℂ), x ^ (OfNat.ofNat n * y) = (x ^ y) ^ OfNat.ofNat n
theorem Complex.cpow_mul_nat E1 #
∀ (x y : ℂ) (n : ℕ), x ^ (y * ↑n) = (x ^ y) ^ n
theorem Complex.cpow_mul_ofNat E1 #
∀ (x y : ℂ) (n : ℕ) [inst : n.AtLeastTwo], x ^ (y * OfNat.ofNat n) = (x ^ y) ^ OfNat.ofNat n
theorem Complex.cpow_natCast E0 #
∀ (x : ℂ) (n : ℕ), x ^ ↑n = x ^ n
theorem Complex.cpow_ofNat E0 #
∀ (x : ℂ) (n : ℕ) [inst : n.AtLeastTwo], x ^ OfNat.ofNat n = x ^ OfNat.ofNat n
theorem Complex.cpow_two E1 #
∀ (x : ℂ), x ^ 2 = x ^ 2
theorem Complex.cpow_intCast E0 #
∀ (x : ℂ) (n : ℤ), x ^ ↑n = x ^ n
theorem Complex.cpow_nat_inv_pow E0 #
∀ (x : ℂ) {n : ℕ}, n ≠ 0 → (x ^ (↑n)⁻¹) ^ n = x
theorem Complex.cpow_ofNat_inv_pow E0 #
∀ (x : ℂ) (n : ℕ) [inst : n.AtLeastTwo], (x ^ (OfNat.ofNat n)⁻¹) ^ OfNat.ofNat n = x
theorem Complex.cpow_int_mul' E1 #
∀ {x : ℂ} {n : ℤ}, -Real.pi < ↑n * x.arg → ↑n * x.arg ≤ Real.pi → ∀ (y : ℂ), x ^ (↑n * y) = (x ^ n) ^ y
A version of Complex.cpow_int_mul with RHS that matches Complex.cpow_mul.
The assumptions on the arguments are needed
because the equality fails, e.g., for x = -I, n = 2, y = 1/2.
theorem Complex.cpow_nat_mul' E1 #
∀ {x : ℂ} {n : ℕ}, -Real.pi < ↑n * x.arg → ↑n * x.arg ≤ Real.pi → ∀ (y : ℂ), x ^ (↑n * y) = (x ^ n) ^ y
A version of Complex.cpow_nat_mul with RHS that matches Complex.cpow_mul.
The assumptions on the arguments are needed
because the equality fails, e.g., for x = -I, n = 2, y = 1/2.
theorem Complex.cpow_ofNat_mul' E1 #
∀ {x : ℂ} {n : ℕ} [inst : n.AtLeastTwo],
-Real.pi < OfNat.ofNat n * x.arg →
OfNat.ofNat n * x.arg ≤ Real.pi → ∀ (y : ℂ), x ^ (OfNat.ofNat n * y) = (x ^ OfNat.ofNat n) ^ y
theorem Complex.pow_cpow_nat_inv E1 #
∀ {x : ℂ} {n : ℕ}, -(Real.pi / ↑n) < x.arg → x.arg ≤ Real.pi / ↑n → (x ^ n) ^ (↑n)⁻¹ = x
theorem Complex.pow_cpow_ofNat_inv E1 #
∀ {x : ℂ} {n : ℕ} [inst : n.AtLeastTwo],
-(Real.pi / OfNat.ofNat n) < x.arg → x.arg ≤ Real.pi / OfNat.ofNat n → (x ^ OfNat.ofNat n) ^ (OfNat.ofNat n)⁻¹ = x
theorem Complex.sq_cpow_two_inv E1 #
∀ {x : ℂ}, 0 < x.re → (x ^ 2) ^ 2⁻¹ = x
See also Complex.pow_cpow_ofNat_inv for a version that also works for x * I, 0 ≤ x.
theorem Complex.isSquare E0 #
∀ (x : ℂ), IsSquare x
theorem Complex.mul_cpow E1 #
∀ {a b : ℂ}, a.arg + b.arg ∈ Set.Ioc (-Real.pi) Real.pi → ∀ (r : ℂ), (a * b) ^ r = a ^ r * b ^ r
theorem Complex.mul_cpow_of_pi_lt E1 #
∀ {a b : ℂ},
Real.pi < a.arg + b.arg → ∀ (r : ℂ), (a * b) ^ r = a ^ r * b ^ r * Complex.exp (-2 * ↑Real.pi * Complex.I * r)
theorem Complex.mul_cpow_of_le_neg_pi E1 #
∀ {a b : ℂ},
a.arg + b.arg ≤ -Real.pi → ∀ (r : ℂ), (a * b) ^ r = a ^ r * b ^ r * Complex.exp (2 * ↑Real.pi * Complex.I * r)
theorem Complex.ofReal_mul_cpow E1 #
∀ {a : ℝ}, 0 ≤ a → ∀ (b r : ℂ), (↑a * b) ^ r = ↑a ^ r * b ^ r
theorem Complex.mul_ofReal_cpow E1 #
∀ (a : ℂ) {b : ℝ}, 0 ≤ b → ∀ (r : ℂ), (a * ↑b) ^ r = a ^ r * ↑b ^ r
theorem Complex.natCast_mul_cpow E1 #
∀ (a : ℕ) (b r : ℂ), (↑a * b) ^ r = ↑a ^ r * b ^ r
theorem Complex.ofNat_mul_cpow E1 #
∀ (a : ℕ) [inst : a.AtLeastTwo] (b r : ℂ), (OfNat.ofNat a * b) ^ r = OfNat.ofNat a ^ r * b ^ r
theorem Complex.mul_natCast_cpow E1 #
∀ (a : ℂ) (b : ℕ) (r : ℂ), (a * ↑b) ^ r = a ^ r * ↑b ^ r
theorem Complex.mul_ofNat_cpow E1 #
∀ (a : ℂ) (b : ℕ) [inst : b.AtLeastTwo] (r : ℂ), (a * OfNat.ofNat b) ^ r = a ^ r * OfNat.ofNat b ^ r
theorem Complex.natCast_cpow_natCast_mul E1 #
∀ (n m : ℕ) (z : ℂ), ↑n ^ (↑m * z) = (↑n ^ m) ^ z
theorem Complex.inv_cpow_eq_ite E1 #
∀ (x n : ℂ), x⁻¹ ^ n = if x.arg = Real.pi then (starRingEnd ℂ) (x ^ (starRingEnd ℂ) n)⁻¹ else (x ^ n)⁻¹
theorem Complex.inv_cpow E1 #
∀ (x n : ℂ), x.arg ≠ Real.pi → x⁻¹ ^ n = (x ^ n)⁻¹
theorem Complex.inv_cpow_ofReal_nonneg E1 #
∀ {a : ℝ}, 0 ≤ a → ∀ (r : ℂ), (↑a)⁻¹ ^ r = (↑a ^ r)⁻¹
theorem Complex.div_cpow_ofReal_nonneg E1 #
∀ {a b : ℝ}, 0 ≤ a → 0 ≤ b → ∀ (r : ℂ), (↑a / ↑b) ^ r = ↑a ^ r / ↑b ^ r
theorem Complex.inv_cpow_eq_ite' E1 #
∀ (x n : ℂ), (x ^ n)⁻¹ = if x.arg = Real.pi then (starRingEnd ℂ) (x⁻¹ ^ (starRingEnd ℂ) n) else x⁻¹ ^ n
Complex.inv_cpow_eq_ite with the ite on the other side.
theorem Complex.conj_cpow_eq_ite E1 #
∀ (x n : ℂ), (starRingEnd ℂ) x ^ n = if x.arg = Real.pi then x ^ n else (starRingEnd ℂ) (x ^ (starRingEnd ℂ) n)
theorem Complex.conj_cpow E1 #
∀ (x n : ℂ), x.arg ≠ Real.pi → (starRingEnd ℂ) x ^ n = (starRingEnd ℂ) (x ^ (starRingEnd ℂ) n)
theorem Complex.cpow_conj E1 #
∀ (x n : ℂ), x.arg ≠ Real.pi → x ^ (starRingEnd ℂ) n = (starRingEnd ℂ) ((starRingEnd ℂ) x ^ n)
theorem Complex.natCast_add_one_cpow_ne_zero E1 #
∀ (n : ℕ) (z : ℂ), (↑n + 1) ^ z ≠ 0
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Complex.mul_cpow_ofReal_nonneg | Complex.ofReal_mul_cpow | 2026-11-11 |
Complex.natCast_mul_natCast_cpow | Complex.natCast_mul_cpow | 2026-11-11 |