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

50 declarations and 1 deprecated aliases. Mathlib docs · Source

Valuation Rings

A valuation ring is a domain such that for every pair of elements a b, either a divides b or vice-versa.

Any valuation ring induces a natural valuation on its fraction field, as we show in this file. Namely, given the following instances: [CommRing A] [IsDomain A] [ValuationRing A] [Field K] [Algebra A K] [IsFractionRing A K], there is a natural valuation Valuation A K on K with values in value_group A K where the image of A under algebraMap A K agrees with (Valuation A K).integer.

We also provide the equivalence of the following notions for a domain R in ValuationRing.TFAE.

  1. R is a valuation ring.
  2. For each x : FractionRing K, either x or x⁻¹ is in R.
  3. "divides" is a total relation on the elements of R.
  4. "contains" is a total relation on the ideals of R.
  5. R is a local bezout domain.

We also show that, given a valuation v on a field K, the ring of valuation integers is a valuation ring and K is the fraction field of this ring.

Implementation notes

The Mathlib definition of a valuation ring requires IsDomain A even though the condition does not mention zero divisors. Thus, there is a technical PreValuationRing A that is defined in further generality that can be used in places where the ring cannot be a domain. The ValuationRing class is kept to be in sync with the literature.

class PreValuationRing E1 #

(A : Type u) → [Mul A] → Prop

A magma is called a PreValuationRing provided that for any pair of elements a b : A, either a divides b or vice versa.

ctor PreValuationRing.mk E0 #

∀ {A : Type u} [inst : Mul A], (∀ (a b : A), ∃ c, a * c = b ∨ b * c = a) → PreValuationRing A

theorem PreValuationRing.cond' E1 #

∀ {A : Type u} {inst : Mul A} [self : PreValuationRing A] (a b : A), ∃ c, a * c = b ∨ b * c = a

theorem PreValuationRing.cond E1 #

∀ {A : Type u} [inst : Mul A] [PreValuationRing A] (a b : A), ∃ c, a * c = b ∨ b * c = a

class ValuationRing E1 #

(A : Type u) → [inst : CommRing A] → [IsDomain A] → Prop

An integral domain is called a ValuationRing provided that for any pair of elements a b : A, either a divides b or vice versa.

instance ValuationRing.toPreValuationRing E0 #

∀ {A : Type u} {inst : CommRing A} {inst_1 : IsDomain A} [self : ValuationRing A], PreValuationRing A

ctor ValuationRing.mk E0 #

∀ {A : Type u} [inst : CommRing A] [inst_1 : IsDomain A] [toPreValuationRing : PreValuationRing A], ValuationRing A

theorem ValuationRing.cond E1 #

∀ {A : Type u} [inst : Mul A] [PreValuationRing A] (a b : A), ∃ c, a * c = b ∨ b * c = a

An abbreviation for PreValuationRing.cond which should save some writing.

def ValuationRing.ValueGroup E1 #

(A : Type u) → [inst : CommRing A] → (K : Type v) → [inst_1 : Field K] → [Algebra A K] → Type v

The value group of the valuation ring A. Note: this is actually a group with zero.

instance ValuationRing.instInhabitedValueGroup E0 #

