Ideals over a ring #
This file contains an assortment of definitions and results for 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.
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
- ⋯ = ⋯
theorem
Ideal.span_singleton_prime
{α : Type u}
[CommSemiring α]
{p : α}
(hp : p ≠ 0)
:
(Ideal.span {p}).IsPrime ↔ Prime p
theorem
Ideal.IsMaximal.isPrime
{α : Type u}
[CommSemiring α]
{I : Ideal α}
(H : I.IsMaximal)
:
I.IsPrime
@[instance 100]
instance
Ideal.IsMaximal.isPrime'
{α : Type u}
[CommSemiring α]
(I : Ideal α)
[_H : I.IsMaximal]
:
I.IsPrime
Equations
- ⋯ = ⋯
theorem
Ideal.exists_disjoint_powers_of_span_eq_top
{α : Type u}
[CommSemiring α]
(s : Set α)
(hs : Ideal.span s = ⊤)
(I : Ideal α)
(hI : I ≠ ⊤)
:
∃ r ∈ s, Disjoint ↑I ↑(Submonoid.powers r)
theorem
Ideal.span_singleton_lt_span_singleton
{α : Type u}
[CommSemiring α]
[IsDomain α]
{x y : α}
:
Ideal.span {x} < Ideal.span {y} ↔ DvdNotUnit y x
theorem
Ideal.exists_le_prime_nmem_of_isIdempotentElem
{α : Type u}
[CommSemiring α]
(I : Ideal α)
(a : α)
(ha : IsIdempotentElem a)
(haI : a ∉ I)
: