Ideals over a ring #
This file defines ideal R
, the type of ideals over a commutative ring R
.
Implementation notes #
ideal R
is implemented using submodule R R
, where •
is interpreted as *
.
TODO #
Support one-sided ideals, and ideals over non-commutative rings.
The ideal generated by a subset of a ring
Equations
- ideal.span s = submodule.span α s
The ideal generated by an arbitrary binary relation.
Equations
- ideal.of_rel r = submodule.span α {x : α | ∃ (a b : α) (h : r a b), x + b = a}
An ideal P
of a ring R
is prime if P ≠ R
and xy ∈ P → x ∈ P ∨ y ∈ P
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.
If P is not properly contained in any maximal ideal then it is not properly contained in any proper ideal
All ideals in a division ring are trivial.
When a ring is not a field, the maximal ideals are nontrivial.