Erase the leading term of a univariate polynomial #
Definition #
eraseLead f
: the polynomialf - 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 to0
all monomials of degree less thank
,φ
maps each monomialm
inR[x]
to a polynomialφ m
of degreefu (deg m)
. Then,φ
maps each polynomialp
inR[x]
to a polynomial of degreefu (deg p)
.