Power series substitution: nilpotent series, orders, algebra maps, and the binomial series #
Mathlib substitutes a power series b with nilpotent constant coefficient into a power series
f through PowerSeries.subst b f, and records the side condition on b as
PowerSeries.HasSubst b.
Over a ring without zero divisors, substituting a series φ of zero constant coefficient
multiplies orders: ord (f (φ)) = ord φ * ord f. Mathlib records only the inequality
PowerSeries.le_order_subst. The equality shows that substitution of a nonzero such φ is
injective, which is what extends it to Laurent series by passing to fraction fields. Injectivity
of polynomial evaluation means such a φ is transcendental; over a field K it follows that the
power series algebraic over K are the constants.
Substitution of series of zero constant coefficient is compatible with congruences modulo
powers of X, in both the substituted series and the series substituted into. This makes
truncation modulo X ^ n compatible with composition of formal coordinates. Substituting a
multivariate series φ of zero constant coefficient into f = c Xⁿ + ⋯ gives
f (φ) = c φ₁ ^ n + ⋯ in lowest degree, where φ₁ is the linear part of φ. In one variable
this reads [Xⁿ] f (a) = c a₁ ^ n, and symmetrically [Xⁿ] f (a) = f₁ c when a = c Xⁿ + ⋯ and
f = f₁ X + ⋯ have no constant terms; together these compare the lowest terms of the two sides of
an equation f ∘ g = h ∘ f. For a family of
series substituted into a multivariate series G, a perturbation X ^ m * r of the entry a s
is invisible below degree m and acts in degree m through the coefficient of Xₛ alone;
this drives degree-by-degree solutions of equations such as G(f(X), X) = 0.
Substitution at a nilpotent series depends on only finitely many coefficients. The substituted series may be multivariate, with coefficients in an algebra over the coefficient ring. At a nilpotent constant it is the constant series obtained by evaluating a finite polynomial truncation. This connects formal identities with polynomial maps on nilpotent elements.
An algebra map on power series whose value at X has nilpotent constant coefficient is the
corresponding substitution, without any continuity hypothesis. Over a field, every algebra
endomorphism of the power series ring has this form. In particular, a perturbation X + h of X
with h ^ 2 = 0 substitutes by the first-order Taylor formula f (X + h) = f + h f', since the
right-hand side is multiplicative in f by the Leibniz rule.
The coefficients of f (X * M) satisfy a shift recurrence: the coefficient of degree n + 1 is
[X^n](M * g (X * M)), the coefficient of degree n of the product of M with g (X * M), where
g = (f - f(0)) / X is the shift of f. This proves functional equations of generating functions
such as M = C (X * M) coefficientwise.
This file also records that the substitution X ↦ (1 + X) ^ u - 1, for a binomial series
(1 + X) ^ u, is legitimate: it is the change of variable relating the power-series coordinates
of a completed group algebra attached to two topological generators.
Main results #
PowerSeries.coeff_subst_eq_sum_range: a finite coefficient formula when the inner series has zero constant coefficient.Continuous.powerSeries_subst: substitution is jointly continuous in coefficientwise continuous families whose inner series have zero constant coefficient.PowerSeries.HasSubst.C: a nilpotent constant can be substituted.PowerSeries.subst_one: substitution preserves the constant series one.PowerSeries.subst_X_add_C_mul_X_pow: substitutingaintoX + e Xᵏgivesa + e aᵏ.PowerSeries.subst_eq_aeval_trunc_of_pow_eq_zero: substitution at a series with a vanishing power is evaluation of a finite truncation.PowerSeries.subst_C_eq_C_aeval_trunc: substitution at a nilpotent constant is the constant series obtained by evaluating a finite truncation.PowerSeries.order_subst:ord (f (φ)) = ord φ * ord fwhenφhas zero constant coefficient.PowerSeries.subst_eq_zero_iff: substitution of a nonzeroφof zero constant coefficient has trivial kernel.PowerSeries.toNat_order_ne_zero: such aφhas positive integer order.PowerSeries.transcendental_of_constantCoeff_eq_zero: such aφis transcendental over the coefficients.PowerSeries.isIntegrallyClosedIn: a fieldKis integrally closed inK⟦X⟧.PowerSeries.coeff_one_subst: linear coefficients multiply under substitution.PowerSeries.coeff_succ_subst_X_mul: the(n + 1)-st coefficient off (X * M)is[X^n](M * g (X * M)), wheregis the shift off.PowerSeries.X_pow_dvd_subst: substitution preserves divisibility byX ^ n.PowerSeries.X_pow_dvd_subst_sub_subst: substitution respects congruence moduloX ^ nof the substituted series.PowerSeries.homogeneousComponent_subst_of_le_order: iffhas order at leastn, the degree-nhomogeneous component off (φ)isc φ₁ ^ n, forcthe coefficient ofXⁿinfandφ₁the linear part ofφ.PowerSeries.coeff_subst_eq_sum_range_degree: the coefficient ofX^dinf (a), foraof zero constant coefficient, is the finite sum∑_{n ≤ |d|} fₙ [X^d] aⁿ.PowerSeries.coeff_subst_mem: iffandahave coefficients in a subring, so doesf (a).PowerSeries.homogeneousComponent_subst_left_eq_C_mul_X_pow,PowerSeries.homogeneousComponent_subst_right_eq_C_mul_X_pow: forφ = X + ⋯, the degree-nparts off (φ)and ofφ (f)arec Xⁿwhenfhas order at leastn(andn ≥ 1forφ (f)), forcthe coefficient ofXⁿinf.PowerSeries.coeff_subst_update_add_X_pow_mul: perturbing one entrya sof a substituted family byX ^ m * rchanges coefficients only from degreemon, and in degreemonly through the linear termXₛof the multivariate series.PowerSeries.exists_subst_add_X_pow_mul: perturbing a zero-constant input byX ^ m * rgives a differenceX ^ m * swiths(0) = f₁ r(0).PowerSeries.algHom_eq_substAlgHom: an algebra mapR⟦X⟧ → S⟦X⟧sendingXto a substitutable series is a substitution.PowerSeries.subst_add_of_sq_eq_zero:f (a + h) = f (a) + h f' (a)whenh ^ 2 = 0, and its special casePowerSeries.subst_X_add_of_sq_eq_zero,f (X + h) = f + h f'.AlgHom.apply_eq_subst: over a field, every algebra endomorphism ofK⟦X⟧is substitution by its value atX.TauCeti.hasSubst_binomialSeries_sub_one:(1 + X) ^ u - 1can be substituted.
When the inner series has zero constant coefficient, the coefficient of degree n of a
substitution depends only on the first n + 1 coefficients of the outer series.
A nilpotent constant can be substituted into a power series.
The (n + 1)-st coefficient of f (X * M) is the n-th coefficient of M * g (X * M),
where g = (f - f(0)) / X is the shift of f.
Substituting a possibly multivariate series over an R-algebra whose nth power vanishes
uses only the coefficients below n.
A nilpotent constant in an R-algebra substitutes by algebra evaluation of a finite
truncation.
A nonzero power series of zero constant coefficient has positive integer order, so it multiplies orders under substitution by a positive integer.
Substituting a power series φ of zero constant coefficient multiplies orders:
ord (f (φ)) = ord φ * ord f.
Substituting a nonzero power series φ of zero constant coefficient sends only 0 to 0.
A nonzero power series φ of zero constant coefficient is transcendental over the
coefficients: evaluating a polynomial at φ is substituting φ into it, which is injective.
The linear coefficient of f (a), for a of zero constant coefficient, is the product of
the linear coefficients of f and a.
The lowest coefficient of a substitution into a series of large order. If f has order
at least n and a has zero constant coefficient, then the coefficient of Xⁿ in f (a) is
c a₁ ^ n, where c is the coefficient of Xⁿ in f and a₁ is the linear coefficient of
a.
The lowest coefficient of a substitution of a series of large order. If f and a have
zero constant coefficient and a has order at least n, then the coefficient of Xⁿ in f (a)
is f₁ c, where f₁ is the linear coefficient of f and c is the coefficient of Xⁿ in
a.
An R-algebra map σ : R⟦X⟧ → S⟦X⟧ such that σ X can be substituted is the
substitution f ↦ f (σ X). No continuity hypothesis is needed.
The first-order Taylor formula: substituting a square-zero perturbation a + h of a
substitutable series a gives f (a + h) = f (a) + h f' (a).
The first-order Taylor formula at X: substituting a square-zero perturbation X + h of
X gives f (X + h) = f + h f'.
Substituting a series of zero constant coefficient preserves divisibility by X ^ n.
Substitution respects congruence modulo X ^ n of the substituted series: if a ≡ b modulo
X ^ n, then f (a) ≡ f (b) modulo X ^ n. For n ≠ 0 the congruence forces b to have
zero constant coefficient as well, so only a needs it.
The lowest homogeneous component of a substitution. If φ is a multivariate power
series of zero constant coefficient and f has order at least n, then the degree-n homogeneous
component of f (φ) is c φ₁ ^ n, where c is the coefficient of Xⁿ in f and φ₁ is the
linear part of φ.
The coefficient of X^d in f (a), for a of zero constant coefficient, is the finite sum
∑_{n ≤ |d|} fₙ [X^d] aⁿ: the powers aⁿ with n > |d| have order greater than |d|. This is the
finite form of Mathlib's PowerSeries.coeff_subst.
If f and the substitutable series a have coefficients in a subring A, then so does
f (a): it is the image of the substitution computed over A.
The degree-n part of f (φ) is a Xⁿ when f has order at least n and coefficient a
of Xⁿ, and φ = X + ⋯.
The degree-n part of φ (f) is a Xⁿ when f has order at least n ≥ 1 and coefficient
a of Xⁿ, and φ = c + X + ⋯: the constant term c only contributes in degree 0, and the
terms of φ of degree at least two contribute in degree at least 2 n.
Two series of zero constant coefficient can be substituted as a pair.
Perturbing the entry a s of a substituted family a by X ^ m * r leaves the
coefficients of degree below m unchanged, and changes the coefficient of degree m by
r(0) times the coefficient of Xₛ in G. This is the one-variable case of
MvPowerSeries.le_order_subst_update_add_sub.
Perturbing an input of zero constant coefficient by X ^ m * r, for m ≠ 0, changes
f by X ^ m * s, where s(0) is the linear coefficient of f times r(0).
Substitution is jointly continuous for coefficientwise continuous families, provided the inner series always has zero constant coefficient. No discrete coefficient topology is needed.
Over a field K, every K-algebra endomorphism of K⟦X⟧ sends X to a series of zero
constant coefficient.
Over a field K, every K-algebra endomorphism σ of K⟦X⟧ is the substitution
f ↦ f (σ X).
A field K is integrally closed in K⟦X⟧: the power series algebraic over K are the
constants. A series f algebraic over K gives the algebraic series f - C (constantCoeff f)
of zero constant coefficient, which therefore vanishes.
The binomial series (1 + X) ^ u - 1 has constant coefficient zero, so power series can be
substituted into it.