5.6. Cross-references
HexPolyFp builds on the generic dense polynomials and supplies
the prime-field specialization the finite-field libraries use:
-
HexPolyis the generic dense-polynomial library.Hex.FpPolyis anabbrevoverHex.DensePoly, so every constructor, arithmetic, evaluation, and Euclidean operation documented in that chapter is inherited at the specialized type. The concreteHex.DensePoly.DivModLawsandHex.DensePoly.GcdLawsthe generic Euclidean laws are stated under are discharged here forHex.ZMod64at modulusp. -
HexModArithsuppliesHex.ZMod64at moduluspcoefficient arithmetic: the machine-word modular add, multiply, and inverse that every operation in this chapter ultimately calls, along with theHex.ZMod64.Bounds/Hex.ZMod64.PrimeModulusinstances the prime-field operations require.
Downstream, the finite-field libraries consume HexPolyFp directly:
HexGFqRing builds the quotient ring `Fₚ[x] / (g)` and
HexGFqField promotes it to a field using the
inverse laws documented above, each conditioned on irreducibility of the
modulus, with the Hex.FpPoly.Irreducible witness produced by a
checkable Rabin certificate from HexBerlekamp.