Fractional ideals #
This file defines fractional ideals of an integral domain and proves basic facts about them.
Main definitions #
Let S
be a submonoid of an integral domain R
, P
the localization of R
at S
, and f
the
natural ring hom from R
to P
.
IsFractional
defines whichR
-submodules ofP
are fractional idealsFractionalIdeal S P
is the type of fractional ideals inP
- a coercion
coeIdeal : Ideal R → FractionalIdeal S P
CommSemiring (FractionalIdeal S P)
instance: the typical ideal operations generalized to fractional idealsLattice (FractionalIdeal S P)
instancemap
is the pushforward of a fractional ideal along an algebra morphism
Let K
be the localization of R
at R⁰ = R \ {0}
(i.e. the field of fractions).
FractionalIdeal R⁰ K
is the type of fractional ideals in the field of fractionsDiv (FractionalIdeal R⁰ K)
instance: the ideal quotientI / J
(typically written $I : J$, but a:
operator cannot be defined)
Main statements #
mul_left_mono
andmul_right_mono
state that ideal multiplication is monotonemul_div_self_cancel_iff
states that1 / I
is the inverse ofI
if one existsisNoetherian
states that every fractional ideal of a noetherian integral domain is noetherian
Implementation notes #
Fractional ideals are considered equal when they contain the same elements,
independent of the denominator a : R
such that a I ⊆ R
.
Thus, we define FractionalIdeal
to be the subtype of the predicate IsFractional
,
instead of having FractionalIdeal
be a structure of which a
is a field.
Most definitions in this file specialize operations from submodules to fractional ideals,
proving that the result of this operation is fractional if the input is fractional.
Exceptions to this rule are defining (+) := (⊔)
and ⊥ := 0
,
in order to re-use their respective proof terms.
We can still use simp
to show ↑I + ↑J = ↑(I + J)
and ↑⊥ = ↑0
.
Many results in fact do not need that P
is a localization, only that P
is an
R
-algebra. We omit the IsLocalization
parameter whenever this is practical.
Similarly, we don't assume that the localization is a field until we need it to
define ideal quotients. When this assumption is needed, we replace S
with R⁰
,
making the localization a field.
References #
- https://en.wikipedia.org/wiki/Fractional_ideal
Tags #
fractional ideal, fractional ideals, invertible ideal
A submodule I
is a fractional ideal if a I ⊆ R
for some a ≠ 0
.
Equations
- IsFractional S I = ∃ a ∈ S, ∀ b ∈ I, IsLocalization.IsInteger R (a • b)
Instances For
The fractional ideals of a domain R
are ideals of R
divided by some a ∈ R
.
More precisely, let P
be a localization of R
at some submonoid S
,
then a fractional ideal I ⊆ P
is an R
-submodule of P
,
such that there is a nonzero a : R
with a I ⊆ R
.
Equations
- FractionalIdeal S P = { I : Submodule R P // IsFractional S I }
Instances For
Map a fractional ideal I
to a submodule by forgetting that ∃ a, a I ⊆ R
.
This implements the coercion FractionalIdeal S P → Submodule R P
.
Equations
- ↑I = ↑I
Instances For
Map a fractional ideal I
to a submodule by forgetting that ∃ a, a I ⊆ R
.
This coercion is typically called coeToSubmodule
in lemma names
(or coe
when the coercion is clear from the context),
not to be confused with IsLocalization.coeSubmodule : Ideal R → Submodule R P
(which we use to define coe : Ideal R → FractionalIdeal S P
).
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Copy of a FractionalIdeal
with a new underlying set equal to the old one.
Useful to fix definitional equalities.
Equations
- FractionalIdeal.copy p s hs = { val := Submodule.copy (↑p) s hs, property := (_ : IsFractional S (Submodule.copy (↑p) s hs)) }
Instances For
Transfer instances from Submodule R P
to FractionalIdeal S P
.
Equations
- One or more equations did not get rendered due to their size.
Map an ideal I
to a fractional ideal by forgetting I
is integral.
This is the function that implements the coercion Ideal R → FractionalIdeal S P
.
Equations
- ↑I = { val := IsLocalization.coeSubmodule P I, property := (_ : IsFractional S (IsLocalization.coeSubmodule P I)) }
Instances For
Map an ideal I
to a fractional ideal by forgetting I
is integral.
This is a bundled version of IsLocalization.coeSubmodule : Ideal R → Submodule R P
,
which is not to be confused with the coe : FractionalIdeal S P → Submodule R P
,
also called coeToSubmodule
in theorem names.
This map is available as a ring hom, called FractionalIdeal.coeIdealHom
.
Equations
- FractionalIdeal.instZeroFractionalIdeal S = { zero := ↑0 }
(1 : FractionalIdeal S P)
is defined as the R-submodule f(R) ≤ P
.
However, this is not definitionally equal to 1 : Submodule R P
,
which is proved in the actual simp
lemma coe_one
.
Lattice
section #
Defines the order on fractional ideals as inclusion of their underlying sets, and ports the lattice structure on submodules to fractional ideals.
Equations
- FractionalIdeal.orderBot = OrderBot.mk (_ : ∀ (I : FractionalIdeal S P), 0 ≤ I)
Equations
- FractionalIdeal.instInfFractionalIdeal = { inf := fun (I J : FractionalIdeal S P) => { val := ↑I ⊓ ↑J, property := (_ : IsFractional S (↑I ⊓ ↑J)) } }
Equations
- FractionalIdeal.instSupFractionalIdeal = { sup := fun (I J : FractionalIdeal S P) => { val := ↑I ⊔ ↑J, property := (_ : IsFractional S (↑I ⊔ ↑J)) } }
Equations
- One or more equations did not get rendered due to their size.
Equations
- FractionalIdeal.instAddFractionalIdeal = { add := fun (x x_1 : FractionalIdeal S P) => x ⊔ x_1 }
Equations
- FractionalIdeal.instSMulNatFractionalIdeal = { smul := fun (n : ℕ) (I : FractionalIdeal S P) => { val := n • ↑I, property := (_ : IsFractional S (n • ↑I)) } }
FractionalIdeal.mul
is the product of two fractional ideals,
used to define the Mul
instance.
This is only an auxiliary definition: the preferred way of writing I.mul J
is I * J
.
Elaborated terms involving FractionalIdeal
tend to grow quite large,
so by making definitions irreducible, we hope to avoid deep unfolds.
Equations
Instances For
Equations
- FractionalIdeal.instMulFractionalIdeal = { mul := fun (I J : FractionalIdeal S P) => FractionalIdeal.mul I J }
Equations
- FractionalIdeal.instPowFractionalIdealNat = { pow := fun (I : FractionalIdeal S P) (n : ℕ) => { val := ↑I ^ n, property := (_ : IsFractional S (↑I ^ n)) } }
Equations
- One or more equations did not get rendered due to their size.
FractionalIdeal.coeToSubmodule
as a bundled RingHom
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
coeIdealHom (S : Submonoid R) P
is (↑) : Ideal R → FractionalIdeal S P
as a ring hom
Equations
- One or more equations did not get rendered due to their size.
Instances For
I.map g
is the pushforward of the fractional ideal I
along the algebra morphism g
Equations
- FractionalIdeal.map g I = { val := Submodule.map (AlgHom.toLinearMap g) ↑I, property := (_ : IsFractional S (Submodule.map (AlgHom.toLinearMap g) ↑I)) }
Instances For
If g
is an equivalence, map g
is an isomorphism
Equations
- One or more equations did not get rendered due to their size.
Instances For
canonicalEquiv f f'
is the canonical equivalence between the fractional
ideals in P
and in P'
, which are both localizations of R
at S
.
Instances For
IsFractionRing
section #
This section concerns fractional ideals in the field of fractions,
i.e. the type FractionalIdeal R⁰ K
where IsFractionRing R K
.
Nonzero fractional ideals contain a nonzero integer.
quotient
section #
This section defines the ideal quotient of fractional ideals.
In this section we need that each non-zero y : R
has an inverse in
the localization, i.e. that the localization is a field. We satisfy this
assumption by taking S = nonZeroDivisors R
, R
's localization at which
is a field because R
is a domain.
Equations
- (_ : Nontrivial (FractionalIdeal (nonZeroDivisors R₁) K)) = (_ : Nontrivial (FractionalIdeal (nonZeroDivisors R₁) K))
Equations
- One or more equations did not get rendered due to their size.
FractionalIdeal.span_finset R₁ s f
is the fractional ideal of R₁
generated by f '' s
.
Equations
- FractionalIdeal.spanFinset R₁ s f = { val := Submodule.span R₁ (f '' ↑s), property := (_ : IsFractional (nonZeroDivisors R₁) (Submodule.span R₁ (f '' ↑s))) }
Instances For
spanSingleton x
is the fractional ideal generated by x
if 0 ∉ S
Instances For
Equations
- (_ : Submodule.IsPrincipal ↑I) = (_ : Submodule.IsPrincipal ↑I)
Every fractional ideal of a noetherian integral domain is noetherian.
A[x]
is a fractional ideal for every integral x
.
FractionalIdeal.adjoinIntegral (S : Submonoid R) x hx
is R[x]
as a fractional ideal,
where hx
is a proof that x : P
is integral over R
.
Equations
- FractionalIdeal.adjoinIntegral S x hx = { val := Subalgebra.toSubmodule (Algebra.adjoin R {x}), property := (_ : IsFractional S (Subalgebra.toSubmodule (Algebra.adjoin R {x}))) }