Ideals over a ring #
This file defines Ideal R
, the type of (left) ideals over a ring R
.
Note that over commutative rings, left ideals and two-sided ideals are equivalent.
Implementation notes #
Ideal R
is implemented using Submodule R R
, where •
is interpreted as *
.
TODO #
Support right ideals, and two-sided ideals over non-commutative rings.
The ideal generated by an arbitrary binary relation.
Equations
- Ideal.ofRel r = Submodule.span α {x | ∃ a b _h, x + b = a}
Instances For
The prime ideal is not the entire ring.
If a product lies in the prime ideal, then at least one element lies in the prime ideal.
An ideal P
of a ring R
is prime if P ≠ R
and xy ∈ P → x ∈ P ∨ y ∈ P
Instances
- out : IsCoatom I
The maximal ideal is a coatom in the ordering on ideals; that is, it is not the entire ring, and there are no other proper ideals strictly containing it.
An ideal is maximal if it is maximal in the collection of proper ideals.
Instances
Equations
- One or more equations did not get rendered due to their size.
Krull's theorem: if I
is an ideal that is not the whole ring, then it is included in some
maximal ideal.
Krull's theorem: a nontrivial ring has a maximal ideal.
Equations
- (_ : ∀ [_H : Ideal.IsMaximal I], Ideal.IsPrime I) = (_ : Ideal.IsMaximal I → Ideal.IsPrime I)
All ideals in a division (semi)ring are trivial.
Ideals of a DivisionSemiring
are a simple order. Thanks to the way abbreviations work,
this automatically gives an IsSimpleModule K
instance.
Also see Ideal.isSimpleOrder
for the forward direction as an instance when R
is a
division (semi)ring.
This result actually holds for all division semirings, but we lack the predicate to state it.
When a ring is not a field, the maximal ideals are nontrivial.