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 / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.Valuation.Integers

57 declarations and 3 deprecated aliases. Mathlib docs · Source

Ring of integers under a given valuation

The elements with valuation less than or equal to 1.

TODO: Define characteristic predicate.

def Valuation.integer E1 #

{R : Type u} →
  {Γ₀ : Type v} → [inst : Ring R] → [inst_1 : LinearOrderedCommGroupWithZero Γ₀] → Valuation R Γ₀ → Subring R

The ring of integers under a given valuation is the subring of elements with valuation ≤ 1.

theorem Valuation.mem_integer_iff E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀) (r : R),
  r ∈ v.integer ↔ v r ≤ 1

structure Valuation.Integers E1 #

{R : Type u} →
  {Γ₀ : Type v} →
    [inst : CommRing R] →
      [inst_1 : LinearOrderedCommGroupWithZero Γ₀] →
        Valuation R Γ₀ → (O : Type w) → [inst_2 : CommRing O] → [Algebra O R] → Prop

Given a valuation v : R → Γ₀ and a ring homomorphism O →+* R, we say that O is the integers of v if f is injective, and its range is exactly v.integer.

ctor Valuation.Integers.mk E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R],
  Function.Injective ⇑(algebraMap O R) →
    (∀ (x : O), v ((algebraMap O R) x) ≤ 1) → (∀ ⦃r : R⦄, v r ≤ 1 → ∃ x, (algebraMap O R) x = r) → v.Integers O

theorem Valuation.Integers.hom_inj E2 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R], v.Integers O → Function.Injective ⇑(algebraMap O R)

theorem Valuation.Integers.map_le_one E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R], v.Integers O → ∀ (x : O), v ((algebraMap O R) x) ≤ 1

theorem Valuation.Integers.exists_of_le_one E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R],
  v.Integers O → ∀ ⦃r : R⦄, v r ≤ 1 → ∃ x, (algebraMap O R) x = r

instance Valuation.instAlgebraSubtypeMemSubringInteger E0 #

{R : Type u} →
  {Γ₀ : Type v} →
    [inst : CommRing R] → [inst_1 : LinearOrderedCommGroupWithZero Γ₀] → (v : Valuation R Γ₀) → Algebra (↥v.integer) R

theorem Valuation.integer.integers E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀),
  v.Integers ↥v.integer

theorem Valuation.Integers.one_of_isUnit' E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R] {x : O},
  IsUnit x → (∀ (x : O), v ((algebraMap O R) x) ≤ 1) → v ((algebraMap O R) x) = 1

theorem Valuation.Integers.one_of_isUnit E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R],
  v.Integers O → ∀ {x : O}, IsUnit x → v ((algebraMap O R) x) = 1

theorem Valuation.Integers.isUnit_of_one E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R],
  v.Integers O → ∀ {x : O}, IsUnit ((algebraMap O R) x) → v ((algebraMap O R) x) = 1 → IsUnit x

Let O be the integers of the valuation v on some commutative ring R. For every element x in O, x is a unit in O if and only if the image of x in R is a unit and has valuation 1.

theorem Valuation.Integers.le_of_dvd E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R],
  v.Integers O → ∀ {x y : O}, x ∣ y → v ((algebraMap O R) y) ≤ v ((algebraMap O R) x)

theorem Valuation.Integers.nontrivial_iff E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O R], v.Integers O → (Nontrivial O ↔ Nontrivial R)

theorem Valuation.IsTrivialOn.of_le_one E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {k : Type u_1}
  [inst_2 : Field k] [inst_3 : Algebra k R] (v : Valuation R Γ₀),
  (∀ (x : k), v ((algebraMap k R) x) ≤ 1) → Valuation.IsTrivialOn k v

theorem Valuation.integers_nontrivial E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : CommRing R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀),
  Nontrivial ↥v.integer ↔ Nontrivial R

theorem Valuation.Integers.dvd_of_le E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x y : O}, v ((algebraMap O F) x) ≤ v ((algebraMap O F) y) → y ∣ x

theorem Valuation.Integers.dvd_iff_le E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x y : O}, x ∣ y ↔ v ((algebraMap O F) y) ≤ v ((algebraMap O F) x)

theorem Valuation.Integers.le_iff_dvd E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x y : O}, v ((algebraMap O F) x) ≤ v ((algebraMap O F) y) ↔ y ∣ x

theorem Valuation.Integers.isUnit_of_one' E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x : O}, v ((algebraMap O F) x) = 1 → IsUnit x

This is the special case of Valuation.Integers.isUnit_of_one when the valuation is defined over a field. Let v be a valuation on some field F and O be its integers. For every element x in O, x is a unit in O if and only if the image of x in F has valuation 1.

