Finite fields of prime-power order #
This file separates the finite-geometric construction from its numerical
prime-power indexing. A FiniteFieldModel stores the carrier and the exact
field and finiteness structures that are used to compute its cardinality.
For every natural-number prime power q, finiteFieldModelOfPrimePower
chooses a Galois field of cardinality exactly q. The subtype
PrimePowerIndex is ordered by its underlying natural number, so atTop on
this type is literally the filter "as q tends to infinity through prime
powers". The cofinality theorem below makes that interpretation explicit.
Lean Pool port of wewantmoore commit d59bd80ea93fabb9faf769e790ab47692645e022. The port adds a namespace and adapts proofs to the current Mathlib APIs and repository style.
A finite field together with the particular structures used on its carrier. Keeping the structures explicit makes existential prime-power instantiation straightforward and avoids any hidden choice of instances.
- carrier : Type
The underlying type of the finite field.
The field structure on the chosen carrier.
Instances For
The cardinality of an explicitly packaged finite field.
Instances For
The cardinality of every finite field is a prime power. Together with
exists_finiteFieldModel_of_isPrimePow below, this records both directions
of the correspondence used by the prime-power indexing.
Every natural-number prime power is the cardinality of an explicitly
packaged finite field. The field is the Mathlib Galois field GF(p^e).
A natural number is a prime power exactly when it occurs as the cardinality of an explicitly packaged finite field.
Natural numbers that are positive powers of a prime. Its inherited order is the order of the underlying cardinalities.
Equations
Instances For
Prime powers are cofinal in the natural numbers. Consequently atTop
on PrimePowerIndex is precisely "tending to infinity through prime
powers".
A chosen finite field model of order q, for each prime power q.
Instances For
A chosen field of each prime-power cardinality. The construction is
noncomputable only because a prime/exponent presentation of q is chosen.
Equations
Instances For
The chosen field really has the prime-power cardinality indexing it.
The cardinalities of the chosen fields tend to infinity along the prime-power index.