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.LaurentSeries

121 declarations. Mathlib docs · Source

Laurent Series

In this file we define LaurentSeries R, the formal Laurent series over R, here an arbitrary type with a zero. They are denoted R⸨X⸩.

Main Definitions

  • Defines LaurentSeries as an abbreviation for HahnSeries ℤ.
  • Defines hasseDeriv of a Laurent series with coefficients in a module over a ring.
  • Provides a coercion from power series R⟦X⟧ into R⸨X⸩ given by HahnSeries.ofPowerSeries.
  • Defines LaurentSeries.powerSeriesPart
  • Defines the localization map LaurentSeries.of_powerSeries_localization which evaluates to HahnSeries.ofPowerSeries.
  • Embedding of rational functions into Laurent series, provided as a coercion, utilizing the underlying RatFunc.coeAlgHom.
  • Study of the X-Adic valuation on the ring of Laurent series over a field
  • In LaurentSeries.uniformContinuous_coeff we show that sending a Laurent series to its dth coefficient is uniformly continuous, ensuring that it sends a Cauchy filter ℱ in K⸨X⸩ to a Cauchy filter in K: since this latter is given the discrete topology, this provides an element LaurentSeries.Cauchy.coeff ℱ d in K that serves as dth coefficient of the Laurent series to which the filter ℱ converges.

Main Results

  • Basic properties of Hasse derivatives

About the X-Adic valuation:

  • The (integral) valuation of a power series is the order of the first non-zero coefficient, see LaurentSeries.intValuation_le_iff_coeff_lt_eq_zero.
  • The valuation of a Laurent series is the order of the first non-zero coefficient, see LaurentSeries.valuation_le_iff_coeff_lt_eq_zero.
  • Every Laurent series of valuation less than (1 : ℤᵐ⁰) comes from a power series, see LaurentSeries.val_le_one_iff_eq_coe.
  • The uniform space of LaurentSeries over a field is complete, formalized in the instance instLaurentSeriesComplete.
  • The field of rational functions is dense in LaurentSeries: this is the declaration LaurentSeries.coe_range_dense and relies principally upon LaurentSeries.exists_ratFunc_val_lt, stating that for every Laurent series f and every γ : ℤᵐ⁰ one can find a rational function Q such that the X-adic valuation v satisfies v (f - Q) < γ.
  • In LaurentSeries.valuation_compare we prove that the extension of the X-adic valuation from K⟮X⟯ up to its abstract completion coincides, modulo the isomorphism with K⸨X⸩, with the X-adic valuation on K⸨X⸩.
  • The two declarations LaurentSeries.mem_integers_of_powerSeries and LaurentSeries.exists_powerSeries_of_memIntegers show that an element in the completion of K⟮X⟯ is in the unit ball if and only if it comes from a power series through the isomorphism LaurentSeriesRingEquiv.
  • LaurentSeries.powerSeriesAlgEquiv is the K-algebra isomorphism between K⟦X⟧ and the unit ball inside the X-adic completion of K⟮X⟯.

Implementation notes

  • Since LaurentSeries is just an abbreviation of HahnSeries ℤ, the definition of the coefficients is given in terms of HahnSeries.coeff and this forces sometimes to go back-and-forth from X : R⸨X⸩ to single 1 1 : R⟦ℤ⟧.
  • To prove the isomorphism between the X-adic completion of K⟮X⟯ and K⸨X⸩ we construct two completions of K⟮X⟯: the first (LaurentSeries.ratfuncAdicComplPkg) is its abstract uniform completion; the second (LaurentSeries.LaurentSeriesPkg) is simply K⸨X⸩, once we prove that it is complete and contains K⟮X⟯ as a dense subspace. The isomorphism is the comparison equivalence, expressing the mathematical idea that the completion "is unique". It is LaurentSeries.comparePkg.
  • For applications to K⟦X⟧ it is actually more handy to use the inverse of the above equivalence: LaurentSeries.LaurentSeriesAlgEquiv is the topological, algebra equivalence K⸨X⸩ ≃ₐ[K] RatFuncAdicCompl K.
  • In order to compare K⟦X⟧ with the valuation subring in the X-adic completion of K⟮X⟯ we consider its alias LaurentSeries.powerSeries_as_subring as a subring of K⸨X⸩, that is itself clearly isomorphic (via the inverse of LaurentSeries.powerSeriesEquivSubring) to K⟦X⟧.

The two instances below make comparePkg and comparePkg_eq_extension slightly faster.

theorem LaurentSeries.Cauchy.coeff.congr_simp E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ ℱ_1 : Filter (LaurentSeries K)} (e_ℱ : ℱ = ℱ_1) (hℱ : Cauchy ℱ) (a a_1 : ℤ),
  a = a_1 → LaurentSeries.Cauchy.coeff hℱ a = LaurentSeries.Cauchy.coeff ⋯ a_1

theorem LaurentSeries.Cauchy.limit.congr_simp E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ ℱ_1 : Filter (LaurentSeries K)} (e_ℱ : ℱ = ℱ_1) (hℱ : Cauchy ℱ),
  LaurentSeries.Cauchy.limit hℱ = LaurentSeries.Cauchy.limit ⋯

abbrev LaurentSeries E3 #

