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

15 declarations. Mathlib docs · Source

LexOrder of multivariate power series

Given an ordering of σ such that WellFoundedGT σ, the lexicographic order on σ →₀ ℕ is a well ordering, which can be used to define a natural valuation lexOrder on the ring MvPowerSeries σ R: the smallest exponent in the support.

theorem MvPowerSeries.lexOrder.congr_simp E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  (φ φ_1 : MvPowerSeries σ R), φ = φ_1 → φ.lexOrder = φ_1.lexOrder

def MvPowerSeries.lexOrder E1 #

{σ : Type u_1} →
  {R : Type u_2} →
    [Semiring R] → [inst : LinearOrder σ] → [WellFoundedGT σ] → MvPowerSeries σ R → WithTop (Lex (σ →₀ ℕ))

The lex order on multivariate power series.

theorem MvPowerSeries.lexOrder_def_of_ne_zero E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ : MvPowerSeries σ R},
  φ ≠ 0 → ∃ (ne : (⇑toLex '' Function.support φ).Nonempty), φ.lexOrder = ↑(⋯.min (⇑toLex '' Function.support φ) ne)

theorem MvPowerSeries.lexOrder_eq_top_iff_eq_zero E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  (φ : MvPowerSeries σ R), φ.lexOrder = ⊤ ↔ φ = 0

theorem MvPowerSeries.lexOrder_zero E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ],
  MvPowerSeries.lexOrder 0 = ⊤

theorem MvPowerSeries.exists_finsupp_eq_lexOrder_of_ne_zero E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ : MvPowerSeries σ R}, φ ≠ 0 → ∃ d, φ.lexOrder = ↑(toLex d)

theorem MvPowerSeries.coeff_ne_zero_of_lexOrder E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ : MvPowerSeries σ R} {d : σ →₀ ℕ}, ↑(toLex d) = φ.lexOrder → (MvPowerSeries.coeff d) φ ≠ 0

theorem MvPowerSeries.coeff_eq_zero_of_lt_lexOrder E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ : MvPowerSeries σ R} {d : σ →₀ ℕ}, ↑(toLex d) < φ.lexOrder → (MvPowerSeries.coeff d) φ = 0

theorem MvPowerSeries.lexOrder_le_of_coeff_ne_zero E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ : MvPowerSeries σ R} {d : σ →₀ ℕ}, (MvPowerSeries.coeff d) φ ≠ 0 → φ.lexOrder ≤ ↑(toLex d)

theorem MvPowerSeries.le_lexOrder_iff E0 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ : MvPowerSeries σ R} {w : WithTop (Lex (σ →₀ ℕ))},
  w ≤ φ.lexOrder ↔ ∀ (d : σ →₀ ℕ), ↑(toLex d) < w → (MvPowerSeries.coeff d) φ = 0

theorem MvPowerSeries.min_lexOrder_le E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ ψ : MvPowerSeries σ R}, min φ.lexOrder ψ.lexOrder ≤ (φ + ψ).lexOrder

theorem MvPowerSeries.coeff_mul_of_add_lexOrder E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  {φ ψ : MvPowerSeries σ R} {p q : σ →₀ ℕ},
  φ.lexOrder = ↑(toLex p) →
    ψ.lexOrder = ↑(toLex q) →
      (MvPowerSeries.coeff (p + q)) (φ * ψ) = (MvPowerSeries.coeff p) φ * (MvPowerSeries.coeff q) ψ

theorem MvPowerSeries.le_lexOrder_mul E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  (φ ψ : MvPowerSeries σ R), φ.lexOrder + ψ.lexOrder ≤ (φ * ψ).lexOrder

theorem MvPowerSeries.lexOrder_mul_ge E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  (φ ψ : MvPowerSeries σ R), φ.lexOrder + ψ.lexOrder ≤ (φ * ψ).lexOrder

Alias of MvPowerSeries.le_lexOrder_mul.

theorem MvPowerSeries.lexOrder_mul E1 #

∀ {σ : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : LinearOrder σ] [inst_2 : WellFoundedGT σ]
  [NoZeroDivisors R] (φ ψ : MvPowerSeries σ R), (φ * ψ).lexOrder = φ.lexOrder + ψ.lexOrder