The monic rational associate used for the quotient-field comparison.
Equations
Instances For
The rational defining polynomial is the monic associate of the checked integer polynomial.
Monic normalization preserves the executable defining degree.
The monic rational defining polynomial remains irreducible.
Send reduced executable coordinates to the corresponding AdjoinRoot
class. This function is defined before a ring structure is installed on
Hex.PolyQuot.
Equations
Instances For
Reduced coordinates give a bijection with the quotient by the monic rational defining relation.
The selected complex root zeros the monic rational defining polynomial.
Evaluate the quotient presentation at its selected complex root.
Equations
- Hex.PolyQuot.rootHom rep = AdjoinRoot.lift (algebraMap ℚ ℂ) rep.root ⋯
Instances For
Quotient evaluation agrees with direct evaluation of executable coordinates.
Evaluation at the selected root is injective for a checked irreducible presentation.
The executable coordinate test recognizes precisely the zero element.
Irreducibility and the reduced-degree invariant make the executable gcd
guard in Hex.PolyQuot.inv succeed for every nonzero element.
Fixed-presentation zero evaluates to complex zero.
Fixed-presentation one evaluates to complex one.
Fixed-presentation negation agrees with complex negation.
Fixed-presentation subtraction agrees with complex subtraction.
The executable rational scalar action is semantic scalar multiplication.
Executable extended-GCD inversion agrees with complex inversion.
Fixed-presentation division agrees with complex division.
Executable natural powers preserve the selected interpretation.
Executable integer powers preserve the selected interpretation.
The law-bearing field whose operations are exactly the existing executable reduced-coordinate operations.
Equations
- Hex.PolyQuot.field p x = Function.Injective.field (fun (a : Hex.PolyQuot p x) => a.toComplex (Quot.out x) ⋯) ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Instances For
Opt-in irreducibility witness for the monic rational defining polynomial.
Opt-in field instance for a checked fixed presentation. It is scoped so computational imports never acquire a noncomputable proof dictionary. Opening the scope makes field notation proof-bearing and therefore noncomputable; executable code should use the unscoped operations instead.
Equations
Instances For
A checked rational presentation has characteristic zero.
The quotient comparison preserves executable zero.
The quotient comparison preserves executable one.
The quotient comparison preserves executable addition.
The quotient comparison preserves executable multiplication.
The quotient comparison preserves executable rational scalar multiplication.
The reduced-coordinate comparison as a ring homomorphism.
Equations
- Hex.PolyQuot.toAdjoinRootHom = { toFun := Hex.PolyQuot.toAdjoinRoot, map_one' := ⋯, map_mul' := ⋯, map_zero' := ⋯, map_add' := ⋯ }
Instances For
Reduced executable coordinates are ring-equivalent to the monic rational
AdjoinRoot presentation.
Instances For
The packaged ring equivalence acts by the underlying comparison map.
Evaluation at the selected root as an injective ring homomorphism.
Equations
- Hex.PolyQuot.embedding rep h = { toFun := fun (a : Hex.PolyQuot p x) => a.toComplex rep h, map_one' := ⋯, map_mul' := ⋯, map_zero' := ⋯, map_add' := ⋯ }
Instances For
The packaged ring homomorphism acts by evaluation at the selected root.
The selected-root ring homomorphism is an embedding.
Equality in a checked presentation is exactly equality of interpreted complex values.