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 / V12. Number theory

Mathlib.NumberTheory.Cyclotomic.Basic

88 declarations. Mathlib docs · Source

class IsCyclotomicExtension E1 #

Set ℕ → (A : Type u) → (B : Type v) → [inst : CommRing A] → [inst_1 : CommRing B] → [Algebra A B] → Prop

Given an A-algebra B and S : Set ℕ, we define IsCyclotomicExtension S A B requiring that there is an n-th primitive root of unity in B for all nonzero n ∈ S and that B is generated over A by the roots of X ^ n - 1.

theorem isCyclotomicExtension_iff E0 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  IsCyclotomicExtension S A B ↔
    (∀ {n : ℕ}, n ∈ S → n ≠ 0 → ∃ r, IsPrimitiveRoot r n) ∧
      ∀ (x : B), x ∈ Algebra.adjoin A {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1}

ctor IsCyclotomicExtension.mk E0 #

∀ {S : Set ℕ} {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  (∀ {n : ℕ}, n ∈ S → n ≠ 0 → ∃ r, IsPrimitiveRoot r n) →
    (∀ (x : B), x ∈ Algebra.adjoin A {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1}) → IsCyclotomicExtension S A B

theorem IsCyclotomicExtension.exists_isPrimitiveRoot E1 #

∀ {S : Set ℕ} (A : Type u) (B : Type v) {inst : CommRing A} {inst_1 : CommRing B} {inst_2 : Algebra A B}
  [self : IsCyclotomicExtension S A B] {n : ℕ}, n ∈ S → n ≠ 0 → ∃ r, IsPrimitiveRoot r n

For all nonzero n ∈ S, there exists a primitive n-th root of unity in B.

theorem IsCyclotomicExtension.adjoin_roots E1 #

∀ {S : Set ℕ} {A : Type u} {B : Type v} {inst : CommRing A} {inst_1 : CommRing B} {inst_2 : Algebra A B}
  [self : IsCyclotomicExtension S A B] (x : B), x ∈ Algebra.adjoin A {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1}

The n-th roots of unity, for n ∈ S nonzero, generate B as an A-algebra.

theorem IsCyclotomicExtension.iff_adjoin_eq_top E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  IsCyclotomicExtension S A B ↔
    (∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n) ∧ Algebra.adjoin A {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1} = ⊤

A reformulation of IsCyclotomicExtension that uses ⊤.

theorem IsCyclotomicExtension.iff_singleton E1 #

∀ (n : ℕ) [NeZero n] (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  IsCyclotomicExtension {n} A B ↔ (∃ r, IsPrimitiveRoot r n) ∧ ∀ (x : B), x ∈ Algebra.adjoin A {b | b ^ n = 1}

A reformulation of IsCyclotomicExtension in the case S is a singleton.

instance IsCyclotomicExtension.instSubsingleton E0 #

∀ (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [h : IsCyclotomicExtension ∅ A B], Subsingleton (Subalgebra A B)

theorem IsCyclotomicExtension.singleton_one E1 #

∀ (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [h : IsCyclotomicExtension {1} A B], ⊥ = ⊤

If IsCyclotomicExtension {1} A B, then the image of A in B equals B.

theorem IsCyclotomicExtension.singleton_zero_of_bot_eq_top E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  ⊥ = ⊤ → IsCyclotomicExtension {0} A B

If (⊥ : SubAlgebra A B) = ⊤, then IsCyclotomicExtension {0} A B.

theorem IsCyclotomicExtension.isCyclotomicExtension_zero_iff E0 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  IsCyclotomicExtension {0} A B ↔ Function.Surjective ⇑(algebraMap A B)

theorem IsCyclotomicExtension.trans E1 #

∀ (S T : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] (C : Type w)
  [inst_3 : CommRing C] [inst_4 : Algebra A C] [inst_5 : Algebra B C] [IsScalarTower A B C]
  [hS : IsCyclotomicExtension S A B] [hT : IsCyclotomicExtension T B C],
  Function.Injective ⇑(algebraMap B C) → IsCyclotomicExtension (S ∪ T) A C

Transitivity of cyclotomic extensions.

theorem IsCyclotomicExtension.subsingleton_iff E0 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [Subsingleton B], IsCyclotomicExtension S A B ↔ S ⊆ {0, 1}

theorem IsCyclotomicExtension.union_right E1 #

∀ (S T : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [h : IsCyclotomicExtension (S ∪ T) A B],
  IsCyclotomicExtension T (↥(Algebra.adjoin A {b | ∃ a ∈ S, a ≠ 0 ∧ b ^ a = 1})) B

If B is a cyclotomic extension of A given by roots of unity of order in S ∪ T, then B is a cyclotomic extension of adjoin A { b : B | ∃ a : ℕ, a ∈ S ∧ a ≠ 0 ∧ b ^ a = 1 } given by roots of unity of order in T.

theorem IsCyclotomicExtension.union_left E1 #

∀ (S T : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [h : IsCyclotomicExtension T A B],
  S ⊆ T → IsCyclotomicExtension S A ↥(Algebra.adjoin A {b | ∃ a ∈ S, a ≠ 0 ∧ b ^ a = 1})

If B is a cyclotomic extension of A given by roots of unity of order in T and S ⊆ T, then adjoin A { b : B | ∃ a : ℕ, a ∈ S ∧ a ≠ 0 ∧ b ^ a = 1 } is a cyclotomic extension of B given by roots of unity of order in S.

theorem IsCyclotomicExtension.union_of_isPrimitiveRoot E1 #

∀ {n : ℕ} [NeZero n] (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : Algebra A B] [hB : IsCyclotomicExtension S A B] {r : B},
  IsPrimitiveRoot r n → IsCyclotomicExtension (S ∪ {n}) A B

If there exists a primitive root of unity of order n in B, then IsCyclotomicExtension S A B implies IsCyclotomicExtension (S ∪ {n}) A B.

theorem IsCyclotomicExtension.of_union_of_dvd E1 #

∀ {n : ℕ} [NeZero n] {S : Set ℕ} (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : Algebra A B],
  (∃ s ∈ S, s ≠ 0 ∧ n ∣ s) → ∀ [H : IsCyclotomicExtension S A B], IsCyclotomicExtension (S ∪ {n}) A B

If there exists a nonzero s ∈ S such that n ∣ s, then IsCyclotomicExtension S A B implies IsCyclotomicExtension (S ∪ {n}) A B.

theorem IsCyclotomicExtension.iff_union_of_dvd E1 #

∀ {n : ℕ} [NeZero n] {S : Set ℕ} (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : Algebra A B], (∃ s ∈ S, s ≠ 0 ∧ n ∣ s) → (IsCyclotomicExtension S A B ↔ IsCyclotomicExtension (S ∪ {n}) A B)

If there exists a nonzero s ∈ S such that n ∣ s, then IsCyclotomicExtension S A B if and only if IsCyclotomicExtension (S ∪ {n}) A B.

theorem IsCyclotomicExtension.iff_union_singleton_one E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  IsCyclotomicExtension S A B ↔ IsCyclotomicExtension (S ∪ {1}) A B

IsCyclotomicExtension S A B is equivalent to IsCyclotomicExtension (S ∪ {1}) A B.

theorem IsCyclotomicExtension.singleton_one_of_bot_eq_top E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  ⊥ = ⊤ → IsCyclotomicExtension {1} A B

If (⊥ : SubAlgebra A B) = ⊤, then IsCyclotomicExtension {1} A B.

theorem IsCyclotomicExtension.singleton_one_of_algebraMap_bijective E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  Function.Surjective ⇑(algebraMap A B) → IsCyclotomicExtension {1} A B

If Function.Surjective (algebraMap A B), then IsCyclotomicExtension {1} A B.

theorem IsCyclotomicExtension.equiv E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] {C : Type u_1}
  [inst_3 : CommRing C] [inst_4 : Algebra A C] [h : IsCyclotomicExtension S A B] (f : B ≃ₐ[A] C),
  IsCyclotomicExtension S A C

Given (f : B ≃ₐ[A] C), if IsCyclotomicExtension S A B then IsCyclotomicExtension S A C.

theorem IsCyclotomicExtension.neZero_of_mem E1 #

∀ (n : ℕ) [NeZero n] (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : Algebra A B] [IsCyclotomicExtension S A B] [IsDomain B], n ∈ S → NeZero ↑n

theorem IsCyclotomicExtension.neZero_of_mem' E1 #

∀ (n : ℕ) [NeZero n] (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : Algebra A B] [IsCyclotomicExtension S A B] [IsDomain B], n ∈ S → NeZero ↑n

theorem IsCyclotomicExtension.neZero E1 #

∀ (n : ℕ) [NeZero n] (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsCyclotomicExtension {n} A B] [IsDomain B], NeZero ↑n

theorem IsCyclotomicExtension.neZero' E1 #

∀ (n : ℕ) [NeZero n] (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsCyclotomicExtension {n} A B] [IsDomain B], NeZero ↑n

theorem IsCyclotomicExtension.integral E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsCyclotomicExtension S A B], Algebra.IsIntegral A B

A cyclotomic extension is integral.

theorem Algebra.isCyclotomicExtension_adjoin_of_exists_isPrimitiveRoot E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B],
  (∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n) →
    IsCyclotomicExtension S A ↥(Algebra.adjoin A {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1})

theorem IsCyclotomicExtension.algEquiv_eq_of_apply_eq E0 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsCyclotomicExtension S A B] [IsDomain B] {f g : B ≃ₐ[A] B},
  (∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n ∧ f r = g r) → f = g

Two elements in the Galois group of a cyclotomic extension are equal if their actions on primitive roots are equal.

theorem IsCyclotomicExtension.isMulCommutative E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsCyclotomicExtension S A B] [IsDomain B], IsMulCommutative (B ≃ₐ[A] B)

Cyclotomic extensions are abelian.

theorem IsCyclotomicExtension.finite_of_singleton E1 #

∀ (n : ℕ) [NeZero n] (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsDomain B] [h : IsCyclotomicExtension {n} A B], Module.Finite A B

theorem IsCyclotomicExtension.finite E1 #

∀ (S : Set ℕ) (A : Type u) (B : Type v) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [IsDomain B]
  [h₁ : Finite ↑S] [h₂ : IsCyclotomicExtension S A B], Module.Finite A B

If S is finite and IsCyclotomicExtension S A B, then B is a finite A-algebra.

theorem IsCyclotomicExtension.numberField E2 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L] [h : NumberField K]
  [Finite ↑S] [IsCyclotomicExtension S K L], NumberField L

