Partial derivatives of polynomials #
This file defines the notion of the formal partial derivative of a polynomial, the derivative with respect to a single variable. This derivative is not connected to the notion of derivative from analysis. It is based purely on the polynomial exponents and coefficients.
Main declarations #
mv_polynomial.pderiv i p: the partial derivative ofpwith respect toi, as a bundled derivation ofmv_polynomial σ R.
Notation #
As in other polynomial files, we typically use the notation:
-
σ : Type*(indexing the variables) -
R : Type*[comm_ring R](the coefficients) -
s : σ →₀ ℕ, a function fromσtoℕwhich is zero away from a finite set. This will give rise to a monomial inmv_polynomial σ Rwhich mathematicians might callX^s -
a : R -
i : σ, with corresponding monomialX i, often denotedX_iby mathematicians -
p : mv_polynomial σ R
pderiv i p is the partial derivative of p with respect to i