Dedekind domains and ideals #
In this file, we show a ring is a Dedekind domain iff all fractional ideals are invertible. Then we prove some results on the unique factorization monoid structure of the ideals.
Main definitions #
is_dedekind_domain_inv
alternatively defines a Dedekind domain as an integral domain where every nonzero fractional ideal is invertible.is_dedekind_domain_inv_iff
shows that this does note depend on the choice of field of fractions.is_dedekind_domain.height_one_spectrum
defines the type of nonzero prime ideals ofR
.
Main results: #
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 : ¬ is_field A)
assumption whenever this is explicitly needed.
References #
- D. Marcus, Number Fields
- J.W.S. Cassels, A. Frölich, Algebraic Number Theory
- J. Neukirch, Algebraic Number Theory
Tags #
dedekind domain, dedekind ring
Equations
- fractional_ideal.has_inv K = {inv := λ (I : fractional_ideal R₁⁰ K), 1 / I}
I⁻¹
is the inverse of I
if I
has an inverse.
A Dedekind domain is an integral domain such that every fractional ideal has an inverse.
This is equivalent to is_dedekind_domain
.
In particular we provide a fractional_ideal.comm_group_with_zero
instance,
assuming is_dedekind_domain A
, which implies is_dedekind_domain_inv
. For integral ideals,
is_dedekind_domain
(_inv
) implies only ideal.cancel_comm_monoid_with_zero
.
Equations
- is_dedekind_domain_inv A = ∀ (I : fractional_ideal A⁰ (fraction_ring A)), I ≠ ⊥ → I * I⁻¹ = 1
Showing one side of the equivalence between the definitions
is_dedekind_domain_inv
and is_dedekind_domain
of Dedekind domains.
Specialization of exists_prime_spectrum_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_prime_spectrum_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
.
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.
Nonzero fractional ideals in a Dedekind domain are units.
This is also available as _root_.mul_inv_cancel
, using the
comm_group_with_zero
instance defined below.
This is also available as _root_.div_eq_mul_inv
, using the
comm_group_with_zero
instance defined below.
is_dedekind_domain
and is_dedekind_domain_inv
are equivalent ways
to express that an integral domain is a Dedekind domain.
Equations
- fractional_ideal.comm_group_with_zero K = {mul := comm_semiring.mul fractional_ideal.comm_semiring, mul_assoc := _, one := comm_semiring.one fractional_ideal.comm_semiring, one_mul := _, mul_one := _, npow := comm_semiring.npow fractional_ideal.comm_semiring, npow_zero' := _, npow_succ' := _, mul_comm := _, zero := comm_semiring.zero fractional_ideal.comm_semiring, zero_mul := _, mul_zero := _, inv := λ (I : fractional_ideal A⁰ K), I⁻¹, div := has_div.div fractional_ideal.fractional_ideal_has_div, div_eq_mul_inv := _, zpow := group_with_zero.zpow._default comm_semiring.mul _ comm_semiring.one _ _ comm_semiring.npow _ _ (λ (I : fractional_ideal A⁰ K), I⁻¹), zpow_zero' := _, zpow_succ' := _, zpow_neg' := _, exists_pair_ne := _, inv_zero := _, mul_inv_cancel := _}
Equations
- ideal.cancel_comm_monoid_with_zero = function.injective.cancel_comm_monoid_with_zero ⇑(fractional_ideal.coe_ideal_hom A⁰ (fraction_ring A)) ideal.cancel_comm_monoid_with_zero._proof_2 ideal.cancel_comm_monoid_with_zero._proof_3 ideal.cancel_comm_monoid_with_zero._proof_4 ideal.cancel_comm_monoid_with_zero._proof_5 ideal.cancel_comm_monoid_with_zero._proof_6
For ideals in a Dedekind domain, to divide is to contain.
Strengthening of is_localization.exist_integer_multiples
:
Let J ≠ ⊤
be an ideal in a Dedekind domain A
, and f ≠ 0
a finite collection
of elements of K = Frac(A)
, then we can multiply the elements of f
by some a : K
to find a collection of elements of A
that is not completely contained in J
.
Height one spectrum of a Dedekind domain #
If R
is a Dedekind domain of Krull dimension 1, the maximal ideals of R
are exactly its nonzero
prime ideals.
We define height_one_spectrum
and provide lemmas to recover the facts that prime ideals of height
one are prime and irreducible.
The height one prime spectrum of a Dedekind domain R
is the type of nonzero prime ideals of
R
. Note that this equals the maximal spectrum if R
has Krull dimension 1.