The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.MvPowerSeries.Inverse

27 declarations. Mathlib docs · Source

Formal (multivariate) power series - Inverses

This file defines multivariate formal power series and develops the basic properties of these objects, when it comes about multiplicative inverses.

For φ : MvPowerSeries σ R and u : Rˣ is the constant coefficient of φ, MvPowerSeries.invOfUnit φ u is a formal power series such, and MvPowerSeries.mul_invOfUnit proves that φ * invOfUnit φ u = 1. The construction of the power series invOfUnit is done by writing that relation and solving and for its coefficients by induction.

Over a field, all power series φ have an “inverse” MvPowerSeries.inv φ, which is 0 if and only if the constant coefficient of φ is zero (by MvPowerSeries.inv_eq_zero), and MvPowerSeries.mul_inv_cancel asserts the equality φ * φ⁻¹ = 1 when the constant coefficient of φ is nonzero.

Instances are defined:

  • Formal power series over a local ring form a local ring.
  • The morphism MvPowerSeries.map σ f : MvPowerSeries σ A →* MvPowerSeries σ B induced by a local morphism f : A →+* B (IsLocalHom f) of commutative rings is a local morphism.

def MvPowerSeries.inv.aux E1 #

{σ : Type u_1} → {R : Type u_2} → [Ring R] → R → MvPowerSeries σ R → MvPowerSeries σ R

Auxiliary definition that unifies the totalised inverse formal power series (_)⁻¹ and the inverse formal power series that depends on an inverse of the constant coefficient invOfUnit.

theorem MvPowerSeries.coeff_inv_aux E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Ring R] [inst_1 : DecidableEq σ] (n : σ →₀ ℕ) (a : R) (φ : MvPowerSeries σ R),
  (MvPowerSeries.coeff n) (MvPowerSeries.inv.aux a φ) =
    if n = 0 then a
    else
      -a *
        ∑ x ∈ Finset.HasAntidiagonal.antidiagonal n,
          if x.2 < n then (MvPowerSeries.coeff x.1) φ * (MvPowerSeries.coeff x.2) (MvPowerSeries.inv.aux a φ) else 0

def MvPowerSeries.invOfUnit E1 #

{σ : Type u_1} → {R : Type u_2} → [inst : Ring R] → MvPowerSeries σ R → Rˣ → MvPowerSeries σ R

A multivariate formal power series is invertible if the constant coefficient is invertible.

theorem MvPowerSeries.coeff_invOfUnit E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Ring R] [inst_1 : DecidableEq σ] (n : σ →₀ ℕ) (φ : MvPowerSeries σ R) (u : Rˣ),
  (MvPowerSeries.coeff n) (φ.invOfUnit u) =
    if n = 0 then ↑u⁻¹
    else
      -↑u⁻¹ *
        ∑ x ∈ Finset.HasAntidiagonal.antidiagonal n,
          if x.2 < n then (MvPowerSeries.coeff x.1) φ * (MvPowerSeries.coeff x.2) (φ.invOfUnit u) else 0

theorem MvPowerSeries.constantCoeff_invOfUnit E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Ring R] (φ : MvPowerSeries σ R) (u : Rˣ),
  MvPowerSeries.constantCoeff (φ.invOfUnit u) = ↑u⁻¹

theorem MvPowerSeries.mul_invOfUnit E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Ring R] (φ : MvPowerSeries σ R) (u : Rˣ),
  MvPowerSeries.constantCoeff φ = ↑u → φ * φ.invOfUnit u = 1

theorem MvPowerSeries.invOfUnit_mul E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Ring R] (φ : MvPowerSeries σ R) (u : Rˣ),
  MvPowerSeries.constantCoeff φ = ↑u → φ.invOfUnit u * φ = 1

theorem MvPowerSeries.isUnit_iff_constantCoeff E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Ring R] {φ : MvPowerSeries σ R},
  IsUnit φ ↔ IsUnit (MvPowerSeries.constantCoeff φ)

instance MvPowerSeries.instIsLocalRing E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : CommRing R] [IsLocalRing R], IsLocalRing (MvPowerSeries σ R)