A cyclotomic finite extension of a number field is a number field.

theorem IsCyclotomicExtension.finiteDimensional E1 #

∀ (S : Set ℕ) (K : Type w) [inst : Field K] (C : Type z) [Finite ↑S] [inst_2 : CommRing C] [inst_3 : Algebra K C]
  [IsDomain C] [IsCyclotomicExtension S K C], FiniteDimensional K C

If S is finite and IsCyclotomicExtension S K A, then finiteDimensional K A.

theorem IsCyclotomicExtension.adjoin_roots_cyclotomic_eq_adjoin_nth_roots E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [inst_3 : IsDomain B]
  {ζ : B} {n : ℕ} [NeZero n],
  IsPrimitiveRoot ζ n →
    Algebra.adjoin A ((Polynomial.cyclotomic n A).rootSet B) = Algebra.adjoin A {b | ∃ a ∈ {n}, a ≠ 0 ∧ b ^ a = 1}

theorem IsCyclotomicExtension.adjoin_roots_cyclotomic_eq_adjoin_root_cyclotomic E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] {n : ℕ} [NeZero n]
  [inst_4 : IsDomain B] {ζ : B}, IsPrimitiveRoot ζ n → Algebra.adjoin A ((Polynomial.cyclotomic n A).rootSet B) = A[ζ]

