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 / V11. Fields and Galois theory

Mathlib.FieldTheory.PolynomialGaloisGroup

48 declarations. Mathlib docs · Source

Galois Groups of Polynomials

In this file, we introduce the Galois group of a polynomial p over a field F, defined as the automorphism group of its splitting field. We also provide some results about some extension E above p.SplittingField.

Main definitions

  • Polynomial.Gal p: the Galois group of a polynomial p.
  • Polynomial.Gal.restrict p E: the restriction homomorphism Gal(E/F) → gal p.
  • Polynomial.Gal.galAction p E: the action of gal p on the roots of p in E.

Main statements

  • Polynomial.Gal.restrict_smul: restrict p E is compatible with gal_action p E.

  • Polynomial.Gal.galActionHom_injective: gal p acting on the roots of p in E is faithful.

  • Polynomial.Gal.restrictProd_injective: gal (p * q) embeds as a subgroup of gal p × gal q.

  • Polynomial.Gal.card_of_separable: For a separable polynomial, its Galois group has cardinality equal to the dimension of its splitting field over F.

  • Polynomial.Gal.galActionHom_bijective_of_prime_degree: An irreducible polynomial of prime degree with two non-real roots has full Galois group.

  • Polynomial.Gal.card_complex_roots_eq_card_real_add_card_not_gal_inv: The number of complex roots equals the number of real roots plus the number of roots not fixed by complex conjugation (i.e. with some imaginary component).

theorem Polynomial.Gal.restrictDvd.congr_simp E1 #

∀ {F : Type u_1} [inst : Field F] {p q : Polynomial F} (hpq : p ∣ q),
  Polynomial.Gal.restrictDvd hpq = Polynomial.Gal.restrictDvd hpq

theorem Polynomial.Gal.restrict.congr_simp E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits], Polynomial.Gal.restrict p E = Polynomial.Gal.restrict p E

theorem Polynomial.Gal.rootsEquivRootsAux.congr_simp E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits],
  Polynomial.Gal.rootsEquivRootsAux p E = Polynomial.Gal.rootsEquivRootsAux p E

def Polynomial.Gal E1 #

{F : Type u_1} → [inst : Field F] → Polynomial F → Type u_1

The Galois group of a polynomial.

instance Polynomial.instFintypeGal E0 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → Fintype p.Gal

instance Polynomial.instEquivLikeGalSplittingField E0 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → EquivLike p.Gal p.SplittingField p.SplittingField

instance Polynomial.instGroupGal E0 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → Group p.Gal

instance Polynomial.instMulSemiringActionGalSplittingField E0 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → MulSemiringAction p.Gal p.SplittingField

instance Polynomial.instAlgEquivClassGalSplittingField E0 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F), AlgEquivClass p.Gal F p.SplittingField p.SplittingField

theorem Polynomial.Gal.ext_iff E0 #

∀ {F : Type u_1} [inst : Field F] {p : Polynomial F} {σ τ : p.Gal}, σ = τ ↔ ∀ x ∈ p.rootSet p.SplittingField, σ x = τ x

theorem Polynomial.Gal.ext E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) {σ τ : p.Gal},
  (∀ x ∈ p.rootSet p.SplittingField, σ x = τ x) → σ = τ

def Polynomial.Gal.uniqueGalOfSplits E1 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → p.Splits → Unique p.Gal

If p splits in F then the p.gal is trivial.

instance Polynomial.Gal.instUniqueOfFactSplits E0 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → [h : Fact p.Splits] → Unique p.Gal

instance Polynomial.Gal.uniqueGalZero E0 #

{F : Type u_1} → [inst : Field F] → Unique (Polynomial.Gal 0)

instance Polynomial.Gal.uniqueGalOne E0 #

{F : Type u_1} → [inst : Field F] → Unique (Polynomial.Gal 1)

instance Polynomial.Gal.uniqueGalC E0 #

{F : Type u_1} → [inst : Field F] → (x : F) → Unique (Polynomial.C x).Gal

instance Polynomial.Gal.uniqueGalX E0 #

{F : Type u_1} → [inst : Field F] → Unique Polynomial.X.Gal

instance Polynomial.Gal.uniqueGalXSubC E0 #

{F : Type u_1} → [inst : Field F] → (x : F) → Unique (Polynomial.X - Polynomial.C x).Gal

instance Polynomial.Gal.uniqueGalXPow E0 #

{F : Type u_1} → [inst : Field F] → (n : ℕ) → Unique (Polynomial.X ^ n).Gal

