Definition of well-known power series #
In this file we define the following power series:
PowerSeries.invUnitsSub
: givenu : Rˣ
, this is the series for1 / (u - x)
. It is given by∑ n, x ^ n /ₚ u ^ (n + 1)
.PowerSeries.invOneSubPow
: given a commutative ringS
and a numberd : ℕ
,PowerSeries.invOneSubPow S d
is the multiplicative inverse of(1 - X) ^ d
inS⟦X⟧ˣ
. Whend
is0
,PowerSeries.invOneSubPow S d
will just be1
. Whend
is positive,PowerSeries.invOneSubPow S d
will be∑ n, Nat.choose (d - 1 + n) (d - 1)
.PowerSeries.sin
,PowerSeries.cos
,PowerSeries.exp
: power series for sin, cosine, and exponential functions.
The power series for 1 / (u - x)
.
Equations
Instances For
Note that mk 1
is the constant function 1
so the power series 1 + X + X^2 + ...
. This theorem
states that for any d : ℕ
, (1 + X + X^2 + ... : S⟦X⟧) ^ (d + 1)
is equal to the power series
mk fun n => Nat.choose (d + n) d : S⟦X⟧
.
Given a natural number d : ℕ
and a commutative ring S
, PowerSeries.invOneSubPow S d
is the
multiplicative inverse of (1 - X) ^ d
in S⟦X⟧ˣ
. When d
is 0
, PowerSeries.invOneSubPow S d
will just be 1
. When d
is positive, PowerSeries.invOneSubPow S d
will be the power series
mk fun n => Nat.choose (d - 1 + n) (d - 1)
.
Equations
Instances For
The theorem PowerSeries.mk_one_mul_one_sub_eq_one
implies that 1 - X
is a unit in S⟦X⟧
whose inverse is the power series 1 + X + X^2 + ...
. This theorem states that for any d : ℕ
,
PowerSeries.invOneSubPow S d
is equal to (1 - X)⁻¹ ^ d
.
Power series for the exponential function at zero.
Equations
Instances For
Power series for the sine function at zero.
Equations
Instances For
Power series for the cosine function at zero.
Equations
Instances For
Shows that $\sum_{k = 0}^{n - 1} (e^{X})^k = \sum_{p = 0}^{\infty} \sum_{k = 0}^{n - 1} \frac{k^p}{p!}X^p$.