Finite Fields
Statement
For every prime and positive integer , there exists a unique (up to isomorphism) field with exactly elements, denoted or . It is the splitting field of over .
In Mathlib: GaloisField p n is the concrete construction, and GaloisField.card proves Nat.card (GaloisField p n) = p ^ n.
Key structural facts:
- is cyclic of order .
- is Galois over with cyclic Galois group generated by the Frobenius .
- iff .
Visualization
The field .
Elements: where (i.e., is a root of ).
Addition table (characteristic 2, so ):
Multiplication table (using ):
Note: is cyclic of order 3 generated by .
Proof Sketch
- Existence. The polynomial over is separable (its derivative is ), so it has distinct roots in its splitting field. These roots form a subfield (closed under addition and multiplication by Freshman's dream), which has exactly elements.
- Uniqueness. If is any field with elements, then has order , so every satisfies , hence for all . Thus consists exactly of roots of , making the splitting field.
- Subfield lattice. iff every root of is also a root of , which holds iff , iff .
Connections
Finite fields are the arena for Fermat's Little TheoremFermat's Little TheoremFor prime p, a^p is congruent to a mod pRead more → (the statement for is exactly membership in the splitting field of ). The multiplicative group structure is central to Quadratic ReciprocityQuadratic ReciprocityRelationship between solvability of quadratic congruences for two odd primesRead more → via the Legendre symbol over .
Lean4 Proof
/-- The Galois field GF(p, n) has exactly p^n elements. -/
theorem galoisField_card (p : ℕ) [Fact p.Prime] (n : ℕ) (hn : n ≠ 0) :
Nat.card (GaloisField p n) = p ^ n :=
GaloisField.card p hnReferenced by
- Frobenius EndomorphismField Theory