(R : Type u) → [Zero R] → Type (max 0 u)

LaurentSeries R is the type of formal Laurent series with coefficients in R, denoted R⸨X⸩.

It is implemented as a HahnSeries with value group ℤ.

def LaurentSeries.«term_⸨X⸩» E1 #

Lean.TrailingParserDescr

R⸨X⸩ is notation for LaurentSeries R.

def LaurentSeries.hasseDeriv E3 #

(R : Type u_2) →
  {V : Type u_3} →
    [inst : AddCommGroup V] → [inst_1 : Semiring R] → [inst_2 : Module R V] → ℕ → LaurentSeries V →ₗ[R] LaurentSeries V

The Hasse derivative of Laurent series, as a linear map.

theorem LaurentSeries.hasseDeriv_coeff E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k : ℕ)
  (f : LaurentSeries V) (n : ℤ), ((LaurentSeries.hasseDeriv R k) f).coeff n = Ring.choose (n + ↑k) k • f.coeff (n + ↑k)

theorem LaurentSeries.hasseDeriv_zero E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V],
  LaurentSeries.hasseDeriv R 0 = LinearMap.id

theorem LaurentSeries.hasseDeriv_single_add E1 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k : ℕ) (n : ℤ)
  (x : V),
  (LaurentSeries.hasseDeriv R k) ((HahnSeries.single (n + ↑k)) x) = (HahnSeries.single n) (Ring.choose (n + ↑k) k • x)

theorem LaurentSeries.hasseDeriv_single E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k : ℕ) (n : ℤ)
  (x : V), (LaurentSeries.hasseDeriv R k) ((HahnSeries.single n) x) = (HahnSeries.single (n - ↑k)) (Ring.choose n k • x)

theorem LaurentSeries.hasseDeriv_comp_coeff E1 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k l : ℕ)
  (f : LaurentSeries V) (n : ℤ),
  ((LaurentSeries.hasseDeriv R k) ((LaurentSeries.hasseDeriv R l) f)).coeff n =
    ((k + l).choose k • (LaurentSeries.hasseDeriv R (k + l)) f).coeff n

theorem LaurentSeries.hasseDeriv_comp E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k l : ℕ)
  (f : LaurentSeries V),
  (LaurentSeries.hasseDeriv R k) ((LaurentSeries.hasseDeriv R l) f) =
    (k + l).choose k • (LaurentSeries.hasseDeriv R (k + l)) f

theorem LaurentSeries.hasseDeriv_map E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] {W : Type u_3}
  [inst_3 : AddCommGroup W] [inst_4 : Module R W] (g : V →ₗ[R] W) (k : ℕ) (f : LaurentSeries V),
  (LaurentSeries.hasseDeriv R k) (HahnSeries.map f g) = HahnSeries.map ((LaurentSeries.hasseDeriv R k) f) g

def LaurentSeries.derivative E1 #

(R : Type u_3) →
  {V : Type u_4} →
    [inst : AddCommGroup V] → [inst_1 : Semiring R] → [inst_2 : Module R V] → LaurentSeries V →ₗ[R] LaurentSeries V

The derivative of a Laurent series.

theorem LaurentSeries.derivative_apply E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  (f : LaurentSeries V), (LaurentSeries.derivative R) f = (LaurentSeries.hasseDeriv R 1) f

theorem LaurentSeries.derivative_map E1 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] {W : Type u_3}
  [inst_3 : AddCommGroup W] [inst_4 : Module R W] (g : V →ₗ[R] W) (f : LaurentSeries V),
  (LaurentSeries.derivative R) (HahnSeries.map f g) = HahnSeries.map ((LaurentSeries.derivative R) f) g

theorem LaurentSeries.derivative_iterate E1 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k : ℕ)
  (f : LaurentSeries V), (⇑(LaurentSeries.derivative R))^[k] f = k.factorial • (LaurentSeries.hasseDeriv R k) f

theorem LaurentSeries.iterate_derivative_map E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] {W : Type u_3}
  [inst_3 : AddCommGroup W] [inst_4 : Module R W] (g : V →ₗ[R] W) (k : ℕ) (f : LaurentSeries V),
  (⇑(LaurentSeries.derivative R))^[k] (HahnSeries.map f g) = HahnSeries.map ((⇑(LaurentSeries.derivative R))^[k] f) g

theorem LaurentSeries.derivative_iterate_coeff E0 #

∀ {R : Type u_1} [inst : Semiring R] {V : Type u_2} [inst_1 : AddCommGroup V] [inst_2 : Module R V] (k : ℕ)
  (f : LaurentSeries V) (n : ℤ),
  ((⇑(LaurentSeries.derivative R))^[k] f).coeff n = (descPochhammer ℤ k).smeval (n + ↑k) • f.coeff (n + ↑k)

instance LaurentSeries.instCoePowerSeries E0 #

{R : Type u_1} → [inst : Semiring R] → Coe (PowerSeries R) (LaurentSeries R)

theorem LaurentSeries.coeff_coe_powerSeries E0 #

∀ {R : Type u_1} [inst : Semiring R] (x : PowerSeries R) (n : ℕ),
  ((HahnSeries.ofPowerSeries ℤ R) x).coeff ↑n = (PowerSeries.coeff n) x

