Erase the leading term of a univariate polynomial #
Definition #
eraseLead serves as reduction step in an induction, shaving off one monomial from a polynomial.
The definition is set up so that it does not mention subtraction in the definition,
and thus works for polynomials over semirings as well as rings.
If we erase the leading coefficient of a Polynomial.coeffList like [+,0,...], and then
multiply by a linear term, it's equivalent to erasing the first two coefficients of the product.
An induction lemma for polynomials. It takes a natural number N as a parameter, that is
required to be at least as big as the natDegree of the polynomial. This is useful to prove
results where you want to change each term in a polynomial to something else depending on the
natDegree of the polynomial itself and not on the specific natDegree of each term.
Let φ : R[x] → S[x] be an additive map, k : ℕ a bound, and fu : ℕ → ℕ a
"sufficiently monotone" map. Assume also that
φmaps to0all monomials of degree less thank,φmaps each monomialminR[x]to a polynomialφ mof degreefu (deg m).
Then, φ maps each polynomial p in R[x] to a polynomial of degree fu (deg p).