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.PowerSeries.WeierstrassPreparation

105 declarations. Mathlib docs · Source

Weierstrass preparation theorem for power series over a complete local ring

In this file we define Weierstrass division, Weierstrass factorization, and prove Weierstrass preparation theorem.

We assume that a ring is adic complete with respect to some ideal. If such ideal is a maximal ideal, then by isLocalRing_of_isAdicComplete_maximal, such ring has only one maximal ideal, and hence it is a complete local ring.

Main definitions

  • PowerSeries.IsWeierstrassDivisionAt f g q r I: let f and g be power series over A, I be an ideal of A, this is a Prop which asserts that a power series q and a polynomial r of degree < n satisfy f = g * q + r, where n is the order of the image of g in (A / I)⟦X⟧ (defined to be zero if such image is zero, in which case it's mathematically not considered).

  • PowerSeries.IsWeierstrassDivision: version of PowerSeries.IsWeierstrassDivisionAt for local rings with respect to its maximal ideal.

  • PowerSeries.IsWeierstrassDivisorAt g I: let g be a power series over A, I be an ideal of A, this is a Prop which asserts that the n-th coefficient of g is a unit, where n is the order of the image of g in (A / I)⟦X⟧ (defined to be zero if such image is zero, in which case it's mathematically not considered).

    This property guarantees that if the A is I-adic complete, then g can be used as a divisor in Weierstrass division (PowerSeries.IsWeierstrassDivisorAt.isWeierstrassDivisionAt_div_mod).

  • PowerSeries.IsWeierstrassDivisor: version of PowerSeries.IsWeierstrassDivisorAt for local rings with respect to its maximal ideal.

  • PowerSeries.IsWeierstrassFactorizationAt g f h I: for a power series g over A and an ideal I of A, this is a Prop which asserts that f is a distinguished polynomial at I, h is a formal power series over A that is a unit and such that g = f * h.

  • PowerSeries.IsWeierstrassFactorization: version of PowerSeries.IsWeierstrassFactorizationAt for local rings with respect to its maximal ideal.

Main results

  • PowerSeries.exists_isWeierstrassDivision: Weierstrass division ([washington_cyclotomic], Proposition 7.2): let f, g be power series over a complete local ring, such that the image of g in the residue field is not zero. Let n be the order of the image of g in the residue field. Then there exists a power series q and a polynomial r of degree < n, such that f = g * q + r.

  • PowerSeries.IsWeierstrassDivision.elim, PowerSeries.IsWeierstrassDivision.unique: q and r in the Weierstrass division are unique.

  • PowerSeries.exists_isWeierstrassFactorization: Weierstrass preparation theorem ([washington_cyclotomic], Theorem 7.3): let g be a power series over a complete local ring, such that its image in the residue field is not zero. Then there exists a distinguished polynomial f and a power series h which is a unit, such that g = f * h.

  • PowerSeries.IsWeierstrassFactorization.elim, PowerSeries.IsWeierstrassFactorization.unique: f and h in Weierstrass preparation theorem are unique.

  • Polynomial.IsDistinguishedAt.algEquivQuotient: a distinguished polynomial g induces a natural isomorphism A[X] / (g) ≃ₐ[A] A⟦X⟧ / (g).

  • PowerSeries.IsWeierstrassFactorizationAt.algEquivQuotient: a Weierstrass factorization g = f * h induces a natural isomorphism A[X] / (f) ≃ₐ[A] A⟦X⟧ / (g).

  • PowerSeries.algEquivQuotientWeierstrassDistinguished: if g is a power series over a complete local ring, such that its image in the residue field is not zero, then there is a natural isomorphism A[X] / (f) ≃ₐ[A] A⟦X⟧ / (g) where f is PowerSeries.weierstrassDistinguished g.

References

  • [Washington, Lawrence C. Introduction to cyclotomic fields.][washington_cyclotomic]

Weierstrass division

Weierstrass preparation theorem

theorem PowerSeries.IsWeierstrassDivisorAt.mod'.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I I_1 : Ideal A} (e_I : I = I_1)
  (H : g.IsWeierstrassDivisorAt I) [inst_1 : IsAdicComplete I A], H.mod' = ⋯.mod'

theorem PowerSeries.IsWeierstrassDivisorAt.mod.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] {g g_1 : PowerSeries A} (e_g : g = g_1) {I I_1 : Ideal A} (e_I : I = I_1)
  (H : g.IsWeierstrassDivisorAt I) (f f_1 : PowerSeries A),
  f = f_1 → ∀ [inst_1 : IsPrecomplete I A], H.mod f = ⋯.mod f_1

theorem PowerSeries.IsWeierstrassDivisorAt.seq.match_1.congr_eq_1 E1 #

∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (k : ℕ) → motive k.succ),
  x = 0 →
    (match x with
      | 0 => h_1 ()
      | k.succ => h_2 k) ≍
      h_1 ()

