Degree and leading coefficient of polynomials with respect to a monomial order #
We consider a type σ of indeterminates and a commutative semiring R
and a monomial order m : MonomialOrder σ.
m.degree fis the degree offfor the monomial orderingmm.lCoeff fis the leading coefficient offfor the monomial orderingmm.lCoeff_ne_zero_iff fasserts that this coefficient is nonzero ifff ≠ 0.in a field,
m.lCoeff_is_unit_iff fasserts that this coefficient is a unit ifff ≠ 0.m.degree_add_le: them.degreeoff + gis smaller than or equal to the supremum of those offandgm.degree_add_of_lt h: them.degreeoff + gis equal to that offif them.degreeofgis strictly smaller than thatfm.lCoeff_add_of_lt h: then, the leading coefficient off + gis that off.m.degree_add_of_ne h: them.degreeoff + gis equal to that the supremum of those offandgif they are distinctm.degree_sub_le: them.degreeoff - gis smaller than or equal to the supremum of those offandgm.degree_sub_of_lt h: them.degreeoff - gis equal to that offif them.degreeofgis strictly smaller than thatfm.lCoeff_sub_of_lt h: then, the leading coefficient off - gis that off.m.degree_mul_le: them.degreeoff * gis smaller than or equal to the sum of those offandg.m.degree_mul_of_isRegular_left,m.degree_mul_of_isRegular_rightandm.degree_mulassert the equality when the leading coefficient offorgis regular, or whenRis a domain andfandgare nonzero.m.lCoeff_mul_of_isRegular_left,m.lCoeff_mul_of_isRegular_rightandm.lCoeff_mulsay thatm.lCoeff (f * g) = m.lCoeff f * m.lCoeff g
Reference #
[Becker-Weispfenning1993]
the degree of a multivariate polynomial with respect to a monomial ordering
Equations
- m.degree f = m.toSyn.symm (f.support.sup ⇑m.toSyn)
Instances For
the leading coefficient of a multivariate polynomial with respect to a monomial ordering
Equations
- m.lCoeff f = MvPolynomial.coeff (m.degree f) f
Instances For
Multiplicativity of leading coefficients
Multiplicativity of leading coefficients
Multiplicativity of leading coefficients
Multiplicativity of leading coefficients
Multiplicativity of leading coefficients
Degree of product
Degree of of product
Multiplicativity of leading coefficients