The periods of exp (π i ·) and exp (2 π i ·), and branches of the logarithm #
Mathlib characterises equality of complex exponentials by Complex.exp_eq_exp_iff_exists_int:
exp x = exp y if and only if x - y ∈ 2 π i ℤ. This file records the forms of the sufficient
condition used for the factors exp (π i x) of theta series and modular forms, where the
period is 2 in the variable x, and for the additive character e(x) = exp (2 π i x), where
the period is 1.
Two logarithms of the same number differ by 2 π i k for an integer k, so dividing them by
2 π i and using them as coefficients of a vector v changes the result by k • v. Near
z₀ ^ m, the expression log z₀ + (1 / m) log (t / z₀ ^ m) is a logarithm of an m-th root of
t; it is continuous in t near z₀ ^ m, unlike the principal root.
Main declarations #
Complex.exp_pi_mul_I_mul_eq_of_sub_eq:exp (π i a) = exp (π i b)whenevera - bis an even integer.Complex.exp_two_pi_mul_I_mul_add_intCast:exp (2 π i (z + k)) = exp (2 π i z)for an integerk.Complex.norm_exp_two_pi_mul_I_mul_ofReal:‖exp (2 π i x)‖ = 1for realx.Complex.exists_div_two_pi_I_smul_eq_add_zsmul: ifexp a = exp b, then(a / 2πi) • v = (b / 2πi) • v + k • vfor an integerk.Complex.exp_log_add_inv_mul_log_div_pow:exp (log z₀ + (1 / m) log (t / z₀ ^ m))is anm-th root of everyt ≠ 0.
Two logarithms of the same number, divided by 2πi, differ by an integer; so the vectors
(a / 2πi) • v and (b / 2πi) • v differ by an integer multiple of v.