theorem Valuation.Integers.isUnit_iff_valuation_eq_one E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x : O}, IsUnit x ↔ v ((algebraMap O F) x) = 1

theorem Valuation.Integers.valuation_irreducible_lt_one E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {ϖ : O}, Irreducible ϖ → v ((algebraMap O F) ϖ) < 1

theorem Valuation.Integers.valuation_unit E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F], v.Integers O → ∀ (x : Oˣ), v ((algebraMap O F) ↑x) = 1

theorem Valuation.Integers.valuation_pos_iff_ne_zero E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x : O}, 0 < v ((algebraMap O F) x) ↔ x ≠ 0

theorem Valuation.Integers.valuation_irreducible_pos E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {ϖ : O}, Irreducible ϖ → 0 < v ((algebraMap O F) ϖ)

theorem Valuation.Integers.dvdNotUnit_iff_lt E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {x y : O}, DvdNotUnit x y ↔ v ((algebraMap O F) y) < v ((algebraMap O F) x)

theorem Valuation.Integers.coe_span_singleton_eq_setOfPred_le_v_algebraMap E0 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ (x : O), ↑(Ideal.span {x}) = {y | v ((algebraMap O F) y) ≤ v ((algebraMap O F) x)}

theorem Valuation.Integers.bijective_algebraMap_of_subsingleton_units_mrange E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ [Subsingleton (↥(MonoidHom.mrange v))ˣ], Function.Bijective ⇑(algebraMap O F)

theorem Valuation.Integers.isPrincipal_iff_exists_isGreatest E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O → ∀ {I : Ideal O}, Submodule.IsPrincipal I ↔ ∃ x, IsGreatest (⇑v ∘ ⇑(algebraMap O F) '' ↑I) x

theorem Valuation.Integers.isPrincipal_iff_exists_eq_setOfPred_valuation_le E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F],
  v.Integers O →
    ∀ {I : Ideal O}, Submodule.IsPrincipal I ↔ ∃ x, ↑I = {y | v ((algebraMap O F) y) ≤ v ((algebraMap O F) x)}

theorem Valuation.Integers.not_denselyOrdered_of_isPrincipalIdealRing E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {O : Type w} [inst_2 : CommRing O] [inst_3 : Algebra O F] [IsPrincipalIdealRing O],
  v.Integers O → ¬DenselyOrdered ↑(Set.range ⇑v)

theorem Valuation.Integer.not_isUnit_iff_valuation_lt_one E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {x : ↥v.integer}, ¬IsUnit x ↔ v ↑x < 1

theorem Valuation.integer.v_irreducible_lt_one E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {ϖ : ↥v.integer}, Irreducible ϖ → v ↑ϖ < 1

theorem Valuation.integer.v_irreducible_pos E1 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  {ϖ : ↥v.integer}, Irreducible ϖ → 0 < v ↑ϖ

theorem Valuation.integer.coe_span_singleton_eq_setOfPred_le_v_coe E0 #

∀ {F : Type u} {Γ₀ : Type v} [inst : Field F] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation F Γ₀}
  (x : ↥v.integer), ↑(Ideal.span {x}) = {y | v ↑y ≤ v ↑x}

def Valuation.leSubmodule E1 #

{R : Type u} →
  {Γ₀ : Type v} →
    [inst : Ring R] →
      [inst_1 : LinearOrderedCommGroupWithZero Γ₀] → (v : Valuation R Γ₀) → Γ₀ → Submodule (↥v.integer) R

The v.integer-submodule of R of elements whose valuation is less than or equal to a certain value.

def Valuation.ltSubmodule E1 #

{R : Type u} →
  {Γ₀ : Type v} →
    [inst : Ring R] →
      [inst_1 : LinearOrderedCommGroupWithZero Γ₀] → (v : Valuation R Γ₀) → Γ₀ˣ → Submodule (↥v.integer) R

The v.integer-submodule of R of elements whose valuation is less than a certain unit.

theorem Valuation.leSubmodule_monotone E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀),
  Monotone v.leSubmodule

theorem Valuation.ltSubmodule_monotone E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀),
  Monotone v.ltSubmodule

theorem Valuation.ltSubmodule_le_leSubmodule E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀)
  (γ : Γ₀ˣ), v.ltSubmodule γ ≤ v.leSubmodule ↑γ

theorem Valuation.mem_leSubmodule_iff E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀} {γ : Γ₀}
  {x : R}, x ∈ v.leSubmodule γ ↔ v x ≤ γ

