Documentation

Mathlib.FieldTheory.PrimeField

Prime fields #

A prime field is a field that does not contain any nontrivial subfield. Prime fields are in characteristic 0 and ZMod p in characteristic p with p a prime number. Any field K contains a unique prime field: it is the smallest field contained in K.

Results #

The smallest subfield of a field of characteristic 0 is (the image of) .

theorem Subfield.bot_eq_of_zMod_algebra {K : Type u_1} (p : ) [hp : Fact (Nat.Prime p)] [Field K] [Algebra (ZMod p) K] :

The smallest subfield of a field of characteristic p is (the image of) ZMod p. Note that the fact that the field K is of characteristic p is stated by the fact that it is ZMod p-algebra.