Multivariate formal power series over a local ring form a local ring.

instance MvPowerSeries.map.isLocalHom E0 #

∀ {σ : Type u_1} {R : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) [IsLocalHom f],
  IsLocalHom (MvPowerSeries.map f)

The map between multivariate formal power series over the same indexing set induced by a local ring hom A → B is local

def MvPowerSeries.inv E1 #

{σ : Type u_1} → {k : Type u_3} → [Field k] → MvPowerSeries σ k → MvPowerSeries σ k

The inverse 1/f of a multivariable power series f over a field

instance MvPowerSeries.instInv E0 #

{σ : Type u_1} → {k : Type u_3} → [Field k] → Inv (MvPowerSeries σ k)

theorem MvPowerSeries.coeff_inv E1 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] [inst_1 : DecidableEq σ] (n : σ →₀ ℕ) (φ : MvPowerSeries σ k),
  (MvPowerSeries.coeff n) φ⁻¹ =
    if n = 0 then (MvPowerSeries.constantCoeff φ)⁻¹
    else
      -(MvPowerSeries.constantCoeff φ)⁻¹ *
        ∑ x ∈ Finset.HasAntidiagonal.antidiagonal n,
          if x.2 < n then (MvPowerSeries.coeff x.1) φ * (MvPowerSeries.coeff x.2) φ⁻¹ else 0

theorem MvPowerSeries.constantCoeff_inv E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ : MvPowerSeries σ k),
  MvPowerSeries.constantCoeff φ⁻¹ = (MvPowerSeries.constantCoeff φ)⁻¹

theorem MvPowerSeries.inv_eq_zero E1 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] {φ : MvPowerSeries σ k}, φ⁻¹ = 0 ↔ MvPowerSeries.constantCoeff φ = 0

theorem MvPowerSeries.zero_inv E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k], 0⁻¹ = 0

theorem MvPowerSeries.invOfUnit_eq E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ : MvPowerSeries σ k) (h : MvPowerSeries.constantCoeff φ ≠ 0),
  φ.invOfUnit (Units.mk0 (MvPowerSeries.constantCoeff φ) h) = φ⁻¹

theorem MvPowerSeries.invOfUnit_eq' E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ : MvPowerSeries σ k) (u : kˣ),
  MvPowerSeries.constantCoeff φ = ↑u → φ.invOfUnit u = φ⁻¹

theorem MvPowerSeries.mul_inv_cancel E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ : MvPowerSeries σ k),
  MvPowerSeries.constantCoeff φ ≠ 0 → φ * φ⁻¹ = 1

theorem MvPowerSeries.inv_mul_cancel E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ : MvPowerSeries σ k),
  MvPowerSeries.constantCoeff φ ≠ 0 → φ⁻¹ * φ = 1

theorem MvPowerSeries.inv_eq_iff_mul_eq_one E1 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] {φ ψ : MvPowerSeries σ k},
  MvPowerSeries.constantCoeff ψ ≠ 0 → (ψ⁻¹ = φ ↔ φ * ψ = 1)

theorem MvPowerSeries.mul_inv_rev E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ ψ : MvPowerSeries σ k), (φ * ψ)⁻¹ = ψ⁻¹ * φ⁻¹

instance MvPowerSeries.instInvOneClass E0 #

{σ : Type u_1} → {k : Type u_3} → [Field k] → InvOneClass (MvPowerSeries σ k)

theorem MvPowerSeries.inv_pow E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (φ : MvPowerSeries σ k) (n : ℕ), φ⁻¹ ^ n = (φ ^ n)⁻¹

theorem MvPowerSeries.C_inv E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (r : k), (MvPowerSeries.C r)⁻¹ = MvPowerSeries.C r⁻¹

theorem MvPowerSeries.X_inv E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (s : σ), (MvPowerSeries.X s)⁻¹ = 0

theorem MvPowerSeries.smul_inv E0 #

∀ {σ : Type u_1} {k : Type u_3} [inst : Field k] (r : k) (φ : MvPowerSeries σ k), (r • φ)⁻¹ = r⁻¹ • φ⁻¹