Auxiliary Mathlib-transported algebra evaluation used to prove the laws of the public executable evaluator.
Equations
Instances For
Applying the auxiliary transported evaluator uses Mathlib evaluation after conversion.
Executable monomial evaluation is the corresponding finite product.
Evaluation transported through the Mathlib equivalence.
This auxiliary homomorphism supplies the laws for the public direct evaluator.
Equations
Instances For
The Mathlib-transported evaluation homomorphism applies as direct
eval₂.
The auxiliary transported algebra evaluator is exactly the Mathlib-free direct evaluator with the coefficient algebra map.
Evaluation along an arbitrary coefficient ring homomorphism, packaged as a ring homomorphism on executable polynomials. Its function field is definitionally the direct Mathlib-free evaluator; lawful boolean equality is converted to proposition-level equality only inside the erased law proofs.
Equations
- HexMvPolyMathlib.eval₂Hom f x = { toFun := Hex.MvPoly.eval₂ (⇑f) x, map_one' := ⋯, map_mul' := ⋯, map_zero' := ⋯, map_add' := ⋯ }
Instances For
The packaged ring homomorphism is the Mathlib-free direct evaluator.
Executable algebra evaluation. The function field is definitionally the direct Mathlib-free evaluator.
Equations
- HexMvPolyMathlib.aeval x = { toRingHom := HexMvPolyMathlib.eval₂Hom (algebraMap R S) x, commutes' := ⋯ }
Instances For
Applying executable algebra evaluation agrees with Mathlib evaluation after conversion.
Algebra-hom evaluation is exactly the Mathlib-free direct evaluator with the coefficient algebra map.
Evaluation into the coefficient ring agrees with the Mathlib-free specialization.
Algebra evaluation sends zero to zero.
Algebra evaluation sends one to one.
Algebra evaluation preserves addition.
Algebra evaluation preserves multiplication.
Algebra evaluation preserves natural powers.
Algebra evaluation sends a constant polynomial through the algebra map.
Algebra evaluation sends a variable polynomial to its assigned value.
Algebra evaluation preserves negation.
Algebra evaluation preserves subtraction.