Support bounds for multivariate polynomials #
The support size of a sum is at most the sum of the support sizes, and the support size of a product is at most their product. In particular, multiplication by a monomial does not increase support size. These bounds hold over any commutative semiring, allowing zero coefficients, zero divisors and cancellation.
theorem MvPolynomial.card_support_add_le {V : Type u_1} {R : Type u_2} [CommSemiring R] (p q : MvPolynomial V R) :
A sum has at most as many supported monomials as its two summands together.
theorem MvPolynomial.card_support_mul_le {V : Type u_1} {R : Type u_2} [CommSemiring R] (p q : MvPolynomial V R) :
A product has at most as many supported monomials as pairs from the two supports.
theorem MvPolynomial.card_support_monomial_mul_le {V : Type u_1} {R : Type u_2} [CommSemiring R] (m : V →₀ ℕ) (a : R) (p : MvPolynomial V R) :
Multiplication by a monomial does not increase support size, regardless of its coefficient.