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.
A ring is a principal ideal ring if all (left) ideals are principal.
- principal : ∀ (S : Ideal R), Submodule.IsPrincipal S
Instances
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
Krull's theorem: a nontrivial ring has a maximal ideal.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
All ideals in a division (semi)ring are trivial.
A bijection between (left) ideals of a division ring and {0, 1}
, sending ⊥
to 0
and ⊤
to 1
.
Equations
Instances For
Ideals of a DivisionSemiring
are a simple order. Thanks to the way abbreviations work,
this automatically gives an IsSimpleModule K
instance.
Equations
- ⋯ = ⋯
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.