Monad operations on MvPolynomial #
This file contains several results about operations on MvPolynomial
which can be thought of in terms of the monad structure on MvPolynomial.
TODO: move these results to other places, and deprecate this file.
bind₁ is the "left-hand side" bind operation on MvPolynomial, operating on the variable type.
Given a polynomial p : MvPolynomial σ R and a map f : σ → MvPolynomial τ R taking variables
in p to polynomials in the variable type τ, bind₁ f p replaces each variable in p with
its value under f, producing a new polynomial in τ. The coefficient type remains the same.
This operation is an algebra hom.
Equations
Instances For
bind₂ is the "right-hand side" bind operation on MvPolynomial,
operating on the coefficient type.
Given a polynomial p : MvPolynomial σ R and
a map f : R → MvPolynomial σ S taking coefficients in p to polynomials over a new ring S,
bind₂ f p replaces each coefficient in p with its value under f,
producing a new polynomial over S.
The variable type remains the same. This operation is a ring hom.
Equations
Instances For
join₁ is the monadic join operation corresponding to MvPolynomial.bind₁. Given a polynomial p
with coefficients in R whose variables are polynomials in σ with coefficients in R,
join₁ p collapses p to a polynomial with variables in σ and coefficients in R.
This operation is an algebra hom.
Equations
Instances For
join₂ is the monadic join operation corresponding to MvPolynomial.bind₂. Given a polynomial p
with variables in σ whose coefficients are polynomials in σ with coefficients in R,
join₂ p collapses p to a polynomial with variables in σ and coefficients in R.
This operation is a ring hom.
Equations
Instances For
Alias of MvPolynomial.eval₂Hom_C_eq_bind₁.