The four elements of a field of order four #
A root ω of X² + X + 1 labels the four elements as 0, 1, ω, ω².
The explicit enumeration supports finite calculations over this alphabet without choosing
another model of the field. Squaring exchanges the two roots in characteristic two.
Additively, a field of four elements is the Klein four-group: zmodTwoProdAddEquiv sends
(a, b) : ZMod 2 × ZMod 2 to a + bω, so that the three nonzero elements 1, ω, ω² correspond
to (1, 0), (0, 1) and (1, 1). The absolute trace to the prime field is z ↦ z + z².
The Galois field of order four has four elements, independently of its enumeration.
The additive group of a field of order four #
noncomputable def
TauCeti.zmodTwoProdAddEquiv
{F : Type u_1}
[Field F]
[Finite F]
(hF : Nat.card F = 4)
{ω : F}
(hω : ω ^ 2 + ω + 1 = 0)
:
A field of order four is additively the Klein four-group: given a root ω of
X² + X + 1, the pair (a, b) of residues modulo two corresponds to a + bω.
Equations
- TauCeti.zmodTwoProdAddEquiv hF hω = AddEquiv.ofBijective ((TauCeti.zmodTwoHom✝ hF 1).coprod (TauCeti.zmodTwoHom✝ hF ω)) ⋯