Formal (multivariate) power series - Truncation #
MvPowerSeries.trunc n φtruncates a formal multivariate power series to the multivariate polynomial that has the same coefficients asφ, for allm < n, and0otherwise.Note that here,
mandnhave typesσ →₀ ℕ, so thatm < nmeans thatm ≠ nandm s ≤ n sfor alls : σ.MvPowerSeries.trunc_one: truncation of the unit power seriesMvPowerSeries.trunc_C: truncation of a constantMvPowerSeries.trunc_C_mul: truncation of constant multiple.MvPowerSeries.trunc' n φtruncates a formal multivariate power series to the multivariate polynomial that has the same coefficients asφ, for allm ≤ n, and0otherwise.Here,
mandnhave typesσ →₀ ℕso thatm ≤ nmeans thatm s ≤ n sfor alls : σ.MvPowerSeries.coeff_mul_eq_coeff_trunc'_mul_trunc': compares the coefficients of a product with those of the product of truncations.MvPowerSeries.trunc'_one: truncation of a the unit power series.MvPowerSeries.trunc'_C: truncation of a constant.MvPowerSeries.trunc'_C_mul: truncation of a constant multiple.MvPowerSeries.trunc'_map: image of a truncation under a change of rings
TODO #
- Unify both versions using a general purpose API
Auxiliary definition for the truncation function.
Equations
- MvPowerSeries.truncFun n φ = ∑ m ∈ Finset.Iio n, (MvPolynomial.monomial m) ((MvPowerSeries.coeff R m) φ)
Instances For
The nth truncation of a multivariate formal power series to a multivariate polynomial
If f : MvPowerSeries σ R and n : σ →₀ ℕ is a (finitely-supported) function from σ
to the naturals, then trunc' R n f is the multivariable power series obtained from f
by keeping only the monomials $c\prod_i X_i^{a_i}$ where a i ≤ n i for all i
and $a i < n ifor somei`.
Equations
- MvPowerSeries.trunc R n = { toFun := MvPowerSeries.truncFun n, map_zero' := ⋯, map_add' := ⋯ }
Instances For
Auxiliary definition for the truncation function.
Equations
- MvPowerSeries.truncFun' n φ = ∑ m ∈ Finset.Iic n, (MvPolynomial.monomial m) ((MvPowerSeries.coeff R m) φ)
Instances For
Coefficients of the truncated function.
The nth truncation of a multivariate formal power series to a multivariate polynomial.
If f : MvPowerSeries σ R and n : σ →₀ ℕ is a (finitely-supported) function from σ
to the naturals, then trunc' R n f is the multivariable power series obtained from f
by keeping only the monomials $c\prod_i X_i^{a_i}$ where a i ≤ n i for all i.
Equations
- MvPowerSeries.trunc' R n = { toFun := MvPowerSeries.truncFun' n, map_zero' := ⋯, map_add' := ⋯ }
Instances For
Coefficients of the truncation of a multivariate power series.
Truncation of the multivariate power series 1
Coefficients of the truncation of a product of two multivariate power series