(A : Type u) →
  [inst : CommRing A] →
    (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → Inhabited (ValuationRing.ValueGroup A K)

instance ValuationRing.instLEValueGroup E0 #

(A : Type u) →
  [inst : CommRing A] → (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → LE (ValuationRing.ValueGroup A K)

instance ValuationRing.instZeroValueGroup E0 #

(A : Type u) →
  [inst : CommRing A] → (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → Zero (ValuationRing.ValueGroup A K)

instance ValuationRing.instOneValueGroup E0 #

(A : Type u) →
  [inst : CommRing A] → (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → One (ValuationRing.ValueGroup A K)

instance ValuationRing.instMulValueGroup E0 #

(A : Type u) →
  [inst : CommRing A] → (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → Mul (ValuationRing.ValueGroup A K)

instance ValuationRing.instInvValueGroup E0 #

(A : Type u) →
  [inst : CommRing A] → (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → Inv (ValuationRing.ValueGroup A K)

instance ValuationRing.instNontrivialValueGroup E0 #

∀ (A : Type u) [inst : CommRing A] (K : Type v) [inst_1 : Field K] [inst_2 : Algebra A K],
  Nontrivial (ValuationRing.ValueGroup A K)

theorem ValuationRing.le_total E1 #

∀ (A : Type u) [inst : CommRing A] (K : Type v) [inst_1 : Field K] [inst_2 : Algebra A K] [inst_3 : IsDomain A]
  [ValuationRing A] [IsFractionRing A K] (a b : ValuationRing.ValueGroup A K), a ≤ b ∨ b ≤ a

instance ValuationRing.linearOrder E0 #

(A : Type u) →
  [inst : CommRing A] →
    (K : Type v) →
      [inst_1 : Field K] →
        [inst_2 : Algebra A K] →
          [inst_3 : IsDomain A] → [ValuationRing A] → [IsFractionRing A K] → LinearOrder (ValuationRing.ValueGroup A K)

instance ValuationRing.commGroupWithZero E0 #

(A : Type u) →
  [inst : CommRing A] →
    (K : Type v) → [inst_1 : Field K] → [inst_2 : Algebra A K] → CommGroupWithZero (ValuationRing.ValueGroup A K)

instance ValuationRing.linearOrderedCommGroupWithZero E0 #

(A : Type u) →
  [inst : CommRing A] →
    (K : Type v) →
      [inst_1 : Field K] →
        [inst_2 : Algebra A K] →
          [inst_3 : IsDomain A] →
            [ValuationRing A] → [IsFractionRing A K] → LinearOrderedCommGroupWithZero (ValuationRing.ValueGroup A K)

def ValuationRing.valuation E1 #

(A : Type u) →
  [inst : CommRing A] →
    (K : Type v) →
      [inst_1 : Field K] →
        [inst_2 : Algebra A K] →
          [inst_3 : IsDomain A] →
            [inst_4 : ValuationRing A] → [inst_5 : IsFractionRing A K] → Valuation K (ValuationRing.ValueGroup A K)

Any valuation ring induces a valuation on its fraction field.

theorem ValuationRing.mem_integer_iff E0 #

∀ (A : Type u) [inst : CommRing A] (K : Type v) [inst_1 : Field K] [inst_2 : Algebra A K] [inst_3 : IsDomain A]
  [inst_4 : ValuationRing A] [inst_5 : IsFractionRing A K] (x : K),
  x ∈ (ValuationRing.valuation A K).integer ↔ ∃ a, (algebraMap A K) a = x

def ValuationRing.equivInteger E1 #

(A : Type u) →
  [inst : CommRing A] →
    (K : Type v) →
      [inst_1 : Field K] →
        [inst_2 : Algebra A K] →
          [inst_3 : IsDomain A] →
            [inst_4 : ValuationRing A] → [inst_5 : IsFractionRing A K] → A ≃+* ↥(ValuationRing.valuation A K).integer

The valuation ring A is isomorphic to the ring of integers of its associated valuation.

theorem ValuationRing.coe_equivInteger_apply E0 #

∀ (A : Type u) [inst : CommRing A] (K : Type v) [inst_1 : Field K] [inst_2 : Algebra A K] [inst_3 : IsDomain A]
  [inst_4 : ValuationRing A] [inst_5 : IsFractionRing A K] (a : A),
  ↑((ValuationRing.equivInteger A K) a) = (algebraMap A K) a

theorem ValuationRing.range_algebraMap_eq E0 #

∀ (A : Type u) [inst : CommRing A] (K : Type v) [inst_1 : Field K] [inst_2 : Algebra A K] [inst_3 : IsDomain A]
  [inst_4 : ValuationRing A] [inst_5 : IsFractionRing A K],
  (ValuationRing.valuation A K).integer = (algebraMap A K).range

theorem ValuationRing.integers E1 #

∀ (A : Type u) [inst : CommRing A] (K : Type v) [inst_1 : Field K] [inst_2 : Algebra A K] [inst_3 : IsDomain A]
  [inst_4 : ValuationRing A] [inst_5 : IsFractionRing A K], (ValuationRing.valuation A K).Integers A

instance ValuationRing.isLocalRing E0 #

∀ (A : Type u) [inst : CommRing A] [Nontrivial A] [PreValuationRing A], IsLocalRing A

instance ValuationRing.le_total_ideal E0 #

∀ (A : Type u) [inst : CommRing A] [PreValuationRing A], Std.Total fun x1 x2 ↦ x1 ≤ x2

instance ValuationRing.instLinearOrderIdealOfDecidableLE E0 #

(A : Type u) → [inst : CommRing A] → [PreValuationRing A] → [DecidableLE (Ideal A)] → LinearOrder (Ideal A)

theorem PreValuationRing.iff_dvd_total E1 #

∀ {R : Type u_1} [inst : Semigroup R], PreValuationRing R ↔ Std.Total fun x1 x2 ↦ x1 ∣ x2

theorem PreValuationRing.iff_ideal_total E1 #

∀ {R : Type u_1} [inst : CommRing R], PreValuationRing R ↔ Std.Total fun x1 x2 ↦ x1 ≤ x2

theorem ValuationRing.dvd_total E1 #

∀ {R : Type u_1} [inst : Semigroup R] [h : PreValuationRing R] (x y : R), x ∣ y ∨ y ∣ x

theorem ValuationRing.iff_dvd_total E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R], ValuationRing R ↔ Std.Total fun x1 x2 ↦ x1 ∣ x2

theorem ValuationRing.iff_ideal_total E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R], ValuationRing R ↔ Std.Total fun x1 x2 ↦ x1 ≤ x2

theorem ValuationRing.unique_irreducible E1 #

∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] [PreValuationRing R] ⦃p q : R⦄,
  Irreducible p → Irreducible q → Associated p q

theorem ValuationRing.iff_isInteger_or_isInteger E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] (K : Type u_2) [inst_2 : Field K] [inst_3 : Algebra R K]
  [IsFractionRing R K], ValuationRing R ↔ ∀ (x : K), IsLocalization.IsInteger R x ∨ IsLocalization.IsInteger R x⁻¹

theorem ValuationRing.isInteger_or_isInteger E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] {K : Type u_2} [inst_2 : Field K] [inst_3 : Algebra R K]
  [IsFractionRing R K] [h : ValuationRing R] (x : K), IsLocalization.IsInteger R x ∨ IsLocalization.IsInteger R x⁻¹

instance ValuationRing.instIsBezout E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [ValuationRing R], IsBezout R

instance ValuationRing.instOfIsLocalRingOfIsBezout E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [IsLocalRing R] [IsBezout R], ValuationRing R

theorem ValuationRing.iff_local_bezout_domain E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R], ValuationRing R ↔ IsLocalRing R ∧ IsBezout R

