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.Finite.GaloisField

33 declarations and 1 deprecated aliases. Mathlib docs · Source

Galois fields

If p is a prime number, and n a natural number, then GaloisField p n is defined as the splitting field of X^(p^n) - X over ZMod p. It is a finite field with p ^ n elements.

Main definition

  • GaloisField p n is a field with p ^ n elements

Main Results

  • GaloisField.algEquivGaloisField: Any finite field is isomorphic to some Galois field
  • FiniteField.algEquivOfCardEq: Uniqueness of finite fields : algebra isomorphism
  • FiniteField.ringEquivOfCardEq: Uniqueness of finite fields : ring isomorphism
  • card_algHom_of_finrank_dvd: if [K:F] ∣ [L:F] then #(K →ₐ[F] L) = [K:F]
  • nonempty_algHom_iff_finrank_dvd: (K →ₐ[F] L) is nonempty iff [K:F] ∣ [L:F]. This and the above result helps to classify the category of finite fields.

theorem GaloisField.congr_simp E1 #

∀ (p p_1 : ℕ) (e_p : p = p_1) [inst : Fact (Nat.Prime p)] (n n_1 : ℕ), n = n_1 → GaloisField p n = GaloisField p_1 n_1

instance FiniteField.isSplittingField_sub E0 #

∀ (K : Type u_1) (F : Type u_2) [inst : Field K] [inst_1 : Fintype K] [inst_2 : Field F] [inst_3 : Algebra F K],
  Polynomial.IsSplittingField F K (Polynomial.X ^ Fintype.card K - Polynomial.X)

theorem galois_poly_separable E1 #

∀ {K : Type u_1} [inst : CommRing K] (p q : ℕ) [CharP K p], p ∣ q → (Polynomial.X ^ q - Polynomial.X).Separable

def GaloisField E1 #

(p : ℕ) → [Fact (Nat.Prime p)] → ℕ → Type

A finite field with p ^ n elements. Every field with the same cardinality is (non-canonically) isomorphic to this field.

instance instFieldGaloisField E0 #

(p : ℕ) → [inst : Fact (Nat.Prime p)] → (n : ℕ) → Field (GaloisField p n)

instance instCharPGaloisField E0 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (n : ℕ), CharP (GaloisField p n) p

instance instInhabitedGaloisField E0 #

(p : ℕ) → [inst : Fact (Nat.Prime p)] → (n : ℕ) → Inhabited (GaloisField p n)

instance instAlgebraZModGaloisField E0 #

(p : ℕ) → [inst : Fact (Nat.Prime p)] → (n : ℕ) → Algebra (ZMod p) (GaloisField p n)

instance instFiniteDimensionalZModGaloisField E0 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (n : ℕ), FiniteDimensional (ZMod p) (GaloisField p n)

instance instFiniteGaloisField E0 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (n : ℕ), Finite (GaloisField p n)

instance instIsSplittingFieldZModGaloisFieldHSubPolynomialHPowNatX E0 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (n : ℕ),
  Polynomial.IsSplittingField (ZMod p) (GaloisField p n) (Polynomial.X ^ p ^ n - Polynomial.X)

theorem GaloisField.finrank E1 #

∀ (p : ℕ) [h_prime : Fact (Nat.Prime p)] {n : ℕ}, n ≠ 0 → Module.finrank (ZMod p) (GaloisField p n) = n

theorem GaloisField.card E1 #

∀ (p : ℕ) [h_prime : Fact (Nat.Prime p)] (n : ℕ), n ≠ 0 → Nat.card (GaloisField p n) = p ^ n

def GaloisField.equivZmodP E1 #

(p : ℕ) → [h_prime : Fact (Nat.Prime p)] → GaloisField p 1 ≃ₐ[ZMod p] ZMod p

A Galois field with exponent 1 is equivalent to ZMod

theorem FiniteField.splits_X_pow_card_sub_X E1 #

∀ (p : ℕ) [h_prime : Fact (Nat.Prime p)] {K : Type u_1} [inst : Field K] [inst_1 : Fintype K]
  [inst_2 : Algebra (ZMod p) K],
  (Polynomial.map (algebraMap (ZMod p) K) (Polynomial.X ^ Fintype.card K - Polynomial.X)).Splits

theorem FiniteField.isSplittingField_of_card_eq E0 #

∀ (p : ℕ) [h_prime : Fact (Nat.Prime p)] (n : ℕ) {K : Type u_1} [inst : Field K] [inst_1 : Fintype K]
  [inst_2 : Algebra (ZMod p) K],
  Fintype.card K = p ^ n → Polynomial.IsSplittingField (ZMod p) K (Polynomial.X ^ p ^ n - Polynomial.X)

def GaloisField.algEquivGaloisFieldOfFintype E1 #

(p : ℕ) →
  [h_prime : Fact (Nat.Prime p)] →
    (n : ℕ) →
      {K : Type u_1} →
        [inst : Field K] →
          [inst_1 : Fintype K] → [inst_2 : Algebra (ZMod p) K] → Fintype.card K = p ^ n → K ≃ₐ[ZMod p] GaloisField p n

Any finite field is (possibly noncanonically) isomorphic to some Galois field.

theorem FiniteField.splits_X_pow_nat_card_sub_X E1 #

∀ (p : ℕ) [h_prime : Fact (Nat.Prime p)] {K : Type u_1} [inst : Field K] [inst_1 : Algebra (ZMod p) K] [Finite K],
  (Polynomial.map (algebraMap (ZMod p) K) (Polynomial.X ^ Nat.card K - Polynomial.X)).Splits

theorem FiniteField.isSplittingField_of_nat_card_eq E0 #

