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.DedekindDomain.Ideal.Basic

27 declarations and 3 deprecated aliases. Mathlib docs · Source

Dedekind domains and invertible ideals

In this file, we show a ring is a Dedekind domain iff all fractional ideals are invertible, and prove instances such as the unique factorization of ideals. Further results on the structure of ideals in a Dedekind domain are found in Mathlib/RingTheory/DedekindDomain/Ideal/Lemmas.lean.

Main definitions

  • isDedekindDomain_iff_mul_inv_cancel shows an integral domain is a Dedekind domain iff every nonzero fractional ideal is invertible.

Main results

  • isDedekindDomain_iff_mul_inv_cancel
  • Ideal.uniqueFactorizationMonoid

Implementation notes

The definitions that involve a field of fractions choose a canonical field of fractions, but are independent of that choice. The ..._iff lemmas express this independence.

Often, definitions assume that Dedekind domains are not fields. We found it more practical to add a (h : ¬ IsField A) assumption whenever this is explicitly needed.

References

  • [D. Marcus, Number Fields][marcus1977number]
  • [J.W.S. Cassels, A. Fröhlich, Algebraic Number Theory][cassels1967algebraic]
  • [J. Neukirch, Algebraic Number Theory][Neukirch1992]

Tags

dedekind domain, dedekind ring

theorem FractionRing.algEquiv.congr_simp E1 #

∀ (A : Type u_4) [inst : CommRing A] (K : Type u_6) [inst_1 : CommRing K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K], FractionRing.algEquiv A K = FractionRing.algEquiv A K

theorem FractionalIdeal.adjoinIntegral.congr_simp E1 #

∀ {R : Type u_1} [inst : CommRing R] (S : Submonoid R) {P : Type u_2} [inst_1 : CommRing P] [inst_2 : Algebra R P]
  [inst_3 : IsLocalization S P] (x x_1 : P) (e_x : x = x_1) (hx : IsIntegral R x),
  FractionalIdeal.adjoinIntegral S x hx = FractionalIdeal.adjoinIntegral S x_1 ⋯

theorem FractionalIdeal.adjoinIntegral_eq_one_of_isUnit E1 #

∀ {A : Type u_2} {K : Type u_3} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] [IsDomain A] (x : K) (hx : IsIntegral A x),
  IsUnit (FractionalIdeal.adjoinIntegral (nonZeroDivisors A) x hx) →
    FractionalIdeal.adjoinIntegral (nonZeroDivisors A) x hx = 1

theorem FractionalIdeal.one_mem_inv_coeIdeal E1 #

∀ {A : Type u_2} {K : Type u_3} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] [inst_4 : IsDomain A] {I : Ideal A}, I ≠ ⊥ → 1 ∈ (↑I)⁻¹

theorem PrimeSpectrum.exists_multiset_prod_cons_le_and_prod_not_le E2 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A],
  ¬IsField A →
    ∀ {I M : Ideal A},
      I ≠ ⊥ →
        I ≤ M →
          ∀ [hM : M.IsMaximal],
            ∃ Z,
              (M ::ₘ Multiset.map PrimeSpectrum.asIdeal Z).prod ≤ I ∧ ¬(Multiset.map PrimeSpectrum.asIdeal Z).prod ≤ I

Specialization of exists_primeSpectrum_prod_le_and_ne_bot_of_domain to Dedekind domains: Let I : Ideal A be a nonzero ideal, where A is a Dedekind domain that is not a field. Then exists_primeSpectrum_prod_le_and_ne_bot_of_domain states we can find a product of prime ideals that is contained within I. This lemma extends that result by making the product minimal: let M be a maximal ideal that contains I, then the product including M is contained within I and the product excluding M is not contained within I.

theorem FractionalIdeal.not_inv_le_one_of_ne_bot E1 #

∀ {A : Type u_2} {K : Type u_3} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] [inst_4 : IsDedekindDomain A] {I : Ideal A}, I ≠ ⊥ → I ≠ ⊤ → ¬(↑I)⁻¹ ≤ 1

theorem FractionalIdeal.coeIdeal_mul_inv E1 #

∀ {A : Type u_2} {K : Type u_3} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] [inst_4 : IsDedekindDomain A] (I : Ideal A), I ≠ ⊥ → ↑I * (↑I)⁻¹ = 1

Nonzero integral ideals in a Dedekind domain are invertible.

We will use this to show that nonzero fractional ideals are invertible, and finally conclude that fractional ideals in a Dedekind domain form a group with zero.

theorem isDedekindDomain_iff_mul_inv_cancel E3 #

∀ {A : Type u_2} {K : Type u_3} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] [inst_4 : IsDomain A],
  IsDedekindDomain A ↔ ∀ (I : FractionalIdeal (nonZeroDivisors A) K), I ≠ ⊥ → I * I⁻¹ = 1

instance FractionalIdeal.semifield E0 #

