Documentation

Mathlib.RingTheory.PowerSeries.Inverse

Formal power series - Inverses #

If the constant coefficient of a formal (univariate) power series is invertible, then this formal power series is invertible. (See the discussion in Mathlib/RingTheory/MvPowerSeries/Inverse.lean for the construction.)

Formal (univariate) power series over a local ring form a local ring.

Formal (univariate) power series over a field form a discrete valuation ring, and a normalization monoid. The definition residueFieldOfPowerSeries provides the isomorphism between the residue field of k⟦X⟧ and k, when k is a field.

def PowerSeries.inv.aux {R : Type u_1} [Ring R] :
RPowerSeries RPowerSeries R

Auxiliary function used for computing inverse of a power series

Equations
    Instances For
      theorem PowerSeries.coeff_inv_aux {R : Type u_1} [Ring R] (n : ) (a : R) (φ : PowerSeries R) :
      (coeff R n) (inv.aux a φ) = if n = 0 then a else -a * xFinset.antidiagonal n, if x.2 < n then (coeff R x.1) φ * (coeff R x.2) (inv.aux a φ) else 0
      def PowerSeries.invOfUnit {R : Type u_1} [Ring R] (φ : PowerSeries R) (u : Rˣ) :

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

      Equations
        Instances For
          theorem PowerSeries.coeff_invOfUnit {R : Type u_1} [Ring R] (n : ) (φ : PowerSeries R) (u : Rˣ) :
          (coeff R n) (φ.invOfUnit u) = if n = 0 then u⁻¹ else -u⁻¹ * xFinset.antidiagonal n, if x.2 < n then (coeff R x.1) φ * (coeff R x.2) (φ.invOfUnit u) else 0
          @[simp]
          theorem PowerSeries.constantCoeff_invOfUnit {R : Type u_1} [Ring R] (φ : PowerSeries R) (u : Rˣ) :
          @[simp]
          theorem PowerSeries.mul_invOfUnit {R : Type u_1} [Ring R] (φ : PowerSeries R) (u : Rˣ) (h : (constantCoeff R) φ = u) :
          φ * φ.invOfUnit u = 1
          @[simp]
          theorem PowerSeries.invOfUnit_mul {R : Type u_1} [Ring R] (φ : PowerSeries R) (u : Rˣ) (h : (constantCoeff R) φ = u) :
          φ.invOfUnit u * φ = 1
          theorem PowerSeries.sub_const_eq_shift_mul_X {R : Type u_1} [Ring R] (φ : PowerSeries R) :
          φ - (C R) ((constantCoeff R) φ) = (mk fun (p : ) => (coeff R (p + 1)) φ) * X

          Two ways of removing the constant coefficient of a power series are the same.

          theorem PowerSeries.sub_const_eq_X_mul_shift {R : Type u_1} [Ring R] (φ : PowerSeries R) :
          φ - (C R) ((constantCoeff R) φ) = X * mk fun (p : ) => (coeff R (p + 1)) φ
          def PowerSeries.inv {k : Type u_2} [Field k] :

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

          Equations
            Instances For
              instance PowerSeries.instInv {k : Type u_2} [Field k] :
              Equations
                theorem PowerSeries.coeff_inv {k : Type u_2} [Field k] (n : ) (φ : PowerSeries k) :
                (coeff k n) φ⁻¹ = if n = 0 then ((constantCoeff k) φ)⁻¹ else -((constantCoeff k) φ)⁻¹ * xFinset.antidiagonal n, if x.2 < n then (coeff k x.1) φ * (coeff k x.2) φ⁻¹ else 0
                @[simp]
                theorem PowerSeries.inv_eq_zero {k : Type u_2} [Field k] {φ : PowerSeries k} :
                φ⁻¹ = 0 (constantCoeff k) φ = 0
                theorem PowerSeries.zero_inv {k : Type u_2} [Field k] :
                0⁻¹ = 0
                @[simp]
                theorem PowerSeries.invOfUnit_eq {k : Type u_2} [Field k] (φ : PowerSeries k) (h : (constantCoeff k) φ 0) :
                @[simp]
                theorem PowerSeries.invOfUnit_eq' {k : Type u_2} [Field k] (φ : PowerSeries k) (u : kˣ) (h : (constantCoeff k) φ = u) :
                @[simp]
                theorem PowerSeries.mul_inv_cancel {k : Type u_2} [Field k] (φ : PowerSeries k) (h : (constantCoeff k) φ 0) :
                φ * φ⁻¹ = 1
                @[simp]
                theorem PowerSeries.inv_mul_cancel {k : Type u_2} [Field k] (φ : PowerSeries k) (h : (constantCoeff k) φ 0) :
                φ⁻¹ * φ = 1
                theorem PowerSeries.eq_mul_inv_iff_mul_eq {k : Type u_2} [Field k] {φ₁ φ₂ φ₃ : PowerSeries k} (h : (constantCoeff k) φ₃ 0) :
                φ₁ = φ₂ * φ₃⁻¹ φ₁ * φ₃ = φ₂
                theorem PowerSeries.eq_inv_iff_mul_eq_one {k : Type u_2} [Field k] {φ ψ : PowerSeries k} (h : (constantCoeff k) ψ 0) :
                φ = ψ⁻¹ φ * ψ = 1
                theorem PowerSeries.inv_eq_iff_mul_eq_one {k : Type u_2} [Field k] {φ ψ : PowerSeries k} (h : (constantCoeff k) ψ 0) :
                ψ⁻¹ = φ φ * ψ = 1
                theorem PowerSeries.mul_inv_rev {k : Type u_2} [Field k] (φ ψ : PowerSeries k) :
                (φ * ψ)⁻¹ = ψ⁻¹ * φ⁻¹
                @[simp]
                theorem PowerSeries.C_inv {k : Type u_2} [Field k] (r : k) :
                ((C k) r)⁻¹ = (C k) r⁻¹
                @[simp]
                theorem PowerSeries.X_inv {k : Type u_2} [Field k] :
                theorem PowerSeries.smul_inv {k : Type u_2} [Field k] (r : k) (φ : PowerSeries k) :
                def PowerSeries.firstUnitCoeff {k : Type u_2} [Field k] {f : PowerSeries k} (hf : f 0) :

                firstUnitCoeff is the non-zero coefficient whose index is f.order, seen as a unit of the field. It is obtained using divided_by_X_pow_order, defined in PowerSeries.Order.

                Equations
                  Instances For

                    Inv_divided_by_X_pow_order is the inverse of the element obtained by diving a non-zero power series by the largest power of X dividing it. Useful to create a term of type Units, done in Unit_divided_by_X_pow_order

                    Equations
                      Instances For

                        Unit_of_divided_by_X_pow_order is the unit power series obtained by dividing a non-zero power series by the largest power of X that divides it.

                        Equations
                          Instances For
                            instance PowerSeries.map.isLocalHom {R : Type u_1} {S : Type u_2} [CommRing R] [CommRing S] (f : R →+* S) [IsLocalHom f] :

                            The maximal ideal of k⟦X⟧ is generated by X.

                            The ring isomorphism between the residue field of the ring of power series valued in a field K and K itself.

                            Equations
                              Instances For