∀ (p : ℕ) [h_prime : Fact (Nat.Prime p)] (n : ℕ) {K : Type u_1} [inst : Field K] [inst_1 : Algebra (ZMod p) K],
  Nat.card K = p ^ n → Polynomial.IsSplittingField (ZMod p) K (Polynomial.X ^ p ^ n - Polynomial.X)

theorem Polynomial.splits_X_pow_nat_card_sub_X E1 #

∀ {K : Type u_1} [inst : Field K], (Polynomial.X ^ Nat.card K - Polynomial.X).Splits

instance GaloisField.instIsGaloisOfFinite E0 #

∀ {K : Type u_2} {K' : Type u_3} [inst : Field K] [inst_1 : Field K'] [Finite K'] [inst_3 : Algebra K K'], IsGalois K K'

def GaloisField.algEquivGaloisField E3 #

(p : ℕ) →
  [h_prime : Fact (Nat.Prime p)] →
    (n : ℕ) →
      {K : Type u_1} →
        [inst : Field K] → [inst_1 : Algebra (ZMod p) K] → Nat.card K = p ^ n → K ≃ₐ[ZMod p] GaloisField p n

Any finite field is (possibly noncanonically) isomorphic to some Galois field.

theorem FiniteField.algebraMap_norm_eq_pow E1 #

∀ {K : Type u_1} {K' : Type u_2} [inst : Field K] [inst_1 : Field K'] [inst_2 : Algebra K K'] [Finite K'] {x : K'},
  (algebraMap K K') ((Algebra.norm K) x) = x ^ ((Nat.card K' - 1) / (Nat.card K - 1))

theorem FiniteField.unitsMap_norm_surjective E1 #

∀ (K : Type u_1) (K' : Type u_2) [inst : Field K] [inst_1 : Field K'] [inst_2 : Algebra K K'] [Finite K'],
  Function.Surjective ⇑(Units.map (Algebra.norm K))

theorem FiniteField.norm_surjective E1 #

∀ (K : Type u_1) (K' : Type u_2) [inst : Field K] [inst_1 : Field K'] [inst_2 : Algebra K K'] [Finite K'],
  Function.Surjective ⇑(Algebra.norm K)

def FiniteField.algEquivOfCardEq E3 #

{K : Type u_1} →
  {K' : Type u_2} →
    [inst : Field K] →
      [inst_1 : Field K'] →
        [inst_2 : Fintype K] →
          [inst_3 : Fintype K'] →
            (p : ℕ) →
              [h_prime : Fact (Nat.Prime p)] →
                [inst_4 : Algebra (ZMod p) K] →
                  [inst_5 : Algebra (ZMod p) K'] → Fintype.card K = Fintype.card K' → K ≃ₐ[ZMod p] K'

Uniqueness of finite fields: Any two finite fields of the same cardinality are (possibly noncanonically) isomorphic

def FiniteField.ringEquivOfCardEq E3 #

{K : Type u_1} →
  {K' : Type u_2} →
    [inst : Field K] →
      [inst_1 : Field K'] → [inst_2 : Fintype K] → [inst_3 : Fintype K'] → Fintype.card K = Fintype.card K' → K ≃+* K'

Uniqueness of finite fields: Any two finite fields of the same cardinality are (possibly noncanonically) isomorphic

theorem FiniteField.pow_finrank_eq_natCard E1 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (k : Type u_3) [inst_1 : AddCommGroup k] [Finite k] [inst_3 : Module (ZMod p) k],
  p ^ Module.finrank (ZMod p) k = Nat.card k

theorem FiniteField.pow_finrank_eq_card E1 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (k : Type u_3) [inst_1 : AddCommGroup k] [inst_2 : Fintype k]
  [inst_3 : Module (ZMod p) k], p ^ Module.finrank (ZMod p) k = Fintype.card k

theorem FiniteField.nonempty_algHom_of_finrank_dvd E1 #

∀ {F : Type u_3} {K : Type u_4} {L : Type u_5} [inst : Field F] [inst_1 : Field K] [inst_2 : Algebra F K]
  [inst_3 : Field L] [inst_4 : Algebra F L] [Finite L], Module.finrank F K ∣ Module.finrank F L → Nonempty (K →ₐ[F] L)

theorem FiniteField.natCard_algHom_of_finrank_dvd E1 #

∀ {F : Type u_3} {K : Type u_4} {L : Type u_5} [inst : Field F] [inst_1 : Field K] [inst_2 : Algebra F K]
  [inst_3 : Field L] [inst_4 : Algebra F L] [Finite L],
  Module.finrank F K ∣ Module.finrank F L → Nat.card (K →ₐ[F] L) = Module.finrank F K

theorem FiniteField.card_algHom_of_finrank_dvd E3 #

∀ {F : Type u_3} {K : Type u_4} {L : Type u_5} [inst : Field F] [inst_1 : Field K] [inst_2 : Algebra F K]
  [inst_3 : Field L] [inst_4 : Algebra F L] [Finite L] [inst_6 : Finite K],
  Module.finrank F K ∣ Module.finrank F L → Fintype.card (K →ₐ[F] L) = Module.finrank F K

theorem FiniteField.nonempty_algHom_iff_finrank_dvd E3 #

∀ {F : Type u_3} {K : Type u_4} {L : Type u_5} [inst : Field F] [inst_1 : Field K] [inst_2 : Algebra F K]
  [inst_3 : Field L] [inst_4 : Algebra F L] [Finite L], Nonempty (K →ₐ[F] L) ↔ Module.finrank F K ∣ Module.finrank F L

Deprecated aliases

NameNew nameSince
GaloisField.splits_zmod_X_pow_sub_XPolynomial.splits_X_pow_char_sub_X2026-11-15