{A : Type u_2} →
  (K : Type u_3) →
    [inst : CommRing A] →
      [inst_1 : Field K] →
        [IsDedekindDomain A] →
          [inst_3 : Algebra A K] → [IsFractionRing A K] → Semifield (FractionalIdeal (nonZeroDivisors A) K)

instance FractionalIdeal.instPosMulStrictMonoNonZeroDivisors E0 #

∀ {A : Type u_2} (K : Type u_3) [inst : CommRing A] [inst_1 : Field K] [IsDedekindDomain A] [inst_3 : Algebra A K]
  [IsFractionRing A K], PosMulStrictMono (FractionalIdeal (nonZeroDivisors A) K)

instance FractionalIdeal.instMulPosStrictMonoNonZeroDivisors E0 #

∀ {A : Type u_2} (K : Type u_3) [inst : CommRing A] [inst_1 : Field K] [IsDedekindDomain A] [inst_3 : Algebra A K]
  [IsFractionRing A K], MulPosStrictMono (FractionalIdeal (nonZeroDivisors A) K)

instance FractionalIdeal.instPosMulReflectLENonZeroDivisors E0 #

∀ {A : Type u_2} (K : Type u_3) [inst : CommRing A] [inst_1 : Field K] [IsDedekindDomain A] [inst_3 : Algebra A K]
  [IsFractionRing A K], PosMulReflectLE (FractionalIdeal (nonZeroDivisors A) K)

instance FractionalIdeal.instMulPosReflectLENonZeroDivisors E0 #

∀ {A : Type u_2} (K : Type u_3) [inst : CommRing A] [inst_1 : Field K] [IsDedekindDomain A] [inst_3 : Algebra A K]
  [IsFractionRing A K], MulPosReflectLE (FractionalIdeal (nonZeroDivisors A) K)

theorem FractionalIdeal.mul_left_strictMono E1 #

∀ {A : Type u_2} (K : Type u_3) [inst : CommRing A] [inst_1 : Field K] [IsDedekindDomain A] [inst_3 : Algebra A K]
  [IsFractionRing A K] {I : FractionalIdeal (nonZeroDivisors A) K}, I ≠ 0 → StrictMono fun x ↦ x * I

theorem FractionalIdeal.mul_right_strictMono E1 #

∀ {A : Type u_2} (K : Type u_3) [inst : CommRing A] [inst_1 : Field K] [IsDedekindDomain A] [inst_3 : Algebra A K]
  [IsFractionRing A K] {I : FractionalIdeal (nonZeroDivisors A) K}, I ≠ 0 → StrictMono fun x ↦ I * x

instance FractionalIdeal.instPosMulReflectLEIdeal E0 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], PosMulReflectLE (Ideal A)

instance Ideal.isCancelMulZero E0 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], IsCancelMulZero (Ideal A)

instance Ideal.isDomain E0 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], IsDomain (Ideal A)

instance instPosMulStrictMonoIdeal E0 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], PosMulStrictMono (Ideal A)

instance instMulPosStrictMonoIdeal E0 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], MulPosStrictMono (Ideal A)

theorem Ideal.dvd_iff_le E1 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A] {I J : Ideal A}, I ∣ J ↔ J ≤ I

For ideals in a Dedekind domain, to divide is to contain.

theorem Ideal.liesOver_iff_dvd_map E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [IsDedekindDomain A] [inst_3 : Algebra R A]
  {p : Ideal R} {P : Ideal A}, P ≠ ⊤ → ∀ [p.IsMaximal], P.LiesOver p ↔ P ∣ Ideal.map (algebraMap R A) p

theorem Ideal.dvdNotUnit_iff_lt E1 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A] {I J : Ideal A}, DvdNotUnit I J ↔ J < I

instance instWfDvdMonoidIdeal E0 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], WfDvdMonoid (Ideal A)

theorem Ideal.finiteMultiplicity E1 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A] {I J : Ideal A}, I ≠ ⊤ → J ≠ ⊥ → FiniteMultiplicity I J

In a Dedekind domain, the multiplicity of a proper ideal in a nonzero ideal is finite.

instance Ideal.uniqueFactorizationMonoid E3 #

∀ {A : Type u_2} [inst : CommRing A] [IsDedekindDomain A], UniqueFactorizationMonoid (Ideal A)

instance Ideal.strongNormalizationMonoid E0 #

{A : Type u_2} → [inst : CommRing A] → StrongNormalizationMonoid (Ideal A)

Deprecated aliases

NameNew nameSince
FractionalIdeal.coe_ideal_mul_invFractionalIdeal.coeIdeal_mul_inv2026-11-10
FractionalIdeal.one_mem_inv_coe_idealFractionalIdeal.one_mem_inv_coeIdeal2026-11-10
Ideal.normalizationMonoidIdeal.strongNormalizationMonoid2026-07-08