theorem PowerSeries.weierstrassDiv.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f f_1 : PowerSeries A),
  f = f_1 →
    ∀ (g g_1 : PowerSeries A),
      g = g_1 →
        ∀ [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A] (a a_1 : Unit →₀ ℕ),
          a = a_1 → (f /ʷ g) a = (f_1 /ʷ g_1) a_1

theorem Polynomial.IsDistinguishedAt.algEquivQuotient.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : Polynomial A} {I I_1 : Ideal A} (e_I : I = I_1) (H : g.IsDistinguishedAt I)
  [inst_1 : IsAdicComplete I A], H.algEquivQuotient = ⋯.algEquivQuotient

theorem PowerSeries.IsWeierstrassDivisorAt.seq.match_1.congr_eq_2 E1 #

∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (k : ℕ) → motive k.succ) (k : ℕ),
  x = k.succ →
    (match x with
      | 0 => h_1 ()
      | k.succ => h_2 k) ≍
      h_2 k

theorem PowerSeries.weierstrassMod.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f f_1 : PowerSeries A),
  f = f_1 →
    ∀ (g g_1 : PowerSeries A), g = g_1 → ∀ [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A], f %ʷ g = f_1 %ʷ g_1

theorem PowerSeries.IsWeierstrassDivisorAt.div.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] {g g_1 : PowerSeries A} (e_g : g = g_1) {I I_1 : Ideal A} (e_I : I = I_1)
  (H : g.IsWeierstrassDivisorAt I) (f f_1 : PowerSeries A),
  f = f_1 → ∀ [inst_1 : IsPrecomplete I A] (a a_1 : Unit →₀ ℕ), a = a_1 → H.div f a = ⋯.div f_1 a_1

theorem PowerSeries.IsWeierstrassDivisorAt.seq.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] {g g_1 : PowerSeries A} (e_g : g = g_1) {I I_1 : Ideal A} (e_I : I = I_1)
  (H : g.IsWeierstrassDivisorAt I) (f f_1 : PowerSeries A),
  f = f_1 → ∀ (a a_1 : ℕ), a = a_1 → ∀ (a_2 a_3 : Unit →₀ ℕ), a_2 = a_3 → H.seq f a a_2 = ⋯.seq f_1 a_1 a_3

theorem PowerSeries.IsWeierstrassDivision.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] (f f_1 : PowerSeries A),
  f = f_1 →
    ∀ (g g_1 : PowerSeries A),
      g = g_1 →
        ∀ (q q_1 : PowerSeries A),
          q = q_1 →
            ∀ (r r_1 : Polynomial A),
              r = r_1 →
                ∀ [inst_1 : IsLocalRing A], f.IsWeierstrassDivision g q r = f_1.IsWeierstrassDivision g_1 q_1 r_1

theorem PowerSeries.IsWeierstrassDivisorAt.divCoeff.congr_simp E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A) [inst_1 : IsPrecomplete I A] (i : ℕ), H.divCoeff f i = H.divCoeff f i

structure PowerSeries.IsWeierstrassDivisionAt E3 #

{A : Type u_1} → [inst : CommRing A] → PowerSeries A → PowerSeries A → PowerSeries A → Polynomial A → Ideal A → Prop

