Definitions #
In this file we define an operation derivative
(formal differentiation)
on the ring of formal power series in one variable (over an arbitrary commutative semiring).
Under suitable assumptions, we prove that two power series are equal if their derivatives are equal and their constant terms are equal. This will give us a simple tool for proving power series identities. For example, one can easily prove the power series identity $\exp ( \log (1+X)) = 1+X$ by differentiating twice.
Main Definition #
PowerSeries.derivative R : Derivation R R⟦X⟧ R⟦X⟧
the formal derivative operation. This is abbreviatedd⁄dX R
.
The formal derivative of a power series in one variable.
This is defined here as a function, but will be packaged as a
derivation derivative
on R⟦X⟧
.
Equations
- PowerSeries.derivativeFun f = PowerSeries.mk fun (n : ℕ) => (PowerSeries.coeff R (n + 1)) f * (↑n + 1)
Instances For
Leibniz rule for formal power series.
The formal derivative of a formal power series.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Abbreviation of PowerSeries.derivative
, the formal derivative on R⟦X⟧
.
Equations
- PowerSeries.«termD⁄dX» = Lean.ParserDescr.node `PowerSeries.termD⁄dX 1024 (Lean.ParserDescr.symbol "d⁄dX")
Instances For
If f
and g
have the same constant term and derivative, then they are equal.