Erase the leading term of a univariate polynomial #
Definition #
- eraseLead f: the polynomial- f - leading term of f
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.
eraseLead f for a polynomial f is the polynomial obtained by
subtracting from f the leading term of f.
Equations
- f.eraseLead = Polynomial.erase f.natDegree f
Instances For
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 nat_degree 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
nat_degree of the polynomial itself and not on the specific nat_degree 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 to- 0all monomials of degree less than- k,
- φmaps each monomial- min- R[x]to a polynomial- φ mof degree- fu (deg m). Then,- φmaps each polynomial- pin- R[x]to a polynomial of degree- fu (deg p).