Formal Derivative and Taylor Shift of Computable Univariate Polynomials #
Defines the formal derivative CPolynomial.derivative and the Taylor shift
CPolynomial.taylor, with proofs of their core properties.
The formal derivative of a computable polynomial.
Coefficient n of the result is coeff p (n+1) * (n+1).
Instances For
Coefficient formula for the derivative.
The derivative of the zero polynomial is zero.
The derivative of a constant is zero.
The derivative of a monomial.
The derivative distributes over addition.
The computable derivative matches Mathlib's Polynomial.derivative under toPoly.
The derivative satisfies the Leibniz product rule.
The Taylor shift taylor a p = p(X + a).
Instances For
The computable Taylor shift matches Polynomial.taylor under toPoly.
The Taylor shift of zero is zero.
The constant coefficient of the Taylor shift is evaluation at the shift point.