def LaurentSeries.powerSeriesPart E3 #

{R : Type u_1} → [inst : Semiring R] → LaurentSeries R → PowerSeries R

This is a power series that can be multiplied by an integer power of X to give our Laurent series. If the Laurent series is nonzero, powerSeriesPart has a nonzero constant term.

theorem LaurentSeries.powerSeriesPart_coeff E0 #

∀ {R : Type u_1} [inst : Semiring R] (x : LaurentSeries R) (n : ℕ),
  (PowerSeries.coeff n) x.powerSeriesPart = x.coeff (HahnSeries.order x + ↑n)

theorem LaurentSeries.powerSeriesPart_zero E0 #

∀ {R : Type u_1} [inst : Semiring R], LaurentSeries.powerSeriesPart 0 = 0

theorem LaurentSeries.powerSeriesPart_eq_zero E0 #

∀ {R : Type u_1} [inst : Semiring R] (x : LaurentSeries R), x.powerSeriesPart = 0 ↔ x = 0

theorem LaurentSeries.single_order_mul_powerSeriesPart E0 #

∀ {R : Type u_1} [inst : Semiring R] (x : LaurentSeries R),
  (HahnSeries.single (HahnSeries.order x)) 1 * (HahnSeries.ofPowerSeries ℤ R) x.powerSeriesPart = x

theorem LaurentSeries.ofPowerSeries_powerSeriesPart E1 #

∀ {R : Type u_1} [inst : Semiring R] (x : LaurentSeries R),
  (HahnSeries.ofPowerSeries ℤ R) x.powerSeriesPart = (HahnSeries.single (-HahnSeries.order x)) 1 * x

theorem LaurentSeries.X_order_mul_powerSeriesPart E1 #

∀ {R : Type u_1} [inst : Semiring R] {n : ℕ} {f : LaurentSeries R},
  ↑n = HahnSeries.order f → (HahnSeries.ofPowerSeries ℤ R) (PowerSeries.X ^ n * f.powerSeriesPart) = f

instance LaurentSeries.instAlgebraPowerSeries E0 #

{R : Type u_1} → [inst : CommSemiring R] → Algebra (PowerSeries R) (LaurentSeries R)

theorem LaurentSeries.coe_algebraMap E0 #

∀ {R : Type u_1} [inst : CommSemiring R],
  ⇑(algebraMap (PowerSeries R) (LaurentSeries R)) = ⇑(HahnSeries.ofPowerSeries ℤ R)

instance LaurentSeries.of_powerSeries_localization E3 #

∀ {R : Type u_1} [inst : CommRing R], IsLocalization (Submonoid.powers PowerSeries.X) (LaurentSeries R)

The localization map from power series to Laurent series.

instance LaurentSeries.instIsFractionRingPowerSeries E0 #

∀ {K : Type u_2} [inst : Field K], IsFractionRing (PowerSeries K) (LaurentSeries K)

theorem PowerSeries.coe_zero E0 #

∀ {R : Type u_1} [inst : Semiring R], (HahnSeries.ofPowerSeries ℤ R) 0 = 0

theorem PowerSeries.coe_one E0 #

∀ {R : Type u_1} [inst : Semiring R], (HahnSeries.ofPowerSeries ℤ R) 1 = 1

theorem PowerSeries.coe_add E0 #

∀ {R : Type u_1} [inst : Semiring R] (f g : PowerSeries R),
  (HahnSeries.ofPowerSeries ℤ R) (f + g) = (HahnSeries.ofPowerSeries ℤ R) f + (HahnSeries.ofPowerSeries ℤ R) g

theorem PowerSeries.coe_sub E0 #

∀ {R' : Type u_2} [inst : Ring R'] (f' g' : PowerSeries R'),
  (HahnSeries.ofPowerSeries ℤ R') (f' - g') = (HahnSeries.ofPowerSeries ℤ R') f' - (HahnSeries.ofPowerSeries ℤ R') g'

theorem PowerSeries.coe_neg E0 #