Let f, g be power series over A, I be an ideal of A, PowerSeries.IsWeierstrassDivisionAt f g q r I is a Prop which asserts that a power series q and a polynomial r of degree < n satisfy f = g * q + r, where n is the order of the image of g in (A / I)⟦X⟧ (defined to be zero if such image is zero, in which case it's mathematically not considered).

theorem PowerSeries.isWeierstrassDivisionAt_iff E0 #

∀ {A : Type u_1} [inst : CommRing A] (f g q : PowerSeries A) (r : Polynomial A) (I : Ideal A),
  f.IsWeierstrassDivisionAt g q r I ↔
    r.degree < ↑((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat ∧ f = g * q + ↑r

ctor PowerSeries.IsWeierstrassDivisionAt.mk E0 #

∀ {A : Type u_1} [inst : CommRing A] {f g q : PowerSeries A} {r : Polynomial A} {I : Ideal A},
  r.degree < ↑((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat →
    f = g * q + ↑r → f.IsWeierstrassDivisionAt g q r I

theorem PowerSeries.IsWeierstrassDivisionAt.degree_lt E1 #

∀ {A : Type u_1} [inst : CommRing A] {f g q : PowerSeries A} {r : Polynomial A} {I : Ideal A},
  f.IsWeierstrassDivisionAt g q r I → r.degree < ↑((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat

abbrev PowerSeries.IsWeierstrassDivision E3 #

{A : Type u_1} →
  [inst : CommRing A] → PowerSeries A → PowerSeries A → PowerSeries A → Polynomial A → [IsLocalRing A] → Prop

Version of PowerSeries.IsWeierstrassDivisionAt for local rings with respect to its maximal ideal.

theorem PowerSeries.isWeierstrassDivisionAt_zero E1 #

∀ {A : Type u_1} [inst : CommRing A] (g : PowerSeries A) (I : Ideal A), PowerSeries.IsWeierstrassDivisionAt 0 g 0 0 I

theorem PowerSeries.IsWeierstrassDivisionAt.coeff_f_sub_r_mem E1 #

∀ {A : Type u_1} [inst : CommRing A] {f g q : PowerSeries A} {r : Polynomial A} {I : Ideal A},
  f.IsWeierstrassDivisionAt g q r I →
    ∀ {i : ℕ}, i < ((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat → (PowerSeries.coeff i) (f - ↑r) ∈ I

theorem PowerSeries.IsWeierstrassDivisionAt.add E1 #

∀ {A : Type u_1} [inst : CommRing A] {f g q : PowerSeries A} {r : Polynomial A} {I : Ideal A} {f' q' : PowerSeries A}
  {r' : Polynomial A},
  f.IsWeierstrassDivisionAt g q r I →
    f'.IsWeierstrassDivisionAt g q' r' I → (f + f').IsWeierstrassDivisionAt g (q + q') (r + r') I

theorem PowerSeries.IsWeierstrassDivisionAt.smul E1 #

∀ {A : Type u_1} [inst : CommRing A] {f g q : PowerSeries A} {r : Polynomial A} {I : Ideal A},
  f.IsWeierstrassDivisionAt g q r I → ∀ (a : A), (a • f).IsWeierstrassDivisionAt g (a • q) (a • r) I

def PowerSeries.IsWeierstrassDivisorAt E3 #

{A : Type u_1} → [inst : CommRing A] → PowerSeries A → Ideal A → Prop

PowerSeries.IsWeierstrassDivisorAt g I is a Prop which asserts that the n-th coefficient of g is a unit, where n is the order of the image of g in (A / I)⟦X⟧ (defined to be zero if such image is zero, in which case it's mathematically not considered).

This property guarantees that if the ring is I-adic complete, then g can be used as a divisor in Weierstrass division (PowerSeries.IsWeierstrassDivisorAt.isWeierstrassDivisionAt_div_mod).

abbrev PowerSeries.IsWeierstrassDivisor E3 #

{A : Type u_1} → [inst : CommRing A] → PowerSeries A → [IsLocalRing A] → Prop

Version of PowerSeries.IsWeierstrassDivisorAt for local rings with respect to its maximal ideal.

theorem PowerSeries.IsWeierstrassDivisor.of_map_ne_zero E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} [inst_1 : IsLocalRing A],
  (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 → g.IsWeierstrassDivisor

If g is a power series over a local ring such that its image in the residue field is not zero, then g can be used as a Weierstrass divisor.

theorem Polynomial.IsDistinguishedAt.isWeierstrassDivisorAt E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : Polynomial A} {I : Ideal A},
  g.IsDistinguishedAt I → I ≠ ⊤ → (↑g).IsWeierstrassDivisorAt I

theorem Polynomial.IsDistinguishedAt.isWeierstrassDivisorAt' E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : Polynomial A} {I : Ideal A},
  g.IsDistinguishedAt I → ∀ [IsHausdorff I A], (↑g).IsWeierstrassDivisorAt I

theorem PowerSeries.IsWeierstrassDivisorAt.isUnit_shift E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassDivisorAt I →
    IsUnit (PowerSeries.mk fun i ↦ (PowerSeries.coeff (i + ((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat)) g)

def PowerSeries.IsWeierstrassDivisorAt.seq E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : PowerSeries A} → {I : Ideal A} → g.IsWeierstrassDivisorAt I → PowerSeries A → ℕ → PowerSeries A

The inductively constructed sequence qₖ in the proof of Weierstrass division.

theorem PowerSeries.IsWeierstrassDivisorAt.coeff_seq_mem E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A) (k : ℕ) {i : ℕ},
  i ≥ ((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat → (PowerSeries.coeff i) (f - g * H.seq f k) ∈ I ^ k

theorem PowerSeries.IsWeierstrassDivisorAt.coeff_seq_succ_sub_seq_mem E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A) (k i : ℕ), (PowerSeries.coeff i) (H.seq f (k + 1) - H.seq f k) ∈ I ^ k

theorem PowerSeries.IsWeierstrassDivisorAt.seq_zero E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A), H.seq f 0 = 0

theorem PowerSeries.IsWeierstrassDivisorAt.seq_one E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A),
  H.seq f 1 =
    (PowerSeries.mk fun i ↦ (PowerSeries.coeff (i + ((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat)) f) *
      ↑⋯.unit⁻¹

def PowerSeries.IsWeierstrassDivisorAt.divCoeff E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : PowerSeries A} →
      {I : Ideal A} →
        (H : g.IsWeierstrassDivisorAt I) →
          (f : PowerSeries A) →
            [IsPrecomplete I A] → (i : ℕ) → { x // ∀ (n : ℕ), (PowerSeries.coeff i) (H.seq f n) ≡ x [SMOD I ^ n • ⊤] }

The (bundled version of) coefficient of the limit q of the inductively constructed sequence qₖ in the proof of Weierstrass division.

def PowerSeries.IsWeierstrassDivisorAt.div E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : PowerSeries A} →
      {I : Ideal A} → g.IsWeierstrassDivisorAt I → PowerSeries A → [IsPrecomplete I A] → PowerSeries A

The limit q of the inductively constructed sequence qₖ in the proof of Weierstrass division.

theorem PowerSeries.IsWeierstrassDivisorAt.coeff_div E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A) [inst_1 : IsPrecomplete I A] (i : ℕ), (PowerSeries.coeff i) (H.div f) = ↑(H.divCoeff f i)

theorem PowerSeries.IsWeierstrassDivisorAt.coeff_div_sub_seq_mem E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A) [inst_1 : IsPrecomplete I A] (k i : ℕ), (PowerSeries.coeff i) (H.div f - H.seq f k) ∈ I ^ k

def PowerSeries.IsWeierstrassDivisorAt.mod E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : PowerSeries A} →
      {I : Ideal A} → g.IsWeierstrassDivisorAt I → PowerSeries A → [IsPrecomplete I A] → Polynomial A

The remainder r in the proof of Weierstrass division.

theorem PowerSeries.IsWeierstrassDivisorAt.isWeierstrassDivisionAt_div_mod E3 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f : PowerSeries A) [inst_1 : IsAdicComplete I A], f.IsWeierstrassDivisionAt g (H.div f) (H.mod f) I

If the ring is I-adic complete, then g can be used as a divisor in Weierstrass division.

theorem PowerSeries.IsWeierstrassDivisorAt.div_add E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f f' : PowerSeries A) [inst_1 : IsAdicComplete I A], H.div (f + f') = H.div f + H.div f'

theorem PowerSeries.IsWeierstrassDivisorAt.div_smul E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I) (a : A)
  (f : PowerSeries A) [inst_1 : IsAdicComplete I A], H.div (a • f) = a • H.div f

theorem PowerSeries.IsWeierstrassDivisorAt.div_zero E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  [inst_1 : IsAdicComplete I A], H.div 0 = 0

theorem PowerSeries.IsWeierstrassDivisorAt.mod_add E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  (f f' : PowerSeries A) [inst_1 : IsAdicComplete I A], H.mod (f + f') = H.mod f + H.mod f'

theorem PowerSeries.IsWeierstrassDivisorAt.mod_smul E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I) (a : A)
  (f : PowerSeries A) [inst_1 : IsAdicComplete I A], H.mod (a • f) = a • H.mod f

theorem PowerSeries.IsWeierstrassDivisorAt.mod_zero E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  [inst_1 : IsAdicComplete I A], H.mod 0 = 0

def PowerSeries.IsWeierstrassDivisorAt.mod' E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : PowerSeries A} →
      {I : Ideal A} →
        g.IsWeierstrassDivisorAt I → [IsAdicComplete I A] → PowerSeries A ⧸ Ideal.span {g} →ₗ[A] Polynomial A

The remainder map PowerSeries.IsWeierstrassDivisorAt.mod induces a linear map A⟦X⟧ / (g) →ₗ[A] A[X].

theorem PowerSeries.IsWeierstrassDivisorAt.mod'_mk_eq_mod E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  [inst_1 : IsAdicComplete I A] {f : PowerSeries A}, H.mod' ((Ideal.Quotient.mk (Ideal.span {g})) f) = H.mod f

theorem PowerSeries.IsWeierstrassDivisorAt.div_coe_eq_zero E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  [inst_1 : IsAdicComplete I A] {r : Polynomial A},
  r.degree < ↑((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat → H.div ↑r = 0

theorem PowerSeries.IsWeierstrassDivisorAt.mod_coe_eq_self E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  [inst_1 : IsAdicComplete I A] {r : Polynomial A},
  r.degree < ↑((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat → H.mod ↑r = r

theorem PowerSeries.IsWeierstrassDivisorAt.mk_mod'_eq_self E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {I : Ideal A} (H : g.IsWeierstrassDivisorAt I)
  [inst_1 : IsAdicComplete I A] {f : PowerSeries A ⧸ Ideal.span {g}},
  (Ideal.Quotient.mk (Ideal.span {g})) ↑(H.mod' f) = f

def Polynomial.IsDistinguishedAt.algEquivQuotient E3 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : Polynomial A} →
      {I : Ideal A} →
        g.IsDistinguishedAt I →
          [IsAdicComplete I A] → (Polynomial A ⧸ Ideal.span {g}) ≃ₐ[A] PowerSeries A ⧸ Ideal.span {↑g}

A distinguished polynomial g induces a natural isomorphism A[X] / (g) ≃ₐ[A] A⟦X⟧ / (g).

theorem Polynomial.IsDistinguishedAt.algEquivQuotient_symm_apply E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : Polynomial A} {I : Ideal A} (H : g.IsDistinguishedAt I)
  [inst_1 : IsAdicComplete I A] (a : PowerSeries A ⧸ Ideal.span {↑g}),
  H.algEquivQuotient.symm a = (Ideal.Quotient.mk (Ideal.span {g})) (⋯.mod' a)

theorem Polynomial.IsDistinguishedAt.algEquivQuotient_apply E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : Polynomial A} {I : Ideal A} (H : g.IsDistinguishedAt I)
  [inst_1 : IsAdicComplete I A] (a : Polynomial A ⧸ Ideal.span {g}),
  H.algEquivQuotient a = (Ideal.quotientMapₐ (Ideal.span {↑g}) (Polynomial.coeToPowerSeries.algHom A) ⋯) a

theorem PowerSeries.exists_isWeierstrassDivision E3 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f : PowerSeries A) {g : PowerSeries A}
  [IsAdicComplete (IsLocalRing.maximalIdeal A) A],
  (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 → ∃ q r, f.IsWeierstrassDivision g q r

Weierstrass division ([washington_cyclotomic], Proposition 7.2): let f, g be power series over a complete local ring, such that the image of g in the residue field is not zero. Let n be the order of the image of g in the residue field. Then there exists a power series q and a polynomial r of degree < n, such that f = g * q + r.

def PowerSeries.weierstrassDiv E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    [inst_1 : IsLocalRing A] →
      PowerSeries A → PowerSeries A → [IsPrecomplete (IsLocalRing.maximalIdeal A) A] → PowerSeries A

The quotient q in Weierstrass division, denoted by f /ʷ g. Note that when the image of g in the residue field is zero, this is defined to be zero.

def PowerSeries.weierstrassMod E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    [inst_1 : IsLocalRing A] →
      PowerSeries A → PowerSeries A → [IsPrecomplete (IsLocalRing.maximalIdeal A) A] → Polynomial A

The remainder r in Weierstrass division, denoted by f %ʷ g. Note that when the image of g in the residue field is zero, this is defined to be zero.

def PowerSeries.«term_/ʷ_» E1 #

Lean.TrailingParserDescr

The quotient q in Weierstrass division, denoted by f /ʷ g. Note that when the image of g in the residue field is zero, this is defined to be zero.

def PowerSeries.«term_%ʷ_» E1 #

Lean.TrailingParserDescr

The remainder r in Weierstrass division, denoted by f %ʷ g. Note that when the image of g in the residue field is zero, this is defined to be zero.

theorem PowerSeries.weierstrassDiv_zero_right E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f : PowerSeries A)
  [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A], f /ʷ 0 = 0

theorem PowerSeries.weierstrassDiv_zero E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f : PowerSeries A)
  [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A], f /ʷ 0 = 0

Alias of PowerSeries.weierstrassDiv_zero_right.

theorem PowerSeries.weierstrassMod_zero_right E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f : PowerSeries A)
  [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A], f %ʷ 0 = 0

theorem PowerSeries.weierstrassMod_zero E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f : PowerSeries A)
  [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A], f %ʷ 0 = 0

Alias of PowerSeries.weierstrassMod_zero_right.

theorem PowerSeries.degree_weierstrassMod_lt E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f g : PowerSeries A)
  [inst_2 : IsPrecomplete (IsLocalRing.maximalIdeal A) A],
  (f %ʷ g).degree < ↑((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat

theorem PowerSeries.isWeierstrassDivision_weierstrassDiv_weierstrassMod E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f : PowerSeries A) {g : PowerSeries A},
  (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 →
    ∀ [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], f.IsWeierstrassDivision g (f /ʷ g) (f %ʷ g)

theorem PowerSeries.IsWeierstrassDivision.elim E3 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {f g : PowerSeries A},
  (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 →
    ∀ [IsHausdorff (IsLocalRing.maximalIdeal A) A] {q q' : PowerSeries A} {r r' : Polynomial A},
      f.IsWeierstrassDivision g q r → f.IsWeierstrassDivision g q' r' → q = q' ∧ r = r'

The quotient q and the remainder r in the Weierstrass division are unique.

This result is stated using two PowerSeries.IsWeierstrassDivision assertions, and only requires the ring being Hausdorff with respect to the maximal ideal. If you want q and r equal to f /ʷ g and f %ʷ g, use PowerSeries.IsWeierstrassDivision.unique instead, which requires the ring being complete with respect to the maximal ideal.

theorem PowerSeries.IsWeierstrassDivision.unique E3 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {f g : PowerSeries A},
  (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 →
    ∀ [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A] {q : PowerSeries A} {r : Polynomial A},
      f.IsWeierstrassDivision g q r → q = f /ʷ g ∧ r = f %ʷ g

If q and r are quotient and remainder in the Weierstrass division f / g, then they are equal to f /ʷ g and f %ʷ g.

theorem PowerSeries.add_weierstrassDiv E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f f' g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], (f + f') /ʷ g = f /ʷ g + f' /ʷ g

theorem PowerSeries.smul_weierstrassDiv E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (a : A) (f g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], a • f /ʷ g = a • (f /ʷ g)

theorem PowerSeries.weierstrassDiv_zero_left E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], 0 /ʷ g = 0

theorem PowerSeries.zero_weierstrassDiv E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], 0 /ʷ g = 0

Alias of PowerSeries.weierstrassDiv_zero_left.

theorem PowerSeries.add_weierstrassMod E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (f f' g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], (f + f') %ʷ g = f %ʷ g + f' %ʷ g

theorem PowerSeries.smul_weierstrassMod E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (a : A) (f g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], a • f %ʷ g = a • (f %ʷ g)

theorem PowerSeries.weierstrassMod_zero_left E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], 0 %ʷ g = 0

