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 orderingm.m.leadingCoeff fis the leading coefficient offfor the monomial orderingm.m.Monic fasserts that the leading coefficient offis1.m.leadingCoeff_ne_zero_iff fasserts that this coefficient is nonzero ifff ≠ 0.in a field,
m.isUnit_leadingCoeff 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 offandg.m.degree_add_of_lt h: them.degreeoff + gis equal to that offif them.degreeofgis strictly smaller than thatf.m.leadingCoeff_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 distinct.m.degree_sub_le: them.degreeoff - gis smaller than or equal to the supremum of those offandg.m.degree_sub_of_lt h: them.degreeoff - gis equal to that offif them.degreeofgis strictly smaller than thatf.m.leadingCoeff_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_mul_leadingCoeff_ne_zero: if the product of the leading coefficients is nonzero, then the degree is the sum of the degrees.m.leadingCoeff_mul_of_mul_leadingCoeff_ne_zero: if the product of the leading coefficients is nonzero, then the leading coefficient is that product.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.leadingCoeff_mul_of_isRegular_left,m.leadingCoeff_mul_of_isRegular_rightandm.leadingCoeff_mulsay thatm.leadingCoeff (f * g) = m.leadingCoeff f * m.leadingCoeff gm.degree_pow_of_pow_leadingCoeff_ne_zero: is thenth power of the leading coefficient offis nonzero, then the degree off ^ nisn • (m.degree f)m.leadingCoeff_pow_of_pow_leadingCoeff_ne_zero: is thenth power of the leading coefficient offis nonzero, then the leading coefficient off ^ nis that power.m.degree_prod_of_regular: the degree of a product of polynomials whose leading coefficients are regular is the sum of their degrees.m.leadingCoeff_prod_of_regular: the leading coefficient of a product of polynomials whose leading coefficients are regular is the product of their leading coefficients.m.Monic.prod: a product of monic polynomials is monic.
Reference #
the degree of a multivariate polynomial with respect to a monomial ordering
Instances For
the leading coefficient of a multivariate polynomial with respect to a monomial ordering
Equations
- m.leadingCoeff f = MvPolynomial.coeff (m.degree f) f
Instances For
A multivariate polynomial is Monic with respect to a monomial order
if its leading coefficient (for that monomial order) is 1.
Equations
- m.Monic f = (m.leadingCoeff f = 1)
Instances For
Equations
Multiplicativity of leading coefficients
Multiplicativity of leading coefficients
Monomial degree of product
Multiplicativity of leading coefficients
Monomial degree of product
Multiplicativity of leading coefficients
Monomial degree of product
Multiplicativity of leading coefficients
Monomial degree of product
Multiplicativity of leading coefficients
Monomial degree of powers
Monomial degree of powers
Leading coefficient of powers
Monomial degree of powers (in a reduced ring)
Leading coefficient of powers (in a reduced ring)
A product of monic polynomials is monic