∀ {R' : Type u_2} [inst : Ring R'] (f' : PowerSeries R'),
  (HahnSeries.ofPowerSeries ℤ R') (-f') = -(HahnSeries.ofPowerSeries ℤ R') f'

theorem PowerSeries.coe_mul E0 #

∀ {R : Type u_1} [inst : Semiring R] (f g : PowerSeries R),
  (HahnSeries.ofPowerSeries ℤ R) (f * g) = (HahnSeries.ofPowerSeries ℤ R) f * (HahnSeries.ofPowerSeries ℤ R) g

theorem PowerSeries.coeff_coe E0 #

∀ {R : Type u_1} [inst : Semiring R] (f : PowerSeries R) (i : ℤ),
  ((HahnSeries.ofPowerSeries ℤ R) f).coeff i = if i < 0 then 0 else (PowerSeries.coeff i.natAbs) f

theorem PowerSeries.coe_C E0 #

∀ {R : Type u_1} [inst : Semiring R] (r : R), (HahnSeries.ofPowerSeries ℤ R) (PowerSeries.C r) = HahnSeries.C r

theorem PowerSeries.coe_X E0 #

∀ {R : Type u_1} [inst : Semiring R], (HahnSeries.ofPowerSeries ℤ R) PowerSeries.X = (HahnSeries.single 1) 1

theorem PowerSeries.coe_smul E0 #

∀ {R : Type u_1} [inst : Semiring R] {S : Type u_3} [inst_1 : Semiring S] [inst_2 : Module R S] (r : R)
  (x : PowerSeries S), (HahnSeries.ofPowerSeries ℤ S) (r • x) = r • (HahnSeries.ofPowerSeries ℤ S) x

theorem PowerSeries.coe_pow E0 #

∀ {R : Type u_1} [inst : Semiring R] (f : PowerSeries R) (n : ℕ),
  (HahnSeries.ofPowerSeries ℤ R) (f ^ n) = (HahnSeries.ofPowerSeries ℤ R) f ^ n

instance RatFunc.instFaithfulSMulPolynomialLaurentSeries E0 #

∀ {F : Type u} [inst : Field F], FaithfulSMul (Polynomial F) (LaurentSeries F)

instance RatFunc.coeToLaurentSeries E0 #

{F : Type u} → [inst : Field F] → Coe (RatFunc F) (LaurentSeries F)

theorem RatFunc.coe_coe E0 #

∀ {F : Type u} [inst : Field F] (P : Polynomial F),
  (HahnSeries.ofPowerSeries ℤ F) ↑P = (algebraMap (RatFunc F) (LaurentSeries F)) ↑P

theorem RatFunc.coe_X E0 #

∀ {F : Type u} [inst : Field F], (algebraMap (RatFunc F) (LaurentSeries F)) RatFunc.X = (HahnSeries.single 1) 1

theorem RatFunc.single_one_eq_pow E1 #

∀ {R : Type u_2} [inst : Semiring R] (n : ℕ), (HahnSeries.single ↑n) 1 = (HahnSeries.single 1) 1 ^ n

theorem RatFunc.single_zpow E1 #

∀ {F : Type u} [inst : Field F] (n : ℤ), (HahnSeries.single n) 1 = (HahnSeries.single 1) 1 ^ n

theorem RatFunc.algebraMap_apply_div E1 #

∀ {F : Type u} [inst : Field F] (p q : Polynomial F),
  (algebraMap (RatFunc F) (LaurentSeries F))
      ((algebraMap (Polynomial F) (RatFunc F)) p / (algebraMap (Polynomial F) (RatFunc F)) q) =
    (algebraMap (Polynomial F) (LaurentSeries F)) p / (algebraMap (Polynomial F) (LaurentSeries F)) q

def PowerSeries.idealX E1 #

(K : Type u_2) → [inst : Field K] → IsDedekindDomain.HeightOneSpectrum (PowerSeries K)

The prime ideal (X) of K⟦X⟧, when K is a field, as a term of the HeightOneSpectrum.

theorem PowerSeries.intValuation_eq_of_coe E0 #

∀ {K : Type u_2} [inst : Field K] (P : Polynomial K),
  (Polynomial.idealX K).intValuation P = (PowerSeries.idealX K).intValuation ↑P

theorem PowerSeries.intValuation_X E0 #

∀ {K : Type u_2} [inst : Field K], (PowerSeries.idealX K).intValuation PowerSeries.X = WithZero.exp (-1)

The integral valuation of the power series X : K⟦X⟧ equals (ofAdd -1) : ℤᵐ⁰.

abbrev RatFunc.polynomialValuationX E1 #

(K : Type u_2) → [inst : Field K] → Valuation (RatFunc K) (WithZero (Multiplicative ℤ))

polynomialValuationX is an abbreviation for the X-adic valuation given by (Polynomial.idealX K).valuation K⟮X⟯.

theorem RatFunc.valuation_eq_LaurentSeries_valuation E1 #

∀ (K : Type u_2) [inst : Field K] (P : RatFunc K),
  (RatFunc.polynomialValuationX K) P =
    (IsDedekindDomain.HeightOneSpectrum.valuation (LaurentSeries K) (PowerSeries.idealX K))
      ((algebraMap (RatFunc K) (LaurentSeries K)) P)

instance LaurentSeries.valued E0 #

(K : Type u_2) → [inst : Field K] → Valued (LaurentSeries K) (WithZero (Multiplicative ℤ))

theorem LaurentSeries.valuation_def E0 #

∀ (K : Type u_2) [inst : Field K],
  Valued.v = IsDedekindDomain.HeightOneSpectrum.valuation (LaurentSeries K) (PowerSeries.idealX K)

theorem LaurentSeries.valuation_coe_ratFunc E1 #

∀ (K : Type u_2) [inst : Field K] (f : RatFunc K), Valued.v ((algebraMap (RatFunc K) (LaurentSeries K)) f) = Valued.v f

theorem LaurentSeries.valuation_X_pow E1 #

∀ (K : Type u_2) [inst : Field K] (s : ℕ),
  Valued.v ((HahnSeries.ofPowerSeries ℤ K) PowerSeries.X ^ s) = WithZero.exp (-↑s)

theorem LaurentSeries.valuation_single_zpow E1 #

∀ (K : Type u_2) [inst : Field K] (s : ℤ), Valued.v ((HahnSeries.single s) 1) = WithZero.exp (-s)

theorem LaurentSeries.coeff_zero_of_lt_intValuation E1 #

∀ (K : Type u_2) [inst : Field K] {n d : ℕ} {f : PowerSeries K},
  Valued.v ((HahnSeries.ofPowerSeries ℤ K) f) ≤ WithZero.exp (-↑d) → n < d → (PowerSeries.coeff n) f = 0

The coefficients of a power series vanish in degree strictly less than its valuation.

theorem LaurentSeries.intValuation_le_iff_coeff_lt_eq_zero E1 #

∀ (K : Type u_2) [inst : Field K] {d : ℕ} (f : PowerSeries K),
  Valued.v ((HahnSeries.ofPowerSeries ℤ K) f) ≤ WithZero.exp (-↑d) ↔ ∀ n < d, (PowerSeries.coeff n) f = 0

The valuation of a power series is the order of the first non-zero coefficient.

theorem LaurentSeries.coeff_zero_of_lt_valuation E1 #

∀ (K : Type u_2) [inst : Field K] {n D : ℤ} {f : LaurentSeries K},
  Valued.v f ≤ WithZero.exp (-D) → n < D → f.coeff n = 0

The coefficients of a Laurent series vanish in degree strictly less than its valuation.

theorem LaurentSeries.valuation_le_iff_coeff_lt_eq_zero E1 #

∀ (K : Type u_2) [inst : Field K] {D : ℤ} {f : LaurentSeries K}, Valued.v f ≤ WithZero.exp (-D) ↔ ∀ n < D, f.coeff n = 0

The valuation of a Laurent series is the order of the first non-zero coefficient.

theorem LaurentSeries.valuation_le_iff_coeff_lt_log_eq_zero E1 #

∀ (K : Type u_2) [inst : Field K] {D : WithZero (Multiplicative ℤ)},
  D ≠ 0 → ∀ {f : LaurentSeries K}, Valued.v f ≤ D ↔ ∀ n < -D.log, f.coeff n = 0

theorem LaurentSeries.val_le_one_iff_eq_coe E0 #

∀ (K : Type u_2) [inst : Field K] (f : LaurentSeries K), Valued.v f ≤ 1 ↔ ∃ F, (HahnSeries.ofPowerSeries ℤ K) F = f

Every Laurent series of valuation less than (1 : ℤᵐ⁰) comes from a power series.

theorem LaurentSeries.valuation_surjective E1 #

∀ (K : Type u_2) [inst : Field K], Function.Surjective ⇑Valued.v

theorem LaurentSeries.uniformContinuous_coeff E3 #

∀ {K : Type u_2} [inst : Field K] {uK : UniformSpace K} (d : ℤ), UniformContinuous fun f ↦ f.coeff d

Sending a Laurent series to its d-th coefficient is uniformly continuous (independently of the uniformity with which K is endowed).

def LaurentSeries.Cauchy.coeff E1 #

{K : Type u_2} → [inst : Field K] → {ℱ : Filter (LaurentSeries K)} → Cauchy ℱ → ℤ → K

Since extracting coefficients is uniformly continuous, every Cauchy filter in K⸨X⸩ gives rise to a Cauchy filter in K for every d : ℤ, and such Cauchy filter in K converges to a principal filter

theorem LaurentSeries.Cauchy.coeff_tendsto E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)} (hℱ : Cauchy ℱ) (D : ℤ),
  Filter.Tendsto (fun f ↦ f.coeff D) ℱ (Filter.principal {LaurentSeries.Cauchy.coeff hℱ D})