theorem IsCyclotomicExtension.adjoin_primitive_root_eq_top E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] {n : ℕ} [NeZero n]
  [IsDomain B] [h : IsCyclotomicExtension {n} A B] {ζ : B}, IsPrimitiveRoot ζ n → A[ζ] = ⊤

theorem IsPrimitiveRoot.adjoin_isCyclotomicExtension E1 #

∀ (A : Type u) {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] {ζ : B} {n : ℕ} [NeZero n],
  IsPrimitiveRoot ζ n → IsCyclotomicExtension {n} A ↥A[ζ]

theorem IsPrimitiveRoot.intermediateField_adjoin_isCyclotomicExtension E1 #

∀ (K : Type w) {L : Type z} [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L] {n : ℕ} [NeZero n] {ζ : L},
  IsPrimitiveRoot ζ n → IsCyclotomicExtension {n} K ↥K⟮ζ⟯

theorem IsCyclotomicExtension.splits_X_pow_sub_one E1 #

∀ {n : ℕ} [NeZero n] {S : Set ℕ} (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [H : IsCyclotomicExtension S K L], n ∈ S → (Polynomial.map (algebraMap K L) (Polynomial.X ^ n - 1)).Splits

A cyclotomic extension splits X ^ n - 1 if n ∈ S.

theorem IsCyclotomicExtension.splits_cyclotomic E1 #

∀ {n : ℕ} [NeZero n] {S : Set ℕ} (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension S K L], n ∈ S → (Polynomial.map (algebraMap K L) (Polynomial.cyclotomic n K)).Splits

A cyclotomic extension splits cyclotomic n K if n ∈ S.

theorem IntermediateField.isCyclotomicExtension_adjoin_of_exists_isPrimitiveRoot E1 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L],
  (∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n) →
    IsCyclotomicExtension S K ↥(IntermediateField.adjoin K {b | ∃ n ∈ S, n ≠ 0 ∧ b ^ n = 1})