theorem PowerSeries.zero_weierstrassMod E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] (g : PowerSeries A)
  [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A], 0 %ʷ g = 0

Alias of PowerSeries.weierstrassMod_zero_left.

structure PowerSeries.IsWeierstrassFactorizationAt E3 #

{A : Type u_1} → [inst : CommRing A] → PowerSeries A → Polynomial A → PowerSeries A → Ideal A → Prop

If f is a polynomial over A, g and h are power series over A, then PowerSeries.IsWeierstrassFactorizationAt g f h I is a Prop which asserts that f is distinguished at I, h is a unit, such that g = f * h.

theorem PowerSeries.isWeierstrassFactorizationAt_iff E0 #

∀ {A : Type u_1} [inst : CommRing A] (g : PowerSeries A) (f : Polynomial A) (h : PowerSeries A) (I : Ideal A),
  g.IsWeierstrassFactorizationAt f h I ↔ f.IsDistinguishedAt I ∧ IsUnit h ∧ g = ↑f * h

ctor PowerSeries.IsWeierstrassFactorizationAt.mk E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  f.IsDistinguishedAt I → IsUnit h → g = ↑f * h → g.IsWeierstrassFactorizationAt f h I

theorem PowerSeries.IsWeierstrassFactorizationAt.isDistinguishedAt E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassFactorizationAt f h I → f.IsDistinguishedAt I