theorem LaurentSeries.Cauchy.exists_lb_eventual_support E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)},
  Cauchy ℱ → ∃ N, ∀ᶠ (f : LaurentSeries K) in ℱ, ∀ n < N, f.coeff n = 0

theorem LaurentSeries.Cauchy.exists_lb_support E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)} (hℱ : Cauchy ℱ),
  ∃ N, ∀ n < N, LaurentSeries.Cauchy.coeff hℱ n = 0

The support of Cauchy.coeff has a lower bound.

theorem LaurentSeries.Cauchy.coeff_support_bddBelow E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)} (hℱ : Cauchy ℱ),
  BddBelow (Function.support (LaurentSeries.Cauchy.coeff hℱ))

The support of Cauchy.coeff is bounded below

def LaurentSeries.Cauchy.limit E1 #

{K : Type u_2} → [inst : Field K] → {ℱ : Filter (LaurentSeries K)} → Cauchy ℱ → LaurentSeries K

To any Cauchy filter ℱ of K⸨X⸩, we can attach a laurent series that is the limit of the filter. Its d-th coefficient is defined as the limit of Cauchy.coeff hℱ d, which is again Cauchy but valued in the discrete space K. That sufficiently negative coefficients vanish follows from Cauchy.coeff_support_bddBelow

theorem LaurentSeries.Cauchy.exists_lb_coeff_ne E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)} (hℱ : Cauchy ℱ),
  ∃ N, ∀ᶠ (f : LaurentSeries K) in ℱ, ∀ d < N, LaurentSeries.Cauchy.coeff hℱ d = f.coeff d

The following lemma shows that for every d smaller than the minimum between the integers produced in Cauchy.exists_lb_eventual_support and Cauchy.exists_lb_support, for almost all series in ℱ the dth coefficient coincides with the dth coefficient of Cauchy.coeff hℱ.