theorem IsCyclotomicExtension.isSeparable E1 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension S K L], Algebra.IsSeparable K L

theorem IsCyclotomicExtension.nonempty_algEquiv_adjoin_of_isSepClosed E1 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension S K L] (M : Type u_1) [inst_4 : Field M] [inst_5 : Algebra K M] [IsSepClosed M],
  Nonempty (L ≃ₐ[K] ↥(IntermediateField.adjoin K {x | ∃ n ∈ S, n ≠ 0 ∧ x ^ n = 1}))

theorem IsCyclotomicExtension.isGalois E1 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension S K L], IsGalois K L

theorem IsCyclotomicExtension.isAbelianGalois E1 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension S K L], IsAbelianGalois K L

Cyclotomic extensions are abelian.

def IsCyclotomicExtension.algEquiv E1 #

(S : Set ℕ) →
  (K : Type w) →
    (L : Type z) →
      [inst : Field K] →
        [inst_1 : Field L] →
          [inst_2 : Algebra K L] →
            [IsCyclotomicExtension S K L] →
              (L' : Type u_1) →
                [inst_4 : Field L'] → [inst_5 : Algebra K L'] → [IsCyclotomicExtension S K L'] → L ≃ₐ[K] L'

Any two S-cyclotomic extensions are isomorphic.

theorem IsCyclotomicExtension.nonempty_algEquiv_adjoin_of_exists_isPrimitiveRoot E1 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension S K L] (M : Type u_1) [inst_4 : Field M] [inst_5 : Algebra K M],
  (∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n) →
    Nonempty (L ≃ₐ[K] ↥(IntermediateField.adjoin K {x | ∃ n ∈ S, n ≠ 0 ∧ x ^ n = 1}))

theorem IsCyclotomicExtension.isSplittingField_X_pow_sub_one E1 #

∀ (n : ℕ) [NeZero n] (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension {n} K L], Polynomial.IsSplittingField K L (Polynomial.X ^ n - 1)

If IsCyclotomicExtension {n} K L, then L is the splitting field of X ^ n - 1.

theorem IsCyclotomicExtension.splitting_field_cyclotomic E1 #

∀ (n : ℕ) [NeZero n] (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  [IsCyclotomicExtension {n} K L], Polynomial.IsSplittingField K L (Polynomial.cyclotomic n K)

If IsCyclotomicExtension {n} K L, then L is the splitting field of cyclotomic n K.

def CyclotomicField E1 #

ℕ → (K : Type w) → [Field K] → Type w

Given a nonzero n : ℕ and a field K, we define CyclotomicField n K as the splitting field of cyclotomic n K. If n is nonzero in K, it has the instance IsCyclotomicExtension {n} K (CyclotomicField n K).

instance instInhabitedCyclotomicField E0 #

(n : ℕ) → (K : Type u_1) → [inst : Field K] → Inhabited (CyclotomicField n K)

instance CyclotomicField.instAlgebra E0 #

(n : ℕ) →
  (A : Type u_1) →
    (K : Type u_2) → [inst : CommRing A] → [inst_1 : Field K] → [Algebra A K] → Algebra A (CyclotomicField n K)

instance CyclotomicField.instIsScalarTower E0 #

∀ (n : ℕ) (A : Type u_1) (K : Type u_2) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K],
  IsScalarTower A K (CyclotomicField n K)

instance CyclotomicField.instSMulOfAlgebra E0 #

(n : ℕ) →
  (A : Type u_1) →
    (K : Type u_2) → [inst : CommRing A] → [inst_1 : Field K] → [Algebra A K] → SMul A (CyclotomicField n K)

instance CyclotomicField.instField E0 #

(n : ℕ) → (K : Type u_1) → [inst : Field K] → Field (CyclotomicField n K)

instance CyclotomicField.algebra E0 #

(n : ℕ) → (K : Type w) → [inst : Field K] → Algebra K (CyclotomicField n K)

instance CyclotomicField.instCharZero E0 #

∀ (n : ℕ) (K : Type w) [inst : Field K] [CharZero K], CharZero (CyclotomicField n K)

instance CyclotomicField.isCyclotomicExtension E0 #

∀ (n : ℕ) [NeZero n] (K : Type w) [inst : Field K] [NeZero ↑n], IsCyclotomicExtension {n} K (CyclotomicField n K)

instance CyclotomicField.instIsCyclotomicExtensionSingletonNatSetOfNat E0 #

∀ (K : Type w) [inst : Field K], IsCyclotomicExtension {0} K (CyclotomicField 0 K)

instance CyclotomicField.instIsCyclotomicExtensionSingletonNatSetOfCharZero E0 #

∀ (n : ℕ) (K : Type w) [inst : Field K] [CharZero K], IsCyclotomicExtension {n} K (CyclotomicField n K)

instance CyclotomicField.instNumberField E0 #

∀ (n : ℕ) (K : Type w) [inst : Field K] [NumberField K], NumberField (CyclotomicField n K)

instance instIsTorsionFreeCyclotomicFieldOfIsDomainOfIsFractionRing E0 #

∀ (n : ℕ) (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K] [IsDomain A]
  [IsFractionRing A K], Module.IsTorsionFree A (CyclotomicField n K)

def CyclotomicRing E1 #

ℕ → (A : Type u) → (K : Type w) → [inst : CommRing A] → [inst_1 : Field K] → [Algebra A K] → Type w

If A is a domain with fraction field K and n : ℕ, we define CyclotomicRing n A K as the A-subalgebra of CyclotomicField n K generated by the roots of X ^ n - 1. If n is nonzero in A, it has the instance IsCyclotomicExtension {n} A (CyclotomicRing n A K).

instance instCommRingCyclotomicRing E0 #

(n : ℕ) →
  (A : Type u_2) →
    (K : Type u_1) → [inst : CommRing A] → [inst_1 : Field K] → [inst_2 : Algebra A K] → CommRing (CyclotomicRing n A K)

instance instInhabitedCyclotomicRing E0 #

(n : ℕ) →
  (A : Type u_2) →
    (K : Type u_1) →
      [inst : CommRing A] → [inst_1 : Field K] → [inst_2 : Algebra A K] → Inhabited (CyclotomicRing n A K)

instance instIsDomainCyclotomicRing E0 #

∀ (n : ℕ) (A : Type u_2) (K : Type u_1) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K],
  IsDomain (CyclotomicRing n A K)