theorem PowerSeries.IsWeierstrassFactorizationAt.isUnit E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassFactorizationAt f h I → IsUnit h

abbrev PowerSeries.IsWeierstrassFactorization E3 #

{A : Type u_1} → [inst : CommRing A] → PowerSeries A → Polynomial A → PowerSeries A → [IsLocalRing A] → Prop

Version of PowerSeries.IsWeierstrassFactorizationAt for local rings with respect to its maximal ideal.

theorem PowerSeries.IsWeierstrassFactorizationAt.map_ne_zero_of_ne_top E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassFactorizationAt f h I → I ≠ ⊤ → (PowerSeries.map (Ideal.Quotient.mk I)) g ≠ 0

theorem PowerSeries.IsWeierstrassFactorizationAt.degree_eq_coe_lift_order_map_of_ne_top E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A}
  (H : g.IsWeierstrassFactorizationAt f h I) (hI : I ≠ ⊤),
  f.degree = ↑(((PowerSeries.map (Ideal.Quotient.mk I)) g).order.lift ⋯)

theorem PowerSeries.IsWeierstrassFactorizationAt.natDegree_eq_toNat_order_map_of_ne_top E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassFactorizationAt f h I → I ≠ ⊤ → f.natDegree = ((PowerSeries.map (Ideal.Quotient.mk I)) g).order.toNat