theorem LaurentSeries.Cauchy.coeff_eventually_equal E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)} (hℱ : Cauchy ℱ) {D : ℤ},
  ∀ᶠ (f : LaurentSeries K) in ℱ, ∀ d < D, LaurentSeries.Cauchy.coeff hℱ d = f.coeff d

Given a Cauchy filter ℱ in the Laurent Series and a bound D, for almost all series in the filter the coefficients below D coincide with Cauchy.coeff hℱ.

theorem LaurentSeries.Cauchy.eventually_mem_nhds E1 #

∀ {K : Type u_2} [inst : Field K] {ℱ : Filter (LaurentSeries K)} (hℱ : Cauchy ℱ) {U : Set (LaurentSeries K)},
  U ∈ nhds (LaurentSeries.Cauchy.limit hℱ) → ∀ᶠ (f : LaurentSeries K) in ℱ, f ∈ U

The main result showing that the Cauchy filter tends to the Cauchy.limit

instance LaurentSeries.instLaurentSeriesComplete E0 #

∀ {K : Type u_2} [inst : Field K], CompleteSpace (LaurentSeries K)

Laurent Series with coefficients in a field are complete w.r.t. the X-adic valuation

theorem LaurentSeries.exists_Polynomial_intValuation_lt E1 #

∀ {K : Type u_2} [inst : Field K] (F : PowerSeries K) (η : (WithZero (Multiplicative ℤ))ˣ),
  ∃ P, (PowerSeries.idealX K).intValuation (F - ↑P) < ↑η

theorem LaurentSeries.exists_ratFunc_val_lt E1 #

∀ {K : Type u_2} [inst : Field K] (f : LaurentSeries K) (γ : (WithZero (Multiplicative ℤ))ˣ),
  ∃ Q, Valued.v (f - (algebraMap (RatFunc K) (LaurentSeries K)) Q) < ↑γ

For every Laurent series f and every γ : ℤᵐ⁰ one can find a rational function Q such that the X-adic valuation v satisfies v (f - Q) < γ.

theorem LaurentSeries.coe_range_dense E0 #

∀ {K : Type u_2} [inst : Field K], DenseRange ⇑(algebraMap (RatFunc K) (LaurentSeries K))

theorem LaurentSeries.exists_ratFunc_eq_v E1 #

∀ {K : Type u_2} [inst : Field K] (x : LaurentSeries K), ∃ f, Valued.v f = Valued.v x

theorem LaurentSeries.inducing_coe E0 #

∀ {K : Type u_2} [inst : Field K], IsUniformInducing ⇑(algebraMap (RatFunc K) (LaurentSeries K))

theorem LaurentSeries.uniformContinuous_withVal_equiv E1 #

∀ {K : Type u_2} [inst : Field K], UniformContinuous ⇑(WithVal.equiv (RatFunc.polynomialValuationX K))

theorem LaurentSeries.continuous_coe E0 #

∀ {K : Type u_2} [inst : Field K], Continuous ⇑(algebraMap (RatFunc K) (LaurentSeries K))

abbrev LaurentSeries.RatFuncAdicCompl E1 #

(K : Type u_2) → [Field K] → Type u_2

An abbreviation for the X-adic completion of K⟮X⟯

abbrev LaurentSeries.ratfuncAdicComplPkg E1 #

{K : Type u_2} → [inst : Field K] → AbstractCompletion.{u_2, u_2} (WithVal (RatFunc.polynomialValuationX K))

The X-adic completion as an abstract completion of K⟮X⟯

instance LaurentSeries.instFieldSpaceWithValRatFuncWithZeroMultiplicativeIntPolynomialValuationXRatfuncAdicComplPkg E0 #

{K : Type u_2} → [inst : Field K] → Field LaurentSeries.ratfuncAdicComplPkg.space

instance LaurentSeries.instValuedSpaceWithValRatFuncWithZeroMultiplicativeIntPolynomialValuationXRatfuncAdicComplPkg E0 #

{K : Type u_2} → [inst : Field K] → Valued LaurentSeries.ratfuncAdicComplPkg.space (WithZero (Multiplicative ℤ))

def LaurentSeries.LaurentSeriesPkg E1 #

(K : Type u_2) → [inst : Field K] → AbstractCompletion.{u_2, u_2} (WithVal (RatFunc.polynomialValuationX K))

Having established that the K⸨X⸩ is complete and contains K⟮X⟯ as a dense subspace, it gives rise to an abstract completion of K⟮X⟯.

theorem LaurentSeries.continuous_coe' E1 #

∀ (K : Type u_2) [inst : Field K],
  Continuous (⇑(algebraMap (RatFunc K) (LaurentSeries K)) ∘ ⇑(WithVal.equiv (RatFunc.polynomialValuationX K)))

instance LaurentSeries.instTopologicalSpaceSpaceWithValRatFuncWithZeroMultiplicativeIntPolynomialValuationXLaurentSeriesPkg E0 #

(K : Type u_2) → [inst : Field K] → TopologicalSpace (LaurentSeries.LaurentSeriesPkg K).space

theorem LaurentSeries.LaurentSeries_coe E0 #

