Products of the series 1 - X ^ d #
For a finite family of positive integers d i, the product ∏ i, (1 - X ^ d i) is invertible in
R⟦X⟧, and its inverse ∏ i, (1 - X ^ d i)⁻¹ counts the solutions of ∑ i, e i * d i = n in
natural numbers: its n-th coefficient is the number of e : ι →₀ ℕ of weight n for the
weights d (Finsupp.weight d e = n). This is the Hilbert series of a polynomial algebra whose
generators have the degrees d i.
Conversely, the product ∏ i, (1 - X ^ d i) determines the multiset of the positive integers
d i, over any coefficient ring of characteristic zero. If every exponent is at least n > 0, the
coefficient of X ^ n in the product is minus the number of exponents equal to n; applied to
the least exponent occurring in either of two equal products, this lets one cancel a common
factor and induct. So the counting functions n ↦ #{e | Finsupp.weight d e = n} determine the
multiset of the weights d i.
Main results #
PowerSeries.coeff_prod_expand_mk_one: then-th coefficient of∏ c ∈ s, (1 - X ^ m c)⁻¹, written as the product of the expanded geometric series, is the size of the weighted antidiagonal.PowerSeries.mk_natCard_weight_mul_prod_one_sub_X_pow: the series counting thee : ι →₀ ℕof each weight for positive weightsdis the inverse of∏ i, (1 - X ^ d i).Multiset.eq_of_prod_map_one_sub_X_pow_eq: the product∏ d ∈ s, (1 - X ^ d)over a multisetsof positive integers determiness, in characteristic zero.Multiset.map_univ_eq_of_natCard_weight_eq: the counting functions of the weights determine the multiset of the weights.
The n-th coefficient of the product of the expanded geometric series ∑ X ^ (m c * k),
that is of ∏ c ∈ s, (1 - X ^ m c)⁻¹, is the number of l supported in s with
∑ c ∈ s, m c * l c = n.
Counting solutions of ∑ i, e i * d i = n. For positive weights d i, the series whose
n-th coefficient is the number of e : ι →₀ ℕ of weight n is the inverse of
∏ i, (1 - X ^ d i).
The exponents of ∏ (1 - X ^ d). Over a coefficient ring of characteristic zero, the
product ∏ d ∈ s, (1 - X ^ d) determines the multiset s of positive integers.
Weights from their counting functions. If two finite families of positive weights have
the same number of e of each weight n, then they have the same multiset of weights.