def PowerSeries.IsWeierstrassFactorizationAt.algEquivQuotient E3 #

{A : Type u_1} →
  [inst : CommRing A] →
    {g : PowerSeries A} →
      {f : Polynomial A} →
        {h : PowerSeries A} →
          {I : Ideal A} →
            g.IsWeierstrassFactorizationAt f h I →
              [IsAdicComplete I A] → (Polynomial A ⧸ Ideal.span {f}) ≃ₐ[A] PowerSeries A ⧸ Ideal.span {g}

If g = f * h is a Weierstrass factorization, then there is a natural isomorphism A[X] / (f) ≃ₐ[A] A⟦X⟧ / (g).

theorem PowerSeries.IsWeierstrassFactorizationAt.algEquivQuotient_apply E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A}
  (H : g.IsWeierstrassFactorizationAt f h I) [inst_1 : IsAdicComplete I A] (a : Polynomial A ⧸ Ideal.span {f}),
  H.algEquivQuotient a =
    (Ideal.quotientEquivAlgOfEq A ⋯) ((Ideal.quotientMapₐ (Ideal.span {↑f}) (Polynomial.coeToPowerSeries.algHom A) ⋯) a)

theorem PowerSeries.IsWeierstrassFactorizationAt.algEquivQuotient_symm_apply E0 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A}
  (H : g.IsWeierstrassFactorizationAt f h I) [inst_1 : IsAdicComplete I A] (x : PowerSeries A ⧸ Ideal.span {g}),
  H.algEquivQuotient.symm x = (Ideal.Quotient.mk (Ideal.span {f})) (⋯.mod' ((Ideal.quotientEquivAlgOfEq A ⋯) x))

theorem PowerSeries.IsWeierstrassFactorizationAt.mul E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassFactorizationAt f h I →
    ∀ {g' : PowerSeries A} {f' : Polynomial A} {h' : PowerSeries A},
      g'.IsWeierstrassFactorizationAt f' h' I → (g * g').IsWeierstrassFactorizationAt (f * f') (h * h') I

theorem PowerSeries.IsWeierstrassFactorizationAt.smul E1 #

∀ {A : Type u_1} [inst : CommRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A} {I : Ideal A},
  g.IsWeierstrassFactorizationAt f h I → ∀ {a : A}, IsUnit a → (a • g).IsWeierstrassFactorizationAt f (a • h) I

theorem PowerSeries.IsWeierstrassFactorization.map_ne_zero E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {g : PowerSeries A} {f : Polynomial A}
  {h : PowerSeries A}, g.IsWeierstrassFactorization f h → (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0

theorem PowerSeries.IsWeierstrassFactorization.degree_eq_coe_lift_order_map E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A}
  (H : g.IsWeierstrassFactorization f h), f.degree = ↑(((PowerSeries.map (IsLocalRing.residue A)) g).order.lift ⋯)

theorem PowerSeries.IsWeierstrassFactorization.natDegree_eq_toNat_order_map E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {g : PowerSeries A} {f : Polynomial A}
  {h : PowerSeries A},
  g.IsWeierstrassFactorization f h → f.natDegree = ((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat

theorem PowerSeries.IsWeierstrassDivision.isUnit_of_map_ne_zero E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {g q : PowerSeries A} {r : Polynomial A},
  (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 →
    (PowerSeries.X ^ ((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat).IsWeierstrassDivision g q r → IsUnit q

theorem PowerSeries.IsWeierstrassDivision.isWeierstrassFactorization E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {g q : PowerSeries A} {r : Polynomial A}
  (hg : (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0)
  (H : (PowerSeries.X ^ ((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat).IsWeierstrassDivision g q r),
  g.IsWeierstrassFactorization (Polynomial.X ^ ((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat - r) ↑⋯.unit⁻¹

theorem PowerSeries.IsWeierstrassFactorization.isWeierstrassDivision E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A}
  (H : g.IsWeierstrassFactorization f h),
  (PowerSeries.X ^ ((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat).IsWeierstrassDivision g (↑⋯.unit⁻¹)
    (Polynomial.X ^ ((PowerSeries.map (IsLocalRing.residue A)) g).order.toNat - f)

theorem PowerSeries.IsWeierstrassFactorization.elim E3 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [IsHausdorff (IsLocalRing.maximalIdeal A) A]
  {g : PowerSeries A} {f f' : Polynomial A} {h h' : PowerSeries A},
  g.IsWeierstrassFactorization f h → g.IsWeierstrassFactorization f' h' → f = f' ∧ h = h'

The f and h in the Weierstrass preparation theorem are unique.

This result is stated using two PowerSeries.IsWeierstrassFactorization assertions, and only requires the ring being Hausdorff with respect to the maximal ideal. If you want f and h equal to PowerSeries.weierstrassDistinguished and PowerSeries.weierstrassUnit, use PowerSeries.IsWeierstrassFactorization.unique instead, which requires the ring being complete with respect to the maximal ideal.

theorem PowerSeries.exists_isWeierstrassFactorization E3 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g : PowerSeries A}, (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 → ∃ f h, g.IsWeierstrassFactorization f h

Weierstrass preparation theorem ([washington_cyclotomic], Theorem 7.3): let g be a power series over a complete local ring, such that its image in the residue field is not zero. Then there exists a distinguished polynomial f and a power series h which is a unit, such that g = f * h.

def PowerSeries.weierstrassDistinguished E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    [inst_1 : IsLocalRing A] →
      [IsAdicComplete (IsLocalRing.maximalIdeal A) A] →
        (g : PowerSeries A) → (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 → Polynomial A

The f in the Weierstrass preparation theorem.

def PowerSeries.weierstrassUnit E1 #

{A : Type u_1} →
  [inst : CommRing A] →
    [inst_1 : IsLocalRing A] →
      [IsAdicComplete (IsLocalRing.maximalIdeal A) A] →
        (g : PowerSeries A) → (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0 → PowerSeries A

The h in the Weierstrass preparation theorem.

theorem PowerSeries.isWeierstrassFactorization_weierstrassDistinguished_weierstrassUnit E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0),
  g.IsWeierstrassFactorization (g.weierstrassDistinguished hg) (g.weierstrassUnit hg)

abbrev PowerSeries.algEquivQuotientWeierstrassDistinguished E3 #

{A : Type u_1} →
  [inst : CommRing A] →
    [inst_1 : IsLocalRing A] →
      [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A] →
        {g : PowerSeries A} →
          (hg : (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0) →
            (Polynomial A ⧸ Ideal.span {g.weierstrassDistinguished hg}) ≃ₐ[A] PowerSeries A ⧸ Ideal.span {g}

If g is a power series over a complete local ring, such that its image in the residue field is not zero, then there is a natural isomorphism A[X] / (f) ≃ₐ[A] A⟦X⟧ / (g) where f is PowerSeries.weierstrassDistinguished g.

theorem PowerSeries.isDistinguishedAt_weierstrassDistinguished E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0),
  (g.weierstrassDistinguished hg).IsDistinguishedAt (IsLocalRing.maximalIdeal A)

theorem PowerSeries.isUnit_weierstrassUnit E1 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0), IsUnit (g.weierstrassUnit hg)

theorem PowerSeries.IsWeierstrassFactorization.unique E3 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g : PowerSeries A} {f : Polynomial A} {h : PowerSeries A},
  g.IsWeierstrassFactorization f h →
    ∀ (hg : (PowerSeries.map (IsLocalRing.residue A)) g ≠ 0),
      f = g.weierstrassDistinguished hg ∧ h = g.weierstrassUnit hg

The f and h in Weierstrass preparation theorem are equal to PowerSeries.weierstrassDistinguished and PowerSeries.weierstrassUnit.

theorem PowerSeries.weierstrassDistinguished_mul E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g g' : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) (g * g') ≠ 0),
  (g * g').weierstrassDistinguished hg = g.weierstrassDistinguished ⋯ * g'.weierstrassDistinguished ⋯

theorem PowerSeries.weierstrassUnit_mul E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {g g' : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) (g * g') ≠ 0),
  (g * g').weierstrassUnit hg = g.weierstrassUnit ⋯ * g'.weierstrassUnit ⋯

theorem PowerSeries.weierstrassDistinguished_smul E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {a : A} {g : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) (a • g) ≠ 0),
  (a • g).weierstrassDistinguished hg = g.weierstrassDistinguished ⋯

theorem PowerSeries.weierstrassUnit_smul E0 #

∀ {A : Type u_1} [inst : CommRing A] [inst_1 : IsLocalRing A] [inst_2 : IsAdicComplete (IsLocalRing.maximalIdeal A) A]
  {a : A} {g : PowerSeries A} (hg : (PowerSeries.map (IsLocalRing.residue A)) (a • g) ≠ 0),
  (a • g).weierstrassUnit hg = a • g.weierstrassUnit ⋯