∀ (K : Type u_2) [inst : Field K] (x : RatFunc K),
  (LaurentSeries.LaurentSeriesPkg K).coe (WithVal.toVal (RatFunc.polynomialValuationX K) x) =
    (algebraMap (RatFunc K) (LaurentSeries K)) x

abbrev LaurentSeries.extensionAsRingHom E1 #

(K : Type u_2) →
  [inst : Field K] →
    Continuous
        ⇑((algebraMap (RatFunc K) (LaurentSeries K)).comp (WithVal.equiv (RatFunc.polynomialValuationX K)).toRingHom) →
      [CompleteSpace (LaurentSeries K)] →
        [T0Space (LaurentSeries K)] →
          UniformSpace.Completion (WithVal (RatFunc.polynomialValuationX K)) →+* LaurentSeries K

Reinterpret the extension of coe : WithVal ((idealX K).valuation _) → K⸨X⸩ as a ring homomorphism

instance LaurentSeries.instUniformSpaceRatFuncAdicCompl E0 #

(K : Type u_2) → [inst : Field K] → UniformSpace (LaurentSeries.RatFuncAdicCompl K)

instance LaurentSeries.instUniformSpace E0 #

(K : Type u_2) → [inst : Field K] → UniformSpace (LaurentSeries K)

abbrev LaurentSeries.comparePkg E1 #

(K : Type u_2) → [inst : Field K] → LaurentSeries.RatFuncAdicCompl K ≃ᵤ LaurentSeries K

The uniform space isomorphism between two abstract completions of ratfunc K

theorem LaurentSeries.comparePkg_eq_extension E1 #

∀ (K : Type u_2) [inst : Field K] (x : LaurentSeries.RatFuncAdicCompl K),
  (LaurentSeries.comparePkg K) x = (LaurentSeries.extensionAsRingHom K ⋯) x.toCompletion

abbrev LaurentSeries.ratfuncAdicComplRingEquiv E1 #

(K : Type u_2) → [inst : Field K] → LaurentSeries.RatFuncAdicCompl K ≃+* LaurentSeries K

The ring equivalence between RatFuncAdicCompl K and K⸨X⸩.

abbrev LaurentSeries.LaurentSeriesRingEquiv E1 #

(K : Type u_2) → [inst : Field K] → LaurentSeries K ≃+* LaurentSeries.RatFuncAdicCompl K

The uniform space equivalence between two abstract completions of ratfunc K as a ring equivalence: it goes from K⸨X⸩ to RatFuncAdicCompl K

theorem LaurentSeries.LaurentSeriesRingEquiv_def E0 #

∀ (K : Type u_2) [inst : Field K] (f : PowerSeries K),
  (LaurentSeries.LaurentSeriesRingEquiv K) ((HahnSeries.ofPowerSeries ℤ K) f) =
    IsDedekindDomain.HeightOneSpectrum.adicCompletion.ofCompletion
      ((LaurentSeries.LaurentSeriesPkg K).compare LaurentSeries.ratfuncAdicComplPkg ((HahnSeries.ofPowerSeries ℤ K) f))

theorem LaurentSeries.ratfuncAdicComplRingEquiv_apply E0 #

∀ (K : Type u_2) [inst : Field K] (x : LaurentSeries.RatFuncAdicCompl K),
  (LaurentSeries.ratfuncAdicComplRingEquiv K) x =
    LaurentSeries.ratfuncAdicComplPkg.compare (LaurentSeries.LaurentSeriesPkg K) x.toCompletion

theorem LaurentSeries.coe_X_compare E0 #

∀ (K : Type u_2) [inst : Field K],
  (LaurentSeries.ratfuncAdicComplRingEquiv K)
      (IsDedekindDomain.HeightOneSpectrum.adicCompletion.ofCompletion
        ↑(WithVal.toVal (IsDedekindDomain.HeightOneSpectrum.valuation (RatFunc K) (Polynomial.idealX K)) RatFunc.X)) =
    (HahnSeries.ofPowerSeries ℤ K) PowerSeries.X

theorem LaurentSeries.algebraMap_apply E0 #

∀ (K : Type u_2) [inst : Field K] (a : K), (algebraMap K (LaurentSeries K)) a = HahnSeries.C a

instance LaurentSeries.instAlgebraRatFuncAdicCompl E0 #

(K : Type u_2) → [inst : Field K] → Algebra K (LaurentSeries.RatFuncAdicCompl K)

def LaurentSeries.LaurentSeriesAlgEquiv E1 #

(K : Type u_2) → [inst : Field K] → LaurentSeries K ≃ₐ[K] LaurentSeries.RatFuncAdicCompl K

The algebra equivalence between K⸨X⸩ and the X-adic completion of RatFunc X

theorem LaurentSeries.valuation_LaurentSeries_equal_extension E1 #

∀ (K : Type u_2) [inst : Field K], ⋯.extend ⇑Valued.v = ⇑Valued.v

theorem LaurentSeries.tendsto_valuation E1 #

