Homogeneous components of products #
This file proves the product rule for homogeneous components of multivariate polynomials,
expressing MvPolynomial.homogeneousComponent e (P * Q) as the antidiagonal sum of component
products.
Main results #
MvPolynomial.homogeneousComponent_mul_eq_sum: the degree-ehomogeneous component ofP * Qis the antidiagonal sum ofhomogeneousComponent ab.1 P * homogeneousComponent ab.2 Q.
theorem MvPolynomial.homogeneousComponent_mul_eq_sum {σ : Type u_1} {R : Type u_2} [CommSemiring R] (P Q : MvPolynomial σ R) (e : ℕ) :
(homogeneousComponent e) (P * Q) = ∑ ab ∈ Finset.antidiagonal e, (homogeneousComponent ab.1) P * (homogeneousComponent ab.2) Q
The component of degree e of a product is the sum of the products of the components of
degrees adding up to e.