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 : α) (_ : r a b), x + b = a}
Instances For
An ideal P
of a ring R
is prime if P ≠ R
and xy ∈ P → x ∈ P ∨ y ∈ P
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.
Instances
An ideal is maximal if it is maximal in the collection of proper ideals.
- 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.
Instances
Equations
- (_ : IsCoatomic (Ideal α)) = (_ : IsCoatomic (Ideal α))
Krull's theorem: a nontrivial ring has a maximal ideal.
Equations
- (_ : Nontrivial (Ideal α)) = (_ : Nontrivial (Ideal α))
Equations
- (_ : ∀ [_H : Ideal.IsMaximal I], Ideal.IsPrime I) = (_ : Ideal.IsMaximal I → Ideal.IsPrime I)
All ideals in a division (semi)ring are trivial.
A bijection between between (left) ideals of a division ring and {0, 1}
, sending ⊥
to 0
and ⊤
to 1
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Ideals of a DivisionSemiring
are a simple order. Thanks to the way abbreviations work,
this automatically gives an IsSimpleModule K
instance.
Equations
- (_ : IsSimpleOrder (Ideal K)) = (_ : IsSimpleOrder (Ideal K))
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.