Lemmas for the interaction between polynomials and ∑ and ∏. #
Recall that ∑ and ∏ are notation for Finset.sum and Finset.prod respectively.
Main results #
Polynomial.natDegree_prod_of_monic: the degree of a product of monic polynomials is the product of degrees. We prove this only for[CommSemiring R], but it ought to be true for[Semiring R]andList.prod.Polynomial.natDegree_prod: for polynomials over an integral domain, the degree of the product is the sum of degrees.Polynomial.leadingCoeff_prod: for polynomials over an integral domain, the leading coefficient is the product of leading coefficients.Polynomial.prod_X_sub_C_coeff_card_predcarries most of the content for computing the second coefficient of the characteristic polynomial.
The degree of a product of polynomials is at most the sum of the degrees, where the degree of the zero polynomial is ⊥.
The leading coefficient of a product of polynomials is equal to the product of the leading coefficients, provided that this product is nonzero.
See Polynomial.leadingCoeff_multiset_prod (without the ') for a version for integral domains,
where this condition is automatically satisfied.
The leading coefficient of a product of polynomials is equal to the product of the leading coefficients, provided that this product is nonzero.
See Polynomial.leadingCoeff_prod (without the ') for a version for integral domains,
where this condition is automatically satisfied.
The degree of a product of polynomials is equal to the sum of the degrees, provided that the product of leading coefficients is nonzero.
See Polynomial.natDegree_multiset_prod (without the ') for a version for integral domains,
where this condition is automatically satisfied.
The degree of a product of polynomials is equal to the sum of the degrees, provided that the product of leading coefficients is nonzero.
See Polynomial.natDegree_prod (without the ') for a version for integral domains,
where this condition is automatically satisfied.
The degree of a product of polynomials is equal to
the sum of the degrees, where the degree of the zero polynomial is ⊥.
[Nontrivial R] is needed, otherwise for l = [] we have ⊥ in the LHS and 0 in the RHS.
The degree of a product of polynomials is equal to the sum of the degrees.
See Polynomial.natDegree_prod' (with a ') for a version for commutative semirings,
where additionally, the product of the leading coefficients must be nonzero.
The degree of a product of polynomials is equal to the sum of the degrees, where the degree of the zero polynomial is ⊥.
The degree of a product of polynomials is equal to the sum of the degrees, where the degree of the zero polynomial is ⊥.
The leading coefficient of a product of polynomials is equal to the product of the leading coefficients.
See Polynomial.leadingCoeff_multiset_prod' (with a ') for a version for commutative semirings,
where additionally, the product of the leading coefficients must be nonzero.
The leading coefficient of a product of polynomials is equal to the product of the leading coefficients.
See Polynomial.leadingCoeff_prod' (with a ') for a version for commutative semirings,
where additionally, the product of the leading coefficients must be nonzero.