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 (left) ideal in a semiring R
is an additive submonoid s
such that
a * b ∈ s
whenever b ∈ s
. If R
is a ring, then s
is an additive subgroup.
Instances For
- FractionalIdeal.instCoeTCIdealToSemiringToCommSemiringFractionalIdeal
- Ideal.cancelCommMonoidWithZero
- Ideal.instFiniteIdealToSemiring
- Ideal.instHasQuotientIdealToSemiringToCommSemiring
- Ideal.instIdemCommSemiringIdealToSemiring
- Ideal.instIsCoatomicIdealToPartialOrderInstOmegaCompletePartialOrderCompleteLatticeToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToModuleInstOrderTopSubmoduleToLEToPreorderInstPartialOrderSetLike
- Ideal.instMulIdealToSemiring
- Ideal.instNoZeroDivisorsIdealToSemiringInstMulIdealToSemiringPointwiseZeroToAddCommMonoidToNonUnitalNonAssocSemiringToNonAssocSemiringToModule
- Ideal.instNontrivialIdeal
- Ideal.instNormalizedGCDMonoidIdealToSemiringToCommSemiringCancelCommMonoidWithZero
- Ideal.isDomain
- Ideal.isSimpleOrder
- Ideal.normalizationMonoid
- Ideal.uniqueFactorizationMonoid
- Submodule.hasSMul'
- Submodule.moduleSubmodule
- ValuationRing.instLinearOrderIdealToSemiringToCommSemiring
- instWfDvdMonoidIdealToSemiringToCommSemiringToCommMonoidWithZeroToCommSemiringInstIdemCommSemiringIdealToSemiring
A ring is a principal ideal ring if all (left) ideals are principal.
- principal : ∀ (S : Ideal R), Submodule.IsPrincipal S
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.ofRel r = Submodule.span α {x : α | ∃ (a : α) (b : α), 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
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 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.
Krull's theorem: a nontrivial ring has a maximal ideal.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
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
- ⋯ = ⋯
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.