Coefficients of products in Laurent polynomials #
Multiplying a Laurent polynomial on the left by T n shifts its coefficients by n, and
multiplying it by a constant, in particular by a natural number, scales every coefficient. The
constant 1 has a single coefficient, at exponent 0. These hold over an arbitrary semiring.
Main results #
LaurentPolynomial.coeff_T_mul:(T n * f).coeff d = f.coeff (d - n).LaurentPolynomial.coeff_C_mulandLaurentPolynomial.coeff_natCast_mul: constants scale coefficients.LaurentPolynomial.coeff_one: the coefficients of1.
theorem
LaurentPolynomial.coeff_T_mul
{R : Type u_1}
[Semiring R]
(n : ℤ)
(f : LaurentPolynomial R)
(d : ℤ)
:
Left multiplication by T n shifts coefficients by n. This is not a simp lemma: simp
moves T n to the right with LaurentPolynomial.T_mul.