The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.PowerSeries.Order
59 declarations and 1 deprecated aliases. Mathlib docs · Source
Formal power series (in one variable) - Order
The PowerSeries.order of a formal power series φ is the multiplicity of the variable X in φ.
If the coefficients form an integral domain, then PowerSeries.order is an
additive valuation (PowerSeries.order_mul, PowerSeries.min_order_le_order_add).
We prove that if the commutative ring R of coefficients is an integral domain,
then the ring R⟦X⟧ of formal power series in one variable over R
is an integral domain.
Given a non-zero power series f, divided_by_X_pow_order f is the power series obtained by
dividing out the largest power of X that divides f, that is its order. This is useful when
proving that R⟦X⟧ is a normalization monoid, which is done in PowerSeries.Inverse.
theorem PowerSeries.exists_coeff_ne_zero_iff_ne_zero E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, (∃ n, (PowerSeries.coeff n) φ ≠ 0) ↔ φ ≠ 0
def PowerSeries.order E1 #
{R : Type u_1} → [Semiring R] → PowerSeries R → ℕ∞
The order of a formal power series φ is the greatest n : ℕ∞
such that X^n divides φ. The order is ⊤ if and only if φ = 0.
theorem PowerSeries.order_zero E0 #
∀ {R : Type u_1} [inst : Semiring R], PowerSeries.order 0 = ⊤
The order of the 0 power series is infinite.
theorem PowerSeries.order_finite_iff_ne_zero E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, φ.order < ⊤ ↔ φ ≠ 0
theorem PowerSeries.order_eq_top E0 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, φ.order = ⊤ ↔ φ = 0
The 0 power series is the unique power series with infinite order.
theorem PowerSeries.coe_toNat_order E0 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, φ ≠ 0 → ↑φ.order.toNat = φ.order
theorem PowerSeries.coeff_order E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, φ ≠ 0 → (PowerSeries.coeff φ.order.toNat) φ ≠ 0
If the order of a formal power series is finite, then the coefficient indexed by the order is nonzero.
theorem PowerSeries.order_le E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} (n : ℕ), (PowerSeries.coeff n) φ ≠ 0 → φ.order ≤ ↑n
If the nth coefficient of a formal power series is nonzero,
then the order of the power series is less than or equal to n.
theorem PowerSeries.coeff_of_lt_order E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} (n : ℕ), ↑n < φ.order → (PowerSeries.coeff n) φ = 0
The nth coefficient of a formal power series is 0 if n is strictly
smaller than the order of the power series.
theorem PowerSeries.coeff_of_lt_order_toNat E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, ∀ n < φ.order.toNat, (PowerSeries.coeff n) φ = 0
theorem PowerSeries.nat_le_order E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ : PowerSeries R) (n : ℕ), (∀ i < n, (PowerSeries.coeff i) φ = 0) → ↑n ≤ φ.order
The order of a formal power series is at least n if
the ith coefficient is 0 for all i < n.
theorem PowerSeries.nat_le_order_iff E0 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} {n : ℕ}, ↑n ≤ φ.order ↔ ∀ i < n, (PowerSeries.coeff i) φ = 0
The order of a formal power series is at least n if and only if its coefficients below n
vanish.
theorem PowerSeries.le_order E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ : PowerSeries R) (n : ℕ∞),
(∀ (i : ℕ), ↑i < n → (PowerSeries.coeff i) φ = 0) → n ≤ φ.order
The order of a formal power series is at least n if
the ith coefficient is 0 for all i < n.
theorem PowerSeries.le_order_iff E0 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} {n : ℕ∞},
n ≤ φ.order ↔ ∀ (i : ℕ), ↑i < n → (PowerSeries.coeff i) φ = 0
The order of a formal power series is at least n if and only if its coefficients below n
vanish.
theorem PowerSeries.order_eq_nat E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} {n : ℕ},
φ.order = ↑n ↔ (PowerSeries.coeff n) φ ≠ 0 ∧ ∀ i < n, (PowerSeries.coeff i) φ = 0
The order of a formal power series is exactly n if the nth coefficient is nonzero,
and the ith coefficient is 0 for all i < n.
theorem PowerSeries.order_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} {n : ℕ∞},
φ.order = n ↔ (∀ (i : ℕ), ↑i = n → (PowerSeries.coeff i) φ ≠ 0) ∧ ∀ (i : ℕ), ↑i < n → (PowerSeries.coeff i) φ = 0
The order of a formal power series is exactly n if the nth coefficient is nonzero,
and the ith coefficient is 0 for all i < n.
theorem PowerSeries.order_eq_order E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, φ.order = MvPowerSeries.order φ
theorem PowerSeries.min_order_le_order_add E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ ψ : PowerSeries R), min φ.order ψ.order ≤ (φ + ψ).order
The order of the sum of two formal power series is at least the minimum of their orders.
theorem PowerSeries.order_add_of_order_ne E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ ψ : PowerSeries R), φ.order ≠ ψ.order → (φ + ψ).order = min φ.order ψ.order
The order of the sum of two formal power series is the minimum of their orders if their orders differ.
theorem PowerSeries.le_order_map E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} {S : Type u_2} [inst_1 : Semiring S] (f : R →+* S),
φ.order ≤ ((PowerSeries.map f) φ).order
theorem PowerSeries.le_order_smul E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} {a : R}, φ.order ≤ (a • φ).order
theorem PowerSeries.le_order_mul E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ ψ : PowerSeries R), φ.order + ψ.order ≤ (φ * ψ).order
The order of the product of two formal power series is at least the sum of their orders.
theorem PowerSeries.le_order_pow E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ : PowerSeries R) (n : ℕ), n • φ.order ≤ (φ ^ n).order
theorem PowerSeries.le_order_prod E1 #
∀ {R : Type u_2} [inst : CommSemiring R] {ι : Type u_3} (φ : ι → PowerSeries R) (s : Finset ι),
∑ i ∈ s, (φ i).order ≤ (∏ i ∈ s, φ i).order
theorem PowerSeries.order_mul_ge E1 #
∀ {R : Type u_1} [inst : Semiring R] (φ ψ : PowerSeries R), φ.order + ψ.order ≤ (φ * ψ).order
Alias of PowerSeries.le_order_mul.
The order of the product of two formal power series is at least the sum of their orders.
theorem PowerSeries.one_le_order_iff_constCoeff_eq_zero E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, 1 ≤ φ.order ↔ PowerSeries.constantCoeff φ = 0
theorem PowerSeries.order_ne_zero_iff_constCoeff_eq_zero E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, φ.order ≠ 0 ↔ PowerSeries.constantCoeff φ = 0
theorem PowerSeries.le_order_pow_of_constantCoeff_eq_zero E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R} (n : ℕ), PowerSeries.constantCoeff φ = 0 → ↑n ≤ (φ ^ n).order
theorem PowerSeries.order_monomial E1 #
∀ {R : Type u_1} [inst : Semiring R] (n : ℕ) (a : R) [inst_1 : Decidable (a = 0)],
((PowerSeries.monomial n) a).order = if a = 0 then ⊤ else ↑n
The order of the monomial a*X^n is infinite if a = 0 and n otherwise.
theorem PowerSeries.order_monomial_of_ne_zero E1 #
∀ {R : Type u_1} [inst : Semiring R] (n : ℕ) (a : R), a ≠ 0 → ((PowerSeries.monomial n) a).order = ↑n
The order of the monomial a*X^n is n if a ≠ 0.
theorem PowerSeries.coeff_mul_of_lt_order E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ ψ : PowerSeries R} {n : ℕ}, ↑n < ψ.order → (PowerSeries.coeff n) (φ * ψ) = 0
If n is strictly smaller than the order of ψ, then the nth coefficient of its product
with any other power series is 0.
theorem PowerSeries.coeff_mul_one_sub_of_lt_order E1 #
∀ {R : Type u_2} [inst : Ring R] {φ ψ : PowerSeries R} (n : ℕ),
↑n < ψ.order → (PowerSeries.coeff n) (φ * (1 - ψ)) = (PowerSeries.coeff n) φ
theorem PowerSeries.coeff_mul_prod_one_sub_of_lt_order E1 #
∀ {R : Type u_2} {ι : Type u_3} [inst : CommRing R] (k : ℕ) (s : Finset ι) (φ : PowerSeries R) (f : ι → PowerSeries R),
(∀ i ∈ s, ↑k < (f i).order) → (PowerSeries.coeff k) (φ * ∏ i ∈ s, (1 - f i)) = (PowerSeries.coeff k) φ
theorem PowerSeries.order_neg E0 #
∀ {R : Type u_2} [inst : Ring R] (φ : PowerSeries R), (-φ).order = φ.order
def PowerSeries.divXPowOrder E1 #
{R : Type u_1} → [Semiring R] → PowerSeries R → PowerSeries R
Given a non-zero power series f, divXPowOrder f is the power series obtained by
dividing out the largest power of X that divides f, that is its order
theorem PowerSeries.coeff_divXPowOrder E0 #
∀ {R : Type u_1} [inst : Semiring R] {f : PowerSeries R} {n : ℕ},
(PowerSeries.coeff n) f.divXPowOrder = (PowerSeries.coeff (n + f.order.toNat)) f
theorem PowerSeries.divXPowOrder_zero E0 #
∀ {R : Type u_1} [inst : Semiring R], PowerSeries.divXPowOrder 0 = 0
theorem PowerSeries.constantCoeff_divXPowOrder E1 #
∀ {R : Type u_1} [inst : Semiring R] {f : PowerSeries R},
PowerSeries.constantCoeff f.divXPowOrder = (PowerSeries.coeff f.order.toNat) f
theorem PowerSeries.constantCoeff_divXPowOrder_eq_zero_iff E0 #
∀ {R : Type u_1} [inst : Semiring R] {f : PowerSeries R}, PowerSeries.constantCoeff f.divXPowOrder = 0 ↔ f = 0
theorem PowerSeries.X_pow_order_mul_divXPowOrder E1 #
∀ {R : Type u_1} [inst : Semiring R] {f : PowerSeries R}, PowerSeries.X ^ f.order.toNat * f.divXPowOrder = f
theorem PowerSeries.X_pow_order_dvd E1 #
∀ {R : Type u_1} [inst : Semiring R] {φ : PowerSeries R}, PowerSeries.X ^ φ.order.toNat ∣ φ
theorem PowerSeries.order_eq_emultiplicity_X E1 #
∀ {R : Type u_2} [inst : Semiring R] (φ : PowerSeries R), φ.order = emultiplicity PowerSeries.X φ
theorem PowerSeries.order_one E0 #
∀ {R : Type u_1} [inst : Semiring R] [Nontrivial R], PowerSeries.order 1 = 0
The order of the formal power series 1 is 0.
theorem PowerSeries.order_zero_of_isUnit E1 #
∀ {R : Type u_1} [inst : Semiring R] [Nontrivial R] {f : PowerSeries R}, IsUnit f → f.order = 0
The order of an invertible power series is 0.
theorem PowerSeries.order_X E0 #
∀ {R : Type u_1} [inst : Semiring R] [Nontrivial R], PowerSeries.X.order = 1
The order of the formal power series X is 1.
theorem PowerSeries.order_X_pow E0 #
∀ {R : Type u_1} [inst : Semiring R] [Nontrivial R] (n : ℕ), (PowerSeries.X ^ n).order = ↑n
The order of the formal power series X^n is n.
theorem PowerSeries.divXPowOrder_X E0 #
∀ {R : Type u_1} [inst : Semiring R] [Nontrivial R], PowerSeries.X.divXPowOrder = 1
Dividing X by the maximal power of X dividing it leaves 1.
theorem PowerSeries.divXPowOrder_one E1 #
∀ {R : Type u_1} [inst : Semiring R] [Nontrivial R], PowerSeries.divXPowOrder 1 = 1
theorem PowerSeries.order_mul E1 #
∀ {R : Type u_1} [inst : Semiring R] [NoZeroDivisors R] (φ ψ : PowerSeries R), (φ * ψ).order = φ.order + ψ.order
The order of the product of two formal power series over an integral domain is the sum of their orders.
theorem PowerSeries.divXPowOrder_mul E1 #
∀ {R : Type u_1} [inst : Semiring R] [NoZeroDivisors R] {f g : PowerSeries R},
(f * g).divXPowOrder = f.divXPowOrder * g.divXPowOrder
The operation of dividing a power series by the largest possible power of X
preserves multiplication.
def PowerSeries.orderHom E1 #
{R : Type u_1} → [inst : Semiring R] → [NoZeroDivisors R] → [Nontrivial R] → PowerSeries R →* Multiplicative ℕ∞
PowerSeries.order as a MonoidHom.
theorem PowerSeries.coe_orderHom E0 #
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : NoZeroDivisors R] [inst_2 : Nontrivial R],
⇑PowerSeries.orderHom = PowerSeries.order
theorem PowerSeries.order_pow E1 #
∀ {R : Type u_1} [inst : Semiring R] [NoZeroDivisors R] [Nontrivial R] (φ : PowerSeries R) (n : ℕ),
(φ ^ n).order = n • φ.order
theorem PowerSeries.order_prod E1 #
∀ {R : Type u_2} [inst : CommSemiring R] [NoZeroDivisors R] [Nontrivial R] {ι : Type u_3} (φ : ι → PowerSeries R)
(s : Finset ι), (∏ i ∈ s, φ i).order = ∑ i ∈ s, (φ i).order
def PowerSeries.divXPowOrderHom E1 #
{R : Type u_1} → [inst : Semiring R] → [NoZeroDivisors R] → [Nontrivial R] → PowerSeries R →* PowerSeries R
PowerSeries.divXPowOrder as a MonoidHom.
theorem PowerSeries.coe_divXPowOrderHom E0 #
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : NoZeroDivisors R] [inst_2 : Nontrivial R],
⇑PowerSeries.divXPowOrderHom = PowerSeries.divXPowOrder
theorem PowerSeries.divXPowOrder_pow E1 #
∀ {R : Type u_1} [inst : Semiring R] [NoZeroDivisors R] [Nontrivial R] (φ : PowerSeries R) (n : ℕ),
(φ ^ n).divXPowOrder = φ.divXPowOrder ^ n
theorem PowerSeries.divXPowOrder_prod E1 #
∀ {R : Type u_2} [inst : CommSemiring R] [NoZeroDivisors R] [Nontrivial R] {ι : Type u_3} (φ : ι → PowerSeries R)
(s : Finset ι), (∏ i ∈ s, φ i).divXPowOrder = ∏ i ∈ s, (φ i).divXPowOrder
theorem PowerSeries.order_toSubring E0 #
∀ {R : Type u_1} [inst : Ring R] (p : PowerSeries R) (T : Subring R) (hp : ∀ (n : ℕ), (PowerSeries.coeff n) p ∈ T),
(p.toSubring T hp).order = p.order
Deprecated aliases
| Name | New name | Since |
|---|---|---|
PowerSeries.order_zero_of_unit | PowerSeries.order_zero_of_isUnit | 2026-08-18 |