theorem Valuation.mem_ltSubmodule_iff E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀} {γ : Γ₀ˣ}
  {x : R}, x ∈ v.ltSubmodule γ ↔ v x < ↑γ

theorem Valuation.leSubmodule_zero E0 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] (K : Type u_1) [inst_1 : Field K] (v : Valuation K Γ₀),
  v.leSubmodule 0 = ⊥

theorem Valuation.leSubmodule_v_le_of_mem E1 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_1} [inst_1 : Field K] (v : Valuation K Γ₀)
  {S : Submodule (↥v.integer) K} {x : K}, x ∈ S → v.leSubmodule (v x) ≤ S

theorem Valuation.ltSubmodule_v_le_of_mem E1 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_1} [inst_1 : Field K] {v : Valuation K Γ₀}
  {S : Submodule (↥v.integer) K} {x : K}, x ∈ S → ∀ (hxv : v x ≠ 0), v.ltSubmodule (Units.mk0 (v x) hxv) ≤ S

def Valuation.leIdeal E1 #

{R : Type u} →
  {Γ₀ : Type v} →
    [inst : Ring R] → [inst_1 : LinearOrderedCommGroupWithZero Γ₀] → (v : Valuation R Γ₀) → Γ₀ → Ideal ↥v.integer

The ideal of elements of the valuation subring whose valuation is less than or equal to a certain value.

def Valuation.ltIdeal E1 #

{R : Type u} →
  {Γ₀ : Type v} →
    [inst : Ring R] → [inst_1 : LinearOrderedCommGroupWithZero Γ₀] → (v : Valuation R Γ₀) → Γ₀ˣ → Ideal ↥v.integer

The ideal of elements of the valuation subring whose valuation is less than a certain unit.

theorem Valuation.leIdeal_mono E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀),
  Monotone v.leIdeal

theorem Valuation.ltIdeal_mono E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀),
  Monotone v.ltIdeal

theorem Valuation.ltIdeal_le_leIdeal E1 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation R Γ₀)
  (γ : Γ₀ˣ), v.ltIdeal γ ≤ v.leIdeal ↑γ

theorem Valuation.mem_leIdeal_iff E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀} {γ : Γ₀}
  {x : ↥v.integer}, x ∈ v.leIdeal γ ↔ v ↑x ≤ γ

theorem Valuation.mem_ltIdeal_iff E0 #

∀ {R : Type u} {Γ₀ : Type v} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀] {v : Valuation R Γ₀} {γ : Γ₀ˣ}
  {x : ↥v.integer}, x ∈ v.ltIdeal γ ↔ v ↑x < ↑γ

theorem Valuation.leIdeal_zero E0 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] (K : Type u_1) [inst_1 : Field K] (v : Valuation K Γ₀),
  v.leIdeal 0 = ⊥

theorem Valuation.leSubmodule_comap_algebraMap_eq_leIdeal E1 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_1} [inst_1 : Field K] (v : Valuation K Γ₀)
  (γ : Γ₀), Submodule.comap (Algebra.linearMap (↥v.integer) K) (v.leSubmodule γ) = v.leIdeal γ

theorem Valuation.leIdeal_map_algebraMap_eq_leSubmodule_min E1 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_1} [inst_1 : Field K] (v : Valuation K Γ₀)
  (γ : Γ₀), Submodule.map (Algebra.linearMap (↥v.integer) K) (v.leIdeal γ) = v.leSubmodule (min 1 γ)

theorem Valuation.leIdeal_v_le_of_mem E1 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_1} [inst_1 : Field K] (v : Valuation K Γ₀)
  {I : Ideal ↥v.integer} {x : ↥v.integer}, x ∈ I → v.leIdeal (v ↑x) ≤ I

theorem Valuation.ltIdeal_v_le_of_mem E1 #

∀ {Γ₀ : Type v} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_1} [inst_1 : Field K] {v : Valuation K Γ₀}
  {I : Ideal ↥v.integer} {x : ↥v.integer}, x ∈ I → ∀ (hxv : v ↑x ≠ 0), v.ltIdeal (Units.mk0 (v ↑x) hxv) ≤ I

Deprecated aliases

NameNew nameSince
Valuation.Integers.coe_span_singleton_eq_setOf_le_v_algebraMapValuation.Integers.coe_span_singleton_eq_setOfPred_le_v_algebraMap2026-07-09
Valuation.Integers.isPrincipal_iff_exists_eq_setOf_valuation_leValuation.Integers.isPrincipal_iff_exists_eq_setOfPred_valuation_le2026-07-09
Valuation.integer.coe_span_singleton_eq_setOf_le_v_coeValuation.integer.coe_span_singleton_eq_setOfPred_le_v_coe2026-07-09