∀ (K : Type u_2) [inst : Field K]
  (a : IsDedekindDomain.HeightOneSpectrum.adicCompletion (RatFunc K) (Polynomial.idealX K)),
  Filter.Tendsto (⇑Valued.v)
    (Filter.comap
      (fun x ↦
        IsDedekindDomain.HeightOneSpectrum.adicCompletion.ofCompletion
          ↑(WithVal.toVal (IsDedekindDomain.HeightOneSpectrum.valuation (RatFunc K) (Polynomial.idealX K)) x))
      (nhds a))
    (nhds (Valued.v a))

theorem LaurentSeries.valuation_compare E1 #

∀ (K : Type u_2) [inst : Field K] (f : LaurentSeries K),
  Valued.v ((LaurentSeries.LaurentSeriesRingEquiv K) f) = Valued.v f

The extension of the X-adic valuation from K⟮X⟯ up to its abstract completion coincides, modulo the isomorphism with K⸨X⸩, with the X-adic valuation on K⸨X⸩.

abbrev LaurentSeries.powerSeries_as_subring E1 #

(K : Type u_2) → [inst : Field K] → Subring (LaurentSeries K)

In order to compare K⟦X⟧ with the valuation subring in the X-adic completion of K⟮X⟯ we consider its alias as a subring of K⸨X⸩.

abbrev LaurentSeries.powerSeriesEquivSubring E1 #

(K : Type u_2) → [inst : Field K] → PowerSeries K ≃+* ↥(LaurentSeries.powerSeries_as_subring K)

The ring K⟦X⟧ is isomorphic to the subring powerSeries_as_subring K

theorem LaurentSeries.powerSeriesEquivSubring_apply E0 #

∀ (K : Type u_2) [inst : Field K] (f : PowerSeries K),
  (LaurentSeries.powerSeriesEquivSubring K) f = ⟨(HahnSeries.ofPowerSeries ℤ K) f, ⋯⟩

theorem LaurentSeries.powerSeriesEquivSubring_coe_apply E0 #

∀ (K : Type u_2) [inst : Field K] (f : PowerSeries K),
  ↑((LaurentSeries.powerSeriesEquivSubring K) f) = (HahnSeries.ofPowerSeries ℤ K) f

theorem LaurentSeries.mem_integers_of_powerSeries E0 #

∀ (K : Type u_2) [inst : Field K] (F : PowerSeries K),
  (LaurentSeries.LaurentSeriesRingEquiv K) ((HahnSeries.ofPowerSeries ℤ K) F) ∈
    IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K)

Through the isomorphism LaurentSeriesRingEquiv, power series land in the unit ball inside the completion of K⟮X⟯.

theorem LaurentSeries.exists_powerSeries_of_memIntegers E1 #

∀ (K : Type u_2) [inst : Field K] {x : LaurentSeries.RatFuncAdicCompl K},
  x ∈ IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K) →
    ∃ F, (LaurentSeries.LaurentSeriesRingEquiv K) ((HahnSeries.ofPowerSeries ℤ K) F) = x

Conversely, all elements in the unit ball inside the completion of K⟮X⟯ come from a power series through the isomorphism LaurentSeriesRingEquiv.

theorem LaurentSeries.powerSeries_ext_subring E1 #

∀ (K : Type u_2) [inst : Field K],
  Subring.map (LaurentSeries.LaurentSeriesRingEquiv K).toRingHom (LaurentSeries.powerSeries_as_subring K) =
    (IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K)).toSubring

abbrev LaurentSeries.powerSeriesRingEquiv E1 #

(K : Type u_2) →
  [inst : Field K] →
    PowerSeries K ≃+* ↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K))

The ring isomorphism between K⟦X⟧ and the unit ball inside the X-adic completion of K⟮X⟯.

theorem LaurentSeries.powerSeriesRingEquiv_coe_apply E0 #

∀ (K : Type u_2) [inst : Field K] (f : PowerSeries K),
  ↑((LaurentSeries.powerSeriesRingEquiv K) f) =
    (LaurentSeries.LaurentSeriesRingEquiv K) ((HahnSeries.ofPowerSeries ℤ K) f)

theorem LaurentSeries.LaurentSeriesRingEquiv_mem_valuationSubring E1 #

∀ (K : Type u_2) [inst : Field K] (f : PowerSeries K),
  (LaurentSeries.LaurentSeriesRingEquiv K) ((HahnSeries.ofPowerSeries ℤ K) f) ∈ Valued.v.valuationSubring

theorem LaurentSeries.algebraMap_C_mem_adicCompletionIntegers E1 #

∀ (K : Type u_2) [inst : Field K] (x : K),
  ((LaurentSeries.LaurentSeriesRingEquiv K).toRingHom.comp HahnSeries.C) x ∈
    IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K)

instance LaurentSeries.instAlgebraSubtypeAdicCompletionPolynomialRatFuncIdealXMemValuationSubringAdicCompletionIntegers E0 #

(K : Type u_2) →
  [inst : Field K] →
    Algebra K ↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K))

def LaurentSeries.powerSeriesAlgEquiv E1 #

(K : Type u_2) →
  [inst : Field K] →
    PowerSeries K ≃ₐ[K] ↥(IsDedekindDomain.HeightOneSpectrum.adicCompletionIntegers (RatFunc K) (Polynomial.idealX K))

The algebra isomorphism between K⟦X⟧ and the unit ball inside the X-adic completion of K⟮X⟯.