instance CyclotomicRing.algebraBase E0 #

(n : ℕ) →
  (A : Type u) →
    (K : Type w) → [inst : CommRing A] → [inst_1 : Field K] → [inst_2 : Algebra A K] → Algebra A (CyclotomicRing n A K)

The A-algebra structure on CyclotomicRing n A K.

instance CyclotomicRing.instIsTorsionFreeOfIsDomainOfIsFractionRing E0 #

∀ (n : ℕ) (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K] [IsDomain A]
  [IsFractionRing A K], Module.IsTorsionFree A (CyclotomicRing n A K)

theorem CyclotomicRing.algebraBase_injective E1 #

∀ (n : ℕ) (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K] [IsDomain A]
  [IsFractionRing A K], Function.Injective ⇑(algebraMap A (CyclotomicRing n A K))

instance CyclotomicRing.instAlgebraCyclotomicField E0 #

(n : ℕ) →
  (A : Type u) →
    (K : Type w) →
      [inst : CommRing A] →
        [inst_1 : Field K] → [inst_2 : Algebra A K] → Algebra (CyclotomicRing n A K) (CyclotomicField n K)

theorem CyclotomicRing.adjoin_algebra_injective E1 #

∀ (n : ℕ) (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K],
  Function.Injective ⇑(algebraMap (CyclotomicRing n A K) (CyclotomicField n K))

instance CyclotomicRing.instIsTorsionFreeCyclotomicField E0 #

∀ (n : ℕ) (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K],
  Module.IsTorsionFree (CyclotomicRing n A K) (CyclotomicField n K)

instance CyclotomicRing.instIsScalarTowerCyclotomicField E0 #

∀ (n : ℕ) (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K],
  IsScalarTower A (CyclotomicRing n A K) (CyclotomicField n K)

instance CyclotomicRing.isCyclotomicExtension E0 #

∀ (n : ℕ) [NeZero n] (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [IsDomain A] [IsFractionRing A K] [NeZero ↑n], IsCyclotomicExtension {n} A (CyclotomicRing n A K)

instance CyclotomicRing.instIsFractionRingCyclotomicFieldOfIsDomainOfNeZeroCast E0 #

∀ (n : ℕ) [NeZero n] (A : Type u) (K : Type w) [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [IsFractionRing A K] [IsDomain A] [NeZero ↑n], IsFractionRing (CyclotomicRing n A K) (CyclotomicField n K)

theorem IsSepClosed.isCyclotomicExtension E1 #

∀ (S : Set ℕ) (K : Type w) [inst : Field K] [IsSepClosed K], (∀ a ∈ S, a ≠ 0 → NeZero ↑a) → IsCyclotomicExtension S K K

Separably closed fields are S-cyclotomic extensions over themselves if NeZero ((a : ℕ) : K) for all nonzero a ∈ S.

instance IsSepClosedOfCharZero.isCyclotomicExtension E0 #

∀ (K : Type w) [inst : Field K] [IsSepClosed K] [CharZero K] (S : Set ℕ), IsCyclotomicExtension S K K

theorem IsCyclotomicExtension.mem_of_pow_eq_one E0 #

∀ (S : Set ℕ) {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [IsDomain B]
  (C : Subalgebra A B) [h : IsCyclotomicExtension S A ↥C] {m : ℕ} {ζ : B}, m ∈ S → m ≠ 0 → ζ ^ m = 1 → ζ ∈ C

theorem isCyclotomicExtension_iff_eq_adjoin E1 #

∀ (S : Set ℕ) {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [IsDomain B]
  (C : Subalgebra A B),
  (∀ n ∈ S, n ≠ 0 → ∃ r, IsPrimitiveRoot r n) →
    (IsCyclotomicExtension S A ↥C ↔ C = Algebra.adjoin A {x | ∃ n ∈ S, n ≠ 0 ∧ x ^ n = 1})

theorem isCyclotomicExtension_singleton_iff_eq_adjoin E1 #

∀ (n : ℕ) [NeZero n] {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B]
  [IsDomain B] (C : Subalgebra A B) {ζ : B}, IsPrimitiveRoot ζ n → (IsCyclotomicExtension {n} A ↥C ↔ C = A[ζ])

theorem IsCyclotomicExtension.eq E1 #

∀ (S : Set ℕ) {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [IsDomain B]
  (C₁ C₂ : Subalgebra A B) [h₁ : IsCyclotomicExtension S A ↥C₁] [h₂ : IsCyclotomicExtension S A ↥C₂], C₁ = C₂

theorem IsCyclotomicExtension.le_of_dvd E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [IsDomain B] (n₁ n₂ : ℕ)
  (C₁ C₂ : Subalgebra A B) [h₁ : IsCyclotomicExtension {n₁} A ↥C₁] [h₂ : IsCyclotomicExtension {n₂} A ↥C₂] [NeZero n₂],
  n₁ ∣ n₂ → C₁ ≤ C₂

theorem IsCyclotomicExtension.lcm_sup E1 #

∀ {A : Type u} {B : Type v} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] [IsDomain B] (n₁ n₂ : ℕ)
  (C₁ C₂ : Subalgebra A B) [h₁ : IsCyclotomicExtension {n₁} A ↥C₁] [h₂ : IsCyclotomicExtension {n₂} A ↥C₂] [NeZero n₁]
  [NeZero n₂], IsCyclotomicExtension {n₁.lcm n₂} A ↥(C₁ ⊔ C₂)

theorem IntermediateField.isCyclotomicExtension_singleton_iff_eq_adjoin E1 #

∀ (n : ℕ) [NeZero n] (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  (F : IntermediateField K L) {ζ : L}, IsPrimitiveRoot ζ n → (IsCyclotomicExtension {n} K ↥F ↔ F = K⟮ζ⟯)

theorem IntermediateField.isCyclotomicExtension_eq E0 #

∀ (S : Set ℕ) (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L]
  (F₁ F₂ : IntermediateField K L) [h₁ : IsCyclotomicExtension S K ↥F₁] [h₂ : IsCyclotomicExtension S K ↥F₂], F₁ = F₂

theorem IntermediateField.isCyclotomicExtension_le_of_dvd E1 #

∀ (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L] (n₁ n₂ : ℕ)
  (F₁ F₂ : IntermediateField K L) [h₁ : IsCyclotomicExtension {n₁} K ↥F₁] [h₂ : IsCyclotomicExtension {n₂} K ↥F₂]
  [NeZero n₂], n₁ ∣ n₂ → F₁ ≤ F₂

theorem IntermediateField.isCyclotomicExtension_lcm_sup E1 #

∀ (K : Type w) (L : Type z) [inst : Field K] [inst_1 : Field L] [inst_2 : Algebra K L] (n₁ n₂ : ℕ)
  (F₁ F₂ : IntermediateField K L) [h₁ : IsCyclotomicExtension {n₁} K ↥F₁] [h₂ : IsCyclotomicExtension {n₂} K ↥F₂]
  [NeZero n₁] [NeZero n₂], IsCyclotomicExtension {n₁.lcm n₂} K ↥(F₁ ⊔ F₂)