theorem ValuationRing.tfae E1 #

∀ (R : Type u) [inst : CommRing R] [inst_1 : IsDomain R],
  [ValuationRing R, ∀ (x : FractionRing R), IsLocalization.IsInteger R x ∨ IsLocalization.IsInteger R x⁻¹,
      Std.Total fun x1 x2 ↦ x1 ∣ x2, Std.Total fun x1 x2 ↦ x1 ≤ x2, IsLocalRing R ∧ IsBezout R].TFAE

theorem Function.Surjective.preValuationRing E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Mul R] [PreValuationRing R] [inst_2 : Mul S] (f : R →ₙ* S),
  Function.Surjective ⇑f → PreValuationRing S

theorem Function.Surjective.valuationRing E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : NonAssocSemiring R] [PreValuationRing R] [inst_2 : CommRing S]
  [inst_3 : IsDomain S] (f : R →+* S), Function.Surjective ⇑f → ValuationRing S

theorem isFractionRing_of_exists_eq_algebraMap_or_inv_eq_algebraMap_of_injective E1 #

∀ {𝒪 : Type u} {K : Type v} [inst : CommRing 𝒪] [inst_1 : Field K] [inst_2 : Algebra 𝒪 K],
  (∀ (x : K), ∃ a, x = (algebraMap 𝒪 K) a ∨ x⁻¹ = (algebraMap 𝒪 K) a) →
    Function.Injective ⇑(algebraMap 𝒪 K) → IsFractionRing 𝒪 K

theorem Valuation.Integers.isFractionRing E1 #

∀ {𝒪 : Type u} {K : Type v} {Γ : Type w} [inst : CommRing 𝒪] [inst_1 : Field K] [inst_2 : Algebra 𝒪 K]
  [inst_3 : LinearOrderedCommGroupWithZero Γ] {v : Valuation K Γ}, v.Integers 𝒪 → IsFractionRing 𝒪 K

instance ValuationRing.instIsFractionRingInteger E0 #

∀ {K : Type v} {Γ : Type w} [inst : Field K] [inst_1 : LinearOrderedCommGroupWithZero Γ] (v : Valuation K Γ),
  IsFractionRing (↥v.integer) K

theorem ValuationRing.of_integers E1 #

∀ {𝒪 : Type u} {K : Type v} {Γ : Type w} [inst : CommRing 𝒪] [inst_1 : Field K] [inst_2 : Algebra 𝒪 K]
  [inst_3 : LinearOrderedCommGroupWithZero Γ] (v : Valuation K Γ) (hh : v.Integers 𝒪), ValuationRing 𝒪

If 𝒪 satisfies v.integers 𝒪 where v is a valuation on a field, then 𝒪 is a valuation ring.

instance ValuationRing.instValuationRingInteger E0 #

∀ {K : Type v} {Γ : Type w} [inst : Field K] [inst_1 : LinearOrderedCommGroupWithZero Γ] (v : Valuation K Γ),
  ValuationRing ↥v.integer

theorem ValuationRing.isFractionRing_iff E0 #

∀ {𝒪 : Type u} {K : Type v} [inst : CommRing 𝒪] [inst_1 : Field K] [inst_2 : Algebra 𝒪 K] [inst_3 : IsDomain 𝒪]
  [ValuationRing 𝒪],
  IsFractionRing 𝒪 K ↔
    (∀ (x : K), ∃ a, x = (algebraMap 𝒪 K) a ∨ x⁻¹ = (algebraMap 𝒪 K) a) ∧ Function.Injective ⇑(algebraMap 𝒪 K)

instance ValuationRing.of_field E0 #

∀ (K : Type u) [inst : Field K], ValuationRing K

A field is a valuation ring.

Deprecated aliases

NameNew nameSince
ValuationRing.TFAEValuationRing.tfae2026-10-27