Truncations and finite expansions of power series #
This file collects facts used to compare power series to a finite order m:
- the truncation
trunc m φvanishes exactly whenφhas order at leastm, - two power series have equal
m-truncations if and only if their coefficients agree belowm, - the
m-truncations ofinv.aux a φ,invOfUnit φ u,φ⁻¹, integer powersu ^ k, and products(u ^ k) * d⁄dX uof a unitu : R⟦X⟧ˣdepend only on a finite truncation of the input, - the coefficients of a finite expansion
∑_{i < m} aᵢ Xⁱare theaᵢ, read as zero from degreemon, - the coefficients of a polynomial times a power series expand along the polynomial monomials, and
- evaluating the
n-truncation at an element withx ^ n = 0sees only the coefficients belown.
Main results #
PowerSeries.trunc_eq_zero_iff_le_order:trunc m φ = 0 ↔ m ≤ order φ.PowerSeries.trunc_eq_trunc_iff:trunc m φ = trunc m ψ ↔ ∀ n < m, coeff n φ = coeff n ψ.PowerSeries.coe_trunc_eq_self_of_coeff_eq_zero: a series vanishing from degreemon is itsm-truncation.PowerSeries.trunc_inv_aux_eq_of_trunc_eq,PowerSeries.trunc_invOfUnit_eq_of_trunc_eq,PowerSeries.trunc_inv_eq_of_trunc_eq,PowerSeries.trunc_val_inv_eq_of_trunc_eq: them-th truncation of an inverse power series depends only ontrunc m.PowerSeries.trunc_val_zpow_eq_of_trunc_eqandPowerSeries.trunc_val_zpow_mul_derivative_eq_of_trunc_eq: the finite jets ofu ^ kand(u ^ k) * d⁄dX ufor a unitu : R⟦X⟧ˣdepend only ontrunc m uandtrunc (m + 1) u.PowerSeries.coeff_sum_C_mul_X_pow: the coefficients of∑ i : Fin m, C (a i) * X ^ i.PowerSeries.coeff_coe_mul_eq_sum:coeff n (p * g) = ∑_{i < N} pᵢ coeff n (Xⁱ g)for a polynomialpof degree less thanN.PowerSeries.aeval_trunc_eq_aeval_of_pow_eq_zero: at an element with a vanishingnth power, the truncation belownevaluates like any polynomial with the same coefficients belown.
theorem
PowerSeries.coeff_coe_mul_eq_sum
{R : Type u_1}
[Semiring R]
(p : Polynomial R)
(g : PowerSeries R)
{N : ℕ}
(hN : p.natDegree < N)
(n : ℕ)
:
The coefficients of the product of a polynomial p and a power series g, expanded along the
monomials of p below any bound N on its degree.
theorem
PowerSeries.trunc_inv_aux_eq_of_trunc_eq
{R : Type u_1}
[Ring R]
{m : ℕ}
(a : R)
{φ ψ : PowerSeries R}
(h : (trunc m) φ = (trunc m) ψ)
:
The m-truncation of PowerSeries.inv.aux a φ depends only on trunc m φ.
theorem
PowerSeries.aeval_trunc_eq_aeval_of_pow_eq_zero
{R : Type u_1}
[CommRing R]
{A : Type u_2}
[Ring A]
[Algebra R A]
{x : A}
{n : ℕ}
(hx : x ^ n = 0)
{f : PowerSeries R}
{p : Polynomial R}
(h : ∀ d < n, (coeff d) f = p.coeff d)
:
Evaluation at an element x of a possibly noncommutative R-algebra with x ^ n = 0 sees a
power series only through its coefficients below n: any polynomial with the same coefficients
below n has the same value as the truncation.