instance Polynomial.Gal.instAlgebraSplittingFieldOfFactSplitsMapAlgebraMap E0 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] → [h : Fact (Polynomial.map (algebraMap F E) p).Splits] → Algebra p.SplittingField E

instance Polynomial.Gal.instIsScalarTowerSplittingField E0 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [h : Fact (Polynomial.map (algebraMap F E) p).Splits], IsScalarTower F p.SplittingField E

def Polynomial.Gal.restrict E1 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] → [Fact (Polynomial.map (algebraMap F E) p).Splits] → Gal(E/F) →* p.Gal

Restrict from a superfield automorphism into a member of gal p.

theorem Polynomial.Gal.restrict_surjective E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits] [Normal F E],
  Function.Surjective ⇑(Polynomial.Gal.restrict p E)

def Polynomial.Gal.mapRoots E1 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] →
            [Fact (Polynomial.map (algebraMap F E) p).Splits] → ↑(p.rootSet p.SplittingField) → ↑(p.rootSet E)

The function taking rootSet p p.SplittingField to rootSet p E. This is actually a bijection, see Polynomial.Gal.mapRoots_bijective.

theorem Polynomial.Gal.mapRoots_bijective E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [h : Fact (Polynomial.map (algebraMap F E) p).Splits], Function.Bijective (Polynomial.Gal.mapRoots p E)

def Polynomial.Gal.rootsEquivRootsAux E0 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] →
            [Fact (Polynomial.map (algebraMap F E) p).Splits] → ↑(p.rootSet p.SplittingField) ≃ ↑(p.rootSet E)

A bijection between rootSet p p.SplittingField and rootSet p E. This is an auxiliary definition used to define the Galois-equivariant Polynomial.Gal.rootsEquivRoots, but we keep this definition public to help prove facts about galAction.

def Polynomial.Gal.rootsEquivRoots E1 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        (E' : Type u_3) →
          [inst_1 : Field E] →
            [inst_2 : Field E'] →
              [inst_3 : Algebra F E] →
                [inst_4 : Algebra F E'] →
                  [Fact (Polynomial.map (algebraMap F E) p).Splits] →
                    [Fact (Polynomial.map (algebraMap F E') p).Splits] → ↑(p.rootSet E) ≃ ↑(p.rootSet E')

A bijection between rootSet p E and rootSet p E' when p splits in both E and E'. This bijection is Galois-equivariant, see smul_rootsEquivRoots.

instance Polynomial.Gal.galActionAux E0 #

{F : Type u_1} → [inst : Field F] → (p : Polynomial F) → MulAction p.Gal ↑(p.rootSet p.SplittingField)

instance Polynomial.Gal.smul E0 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] → [Fact (Polynomial.map (algebraMap F E) p).Splits] → SMul p.Gal ↑(p.rootSet E)

theorem Polynomial.Gal.smul_def E0 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits] (ϕ : p.Gal) (x : ↑(p.rootSet E)),
  ϕ • x = (Polynomial.Gal.rootsEquivRootsAux p E) (ϕ • (Polynomial.Gal.rootsEquivRootsAux p E).symm x)

theorem Polynomial.Gal.smul_rootsEquivRoots E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) (E' : Type u_3) [inst_1 : Field E]
  [inst_2 : Field E'] [inst_3 : Algebra F E] [inst_4 : Algebra F E']
  [inst_5 : Fact (Polynomial.map (algebraMap F E) p).Splits] [inst_6 : Fact (Polynomial.map (algebraMap F E') p).Splits]
  (g : p.Gal) (x : ↑(p.rootSet E)),
  g • (Polynomial.Gal.rootsEquivRoots p E E') x = (Polynomial.Gal.rootsEquivRoots p E E') (g • x)

instance Polynomial.Gal.galAction E0 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] → [Fact (Polynomial.map (algebraMap F E) p).Splits] → MulAction p.Gal ↑(p.rootSet E)

The action of gal p on the roots of p in E.

theorem Polynomial.Gal.galAction_isPretransitive E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits],
  Irreducible p → MulAction.IsPretransitive p.Gal ↑(p.rootSet E)

theorem Polynomial.Gal.restrict_smul E3 #

∀ {F : Type u_1} [inst : Field F] {p : Polynomial F} {E : Type u_2} [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits] (ϕ : Gal(E/F)) (x : ↑(p.rootSet E)),
  ↑((Polynomial.Gal.restrict p E) ϕ • x) = ϕ ↑x

Polynomial.Gal.restrict p E is compatible with Polynomial.Gal.galAction p E.

def Polynomial.Gal.galActionHom E1 #

{F : Type u_1} →
  [inst : Field F] →
    (p : Polynomial F) →
      (E : Type u_2) →
        [inst_1 : Field E] →
          [inst_2 : Algebra F E] →
            [Fact (Polynomial.map (algebraMap F E) p).Splits] → p.Gal →* Equiv.Perm ↑(p.rootSet E)

Polynomial.Gal.galAction as a permutation representation

theorem Polynomial.Gal.galActionHom_restrict E1 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits] (ϕ : Gal(E/F)) (x : ↑(p.rootSet E)),
  ↑(((Polynomial.Gal.galActionHom p E) ((Polynomial.Gal.restrict p E) ϕ)) x) = ϕ ↑x

theorem Polynomial.Gal.galActionHom_injective E3 #

∀ {F : Type u_1} [inst : Field F] (p : Polynomial F) (E : Type u_2) [inst_1 : Field E] [inst_2 : Algebra F E]
  [inst_3 : Fact (Polynomial.map (algebraMap F E) p).Splits], Function.Injective ⇑(Polynomial.Gal.galActionHom p E)

gal p embeds as a subgroup of permutations of the roots of p in E.

def Polynomial.Gal.restrictDvd E1 #

{F : Type u_1} → [inst : Field F] → {p q : Polynomial F} → p ∣ q → q.Gal →* p.Gal

Polynomial.Gal.restrict, when both fields are splitting fields of polynomials.

theorem Polynomial.Gal.restrictDvd_def E0 #

∀ {F : Type u_1} [inst : Field F] {p q : Polynomial F} [inst_1 : Decidable (q = 0)] (hpq : p ∣ q),
  Polynomial.Gal.restrictDvd hpq = if hq : q = 0 then 1 else Polynomial.Gal.restrict p q.SplittingField

theorem Polynomial.Gal.restrictDvd_surjective E1 #

∀ {F : Type u_1} [inst : Field F] {p q : Polynomial F} (hpq : p ∣ q),
  q ≠ 0 → Function.Surjective ⇑(Polynomial.Gal.restrictDvd hpq)

def Polynomial.Gal.restrictProd E1 #

{F : Type u_1} → [inst : Field F] → (p q : Polynomial F) → (p * q).Gal →* p.Gal × q.Gal

The Galois group of a product maps into the product of the Galois groups.

theorem Polynomial.Gal.restrictProd_injective E3 #

∀ {F : Type u_1} [inst : Field F] (p q : Polynomial F), Function.Injective ⇑(Polynomial.Gal.restrictProd p q)

Polynomial.Gal.restrictProd is actually a subgroup embedding.

theorem Polynomial.Gal.mul_splits_in_splittingField_of_mul E1 #

∀ {F : Type u_1} [inst : Field F] {p₁ q₁ p₂ q₂ : Polynomial F},
  q₁ ≠ 0 →
    q₂ ≠ 0 →
      (Polynomial.map (algebraMap F q₁.SplittingField) p₁).Splits →
        (Polynomial.map (algebraMap F q₂.SplittingField) p₂).Splits →
          (Polynomial.map (algebraMap F (q₁ * q₂).SplittingField) (p₁ * p₂)).Splits

theorem Polynomial.Gal.splits_in_splittingField_of_comp E1 #

∀ {F : Type u_1} [inst : Field F] (p q : Polynomial F),
  q.natDegree ≠ 0 → (Polynomial.map (algebraMap F (p.comp q).SplittingField) p).Splits

p splits in the splitting field of p ∘ q, for q non-constant.

def Polynomial.Gal.restrictComp E1 #

{F : Type u_1} → [inst : Field F] → (p q : Polynomial F) → q.natDegree ≠ 0 → (p.comp q).Gal →* p.Gal

Polynomial.Gal.restrict for the composition of polynomials.

theorem Polynomial.Gal.restrictComp_surjective E1 #

∀ {F : Type u_1} [inst : Field F] (p q : Polynomial F) (hq : q.natDegree ≠ 0),
  Function.Surjective ⇑(Polynomial.Gal.restrictComp p q hq)

theorem Polynomial.Gal.card_of_separable E3 #

∀ {F : Type u_1} [inst : Field F] {p : Polynomial F}, p.Separable → Nat.card p.Gal = Module.finrank F p.SplittingField

For a separable polynomial, its Galois group has cardinality equal to the dimension of its splitting field over F.

theorem Polynomial.Gal.prime_degree_dvd_card E1 #

∀ {F : Type u_1} [inst : Field F] {p : Polynomial F} [CharZero F],
  Irreducible p → Nat.Prime p.natDegree → p.natDegree ∣ Nat.card p.Gal