Documentation

Mathlib.RingTheory.PowerSeries.Derivative

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 #

noncomputable def PowerSeries.derivativeFun {R : Type u_1} [CommSemiring R] (f : PowerSeries 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
Instances For
    theorem PowerSeries.derivativeFun_coe {R : Type u_1} [CommSemiring R] (f : Polynomial R) :
    PowerSeries.derivativeFun f = (Polynomial.derivative f)
    noncomputable def PowerSeries.derivative (R : Type u_1) [CommSemiring R] :

    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
      Instances For
        @[simp]
        theorem PowerSeries.coeff_derivative {R : Type u_1} [CommSemiring R] (f : PowerSeries R) (n : ) :
        (PowerSeries.coeff R n) ((PowerSeries.derivative R) f) = (PowerSeries.coeff R (n + 1)) f * (n + 1)
        theorem PowerSeries.derivative_coe {R : Type u_1} [CommSemiring R] (f : Polynomial R) :
        (PowerSeries.derivative R) f = (Polynomial.derivative f)
        @[simp]
        theorem PowerSeries.derivative_X {R : Type u_1} [CommSemiring R] :
        (PowerSeries.derivative R) PowerSeries.X = 1
        theorem PowerSeries.trunc_derivative {R : Type u_1} [CommSemiring R] (f : PowerSeries R) (n : ) :
        PowerSeries.trunc n ((PowerSeries.derivative R) f) = Polynomial.derivative (PowerSeries.trunc (n + 1) f)
        theorem PowerSeries.trunc_derivative' {R : Type u_1} [CommSemiring R] (f : PowerSeries R) (n : ) :
        PowerSeries.trunc (n - 1) ((PowerSeries.derivative R) f) = Polynomial.derivative (PowerSeries.trunc n f)

        If f and g have the same constant term and derivative, then they are equal.