The areas / V11. Fields and Galois theory
Mathlib.RingTheory.RootsOfUnity.Complex
20 declarations and 1 deprecated aliases. Mathlib docs · Source
theorem Complex.isPrimitiveRoot_I E1 #
IsPrimitiveRoot Complex.I 4
theorem Complex.isPrimitiveRoot_neg_I E1 #
IsPrimitiveRoot (-Complex.I) 4
theorem Complex.isPrimitiveRoot_exp_of_isCoprime E1 #
∀ (i : ℤ) (n : ℕ), n ≠ 0 → IsCoprime i ↑n → IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I * (↑i / ↑n))) n
theorem Complex.isPrimitiveRoot_exp_of_coprime E1 #
∀ (i n : ℕ), n ≠ 0 → i.Coprime n → IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I * (↑i / ↑n))) n
theorem Complex.isPrimitiveRoot_exp_rat E1 #
∀ (q : ℚ), IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I * ↑q)) q.den
theorem Complex.isPrimitiveRoot_exp_rat_of_even_num E1 #
∀ (q : ℚ), Even q.num → IsPrimitiveRoot (Complex.exp (↑Real.pi * Complex.I * ↑q)) q.den
theorem Complex.isPrimitiveRoot_exp_rat_of_odd_num E1 #
∀ (q : ℚ), Odd q.num → IsPrimitiveRoot (Complex.exp (↑Real.pi * Complex.I * ↑q)) (2 * q.den)
theorem Complex.isPrimitiveRoot_exp E1 #
∀ (n : ℕ), n ≠ 0 → IsPrimitiveRoot (Complex.exp (2 * ↑Real.pi * Complex.I / ↑n)) n
theorem Complex.isPrimitiveRoot_iff E3 #
∀ (ζ : ℂ) (n : ℕ),
n ≠ 0 → (IsPrimitiveRoot ζ n ↔ ∃ i < n, ∃ (_ : i.Coprime n), Complex.exp (2 * ↑Real.pi * Complex.I * (↑i / ↑n)) = ζ)
theorem Complex.mem_rootsOfUnity E3 #
∀ (n : ℕ) [NeZero n] (x : ℂˣ), x ∈ rootsOfUnity n ℂ ↔ ∃ i < n, Complex.exp (2 * ↑Real.pi * Complex.I * (↑i / ↑n)) = ↑x
The complex n-th roots of unity are exactly the
complex numbers of the form exp (2 * Real.pi * Complex.I * (i / n)) for some i < n.
theorem Complex.card_rootsOfUnity E1 #
∀ (n : ℕ) [NeZero n], Nat.card ↥(rootsOfUnity n ℂ) = n
theorem Complex.card_primitiveRoots E1 #
∀ (k : ℕ), (primitiveRoots k ℂ).card = k.totient
theorem IsPrimitiveRoot.norm'_eq_one E1 #
∀ {ζ : ℂ} {n : ℕ}, IsPrimitiveRoot ζ n → n ≠ 0 → ‖ζ‖ = 1
theorem IsPrimitiveRoot.nnNorm_eq_one E1 #
∀ {ζ : ℂ} {n : ℕ}, IsPrimitiveRoot ζ n → n ≠ 0 → ‖ζ‖₊ = 1
theorem IsPrimitiveRoot.arg_ext E1 #
∀ {n m : ℕ} {ζ μ : ℂ}, IsPrimitiveRoot ζ n → IsPrimitiveRoot μ m → n ≠ 0 → m ≠ 0 → ζ.arg = μ.arg → ζ = μ
theorem IsPrimitiveRoot.arg_eq_zero_iff E0 #
∀ {n : ℕ} {ζ : ℂ}, IsPrimitiveRoot ζ n → n ≠ 0 → (ζ.arg = 0 ↔ ζ = 1)
theorem IsPrimitiveRoot.arg_eq_pi_iff E0 #
∀ {n : ℕ} {ζ : ℂ}, IsPrimitiveRoot ζ n → n ≠ 0 → (ζ.arg = Real.pi ↔ ζ = -1)
theorem IsPrimitiveRoot.arg E1 #
∀ {n : ℕ} {ζ : ℂ}, IsPrimitiveRoot ζ n → n ≠ 0 → ∃ i, ζ.arg = ↑i / ↑n * (2 * Real.pi) ∧ IsCoprime i ↑n ∧ i.natAbs < n
theorem Complex.norm_eq_one_of_mem_rootsOfUnity E1 #
∀ {ζ : ℂˣ} {n : ℕ} [NeZero n], ζ ∈ rootsOfUnity n ℂ → ‖↑ζ‖ = 1
theorem Complex.conj_rootsOfUnity E1 #
∀ {ζ : ℂˣ} {n : ℕ} [NeZero n], ζ ∈ rootsOfUnity n ℂ → (starRingEnd ℂ) ↑ζ = ↑ζ⁻¹
Deprecated aliases
| Name | New name | Since |
|---|---|---|
IsPrimitiveRoot.nnnorm_eq_one | IsPrimitiveRoot.nnNorm_eq_one | 2026-10-31 |