The algebra action, the product rule, and residues of φⁿ dφ for Laurent series #
For an R-algebra A, the R-algebra structure on A⸨X⸩ is the one inherited from A⟦X⟧
through HahnSeries.ofPowerSeries, so its scalar action is multiplication by the image of a
constant power series. This is propositionally, but not definitionally, equal to the coefficientwise
action HahnSeries.instSMul found by default.
The scalar tower S → A⟦X⟧ → A⸨X⸩ for any commutative semiring S over which A⟦X⟧ is an
algebra (in particular S = R and S = A[X]) is imported from
TauCeti.RingTheory.HahnSeries.PowerSeries; the tower over R is what
fraction-field constructions such as IsFractionRing.algEquivOfAlgEquiv require to extend an
R-algebra equivalence with A⟦X⟧ to one with A⸨X⸩. This file shows that the algebra action
of R on A⸨X⸩ agrees with the coefficientwise action, and records that, over a field K, a
nonzero Laurent series f ∈ K⸨X⸩ has valuation exp (-ord f), since its power series part is a
unit of K⟦X⟧. Consequently a field embedding K → L, applied to every coefficient, preserves
valuations.
The second part proves the product rule for the derivative of Laurent series,
(f * g)' = f' * g + f * g'. Mathlib defines LaurentSeries.derivative only as a linear map,
the first Hasse derivative; the product rule is what makes it a derivation, so that composing it
with a ring homomorphism into R⸨X⸩ gives a derivation, as for Laurent expansions of functions.
It is reduced to the product rule for power series by writing a Laurent series as a monomial
times a power series.
The third part computes the residue of the formal one-form φ ^ n * φ' dX
for any power series φ over a field and every integer n:
it is (φ.order.toNat : k) for n = -1 and 0 otherwise. For n ≠ -1 in characteristic zero,
φ ^ n * φ' is the derivative of φ ^ (n + 1) / (n + 1); in characteristic p this fails when
p ∣ n + 1, and the proof uses
PowerSeries.nsmul_coeff_mul_succ_pow_succ_eq_coeff_X_mul_pow_mul_derivative instead. By linearity
this extends to every Laurent series: a substitution X ↦ φ multiplies the residue of f(X) dX
by φ.order.toNat, and in particular preserves the residue when φ.order = 1. Writing a nonzero
Laurent series as X ^ (ord f) times a unit power series shows that the residue of the logarithmic
derivative f' / f is the order of f.
Main results #
TauCeti.LaurentSeries.coeff_algebraMap_mul: multiplication by a constant of the algebra structure acts coefficientwise.TauCeti.LaurentSeries.mem_range_ofPowerSeries_iff: the Laurent series coming from power series are those with no negative exponents.TauCeti.laurentSeries_algebraMap_mul_eq_smul: the algebra action agrees with the coefficientwise scalar action, andTauCeti.laurentSeries_isScalarTower_algebratransfers scalar towers from the coefficientwise action to the algebra action.TauCeti.LaurentSeries.valuation_eq_exp_neg_order: a nonzero Laurent seriesfhas valuationexp (-ord f);TauCeti.LaurentSeries.valuation_coegives the same for a nonzero power series.TauCeti.LaurentSeries.valuation_mapRingHom: applying a field embedding to the coefficients preserves the valuation.PowerSeries.order_coe,PowerSeries.orderTop_coeandPowerSeries.orderTop_coe_of_ne_zero: the order of a power series inR⸨X⸩agrees with its power series order.LaurentSeries.derivative_mul: the product rule for the derivative of Laurent series.PowerSeries.coe_derivativeandPowerSeries.coe_hasseDeriv: the derivative and the Hasse derivatives of Laurent series extend those of power series.LaurentSeries.valuation_derivative_sub_zsmul_single_mul_le: iffvanishes to order at leastm, so doesf' - m X⁻¹ f.LaurentSeries.valuation_le_one_iff: a Laurent series is integral exactly when it has no negative exponents.PowerSeries.coeff_neg_one_coe_zpow_mul_derivative_eq_iteandPowerSeries.coeff_neg_one_coe_zpow_mul_derivative: the residue ofφ ^ n * φ'for a power seriesφisφ.order.toNatifn = -1and0otherwise (in particular1vs0whenφ.order = 1).LaurentSeries.coeff_neg_one_map_mul_derivative_eq_nsmulandLaurentSeries.coeff_neg_one_map_mul_derivative: for a substitutionX ↦ φ, the residue off(φ) φ'isφ.order.toNat • f.coeff (-1)(andf.coeff (-1)whenφ.order = 1).LaurentSeries.coeff_neg_one_derivative_mul_inv: the residue off' / fis the order off.
References #
- H. Stichtenoth, Algebraic Function Fields and Codes, 2nd ed., GTM 254, Springer, 2009, Section IV.2, Proposition 4.2.9.
The WithTop ℤ-valued order of a nonzero power series coerced to R⸨X⸩ is
(f.order.toNat : ℤ).
The WithTop ℤ-valued order of a power series coerced to R⸨X⸩ is its order, read in
WithTop ℤ; both are ⊤ exactly for the zero series.
The integer order of a power series coerced to R⸨X⸩ is (f.order.toNat : ℤ).
Multiplying a Laurent series by a constant of the R-algebra structure on R⸨X⸩ multiplies
each coefficient by that constant.
A Laurent series is the image of a power series exactly when its coefficients at negative exponents vanish.
A unit of K⟦X⟧, that is a power series of nonzero constant coefficient, has valuation one
in K⸨X⸩.
The power series part of a nonzero Laurent series over a division ring is a unit: its constant coefficient is the leading coefficient.
A nonzero Laurent series f has valuation exp (-ord f).
A nonzero power series g has valuation exp (-ord g) in K⸨X⸩.
Applying a field embedding σ : K →+* L to the coefficients preserves the valuation.
Multiplication by a constant of the Laurent-series algebra structure agrees with the
coefficientwise scalar action, for Laurent series with coefficients in any R-algebra.
A scalar tower R → R⸨X⸩ → M for the coefficientwise action of R on R⸨X⸩, which is the
one found by instance search, is also a scalar tower for the algebra action, since the two actions
agree. Derivations out of R⸨X⸩ and Kähler differentials of R⸨X⸩ use the algebra action.
The Hasse derivatives of Laurent series extend the Hasse derivatives of power series.
The derivative of Laurent series extends the derivative of power series.
The product rule for a monomial over any ring:
(c X ^ m * f)' = m c X ^ (m - 1) * f + c X ^ m * f'.
The derivative of f agrees with m X⁻¹ f up to a correction whose coefficient of Xⁿ is
(n + 1 - m) times the coefficient of Xⁿ⁺¹ in f.
The product rule for a monomial times a power series:
(c X ^ m * φ)' = m c X ^ (m - 1) * φ + c X ^ m * φ'.
The product rule for the derivative of Laurent series: (f * g)' = f' * g + f * g'.
Differentiation lowers the order by at most one, with leading term m X⁻¹ f. If f has
valuation at most exp (-m), that is, vanishes to order at least m, then f' - m X⁻¹ f again
vanishes to order at least m.
A Laurent series lies in the valuation ring exactly when it has no negative exponents.
The residue of φ ^ n dφ for a power series φ of arbitrary order. Over a field k, for
any power series φ : k⟦X⟧ and integer n : ℤ, the coefficient of X⁻¹ in φ ^ n * φ' is
(φ.order.toNat : k) if n = -1 and 0 otherwise.
The residue of φ ^ n dφ. For a power series φ of order one over a field, the
coefficient of X⁻¹ in the Laurent series φ ^ n * φ' is 1 if n = -1 and 0 otherwise.
Equivalently, the residue of X ^ n dX is unchanged by the substitution X ↦ φ.
The residue of a logarithmic derivative is the order. Over a field, the coefficient of
X⁻¹ in f' / f is the order of f.
The residue under a general-order substitution. Let ψ be a ring endomorphism of K⸨X⸩
fixing the constants, sending power series to power series, and sending X to a power series φ,
such as the substitution X ↦ φ. Then the coefficient of X⁻¹ in ψ f * φ' is φ.order.toNat
times the coefficient of X⁻¹ in f.
Residues are invariant under a coordinate-change substitution (ord φ = 1). Let ψ be a
ring endomorphism of K⸨X⸩ fixing the constants, sending power series to power series, and sending
X to a power series φ of order one, such as the substitution X ↦ φ. Then the coefficient of
X⁻¹ in ψ f * φ' is the coefficient of X⁻¹ in f: the residue of f(X) dX equals that of
f(φ) dφ.