Prime ideals #
This file contains the definition of Ideal.IsPrime for prime ideals.
TODO #
Support right ideals, and two-sided ideals over non-commutative rings.
An ideal P of a ring R is prime if P ≠ R and xy ∈ P → x ∈ P ∨ y ∈ P
- ne_top' : I ≠ ⊤
The prime ideal is not the entire ring.
- mem_or_mem' {x y : α} : x * y ∈ I → x ∈ I ∨ y ∈ I
If a product lies in the prime ideal, then at least one element lies in the prime ideal.
Instances
theorem
Ideal.IsPrime.mem_or_mem
{α : Type u}
[Semiring α]
{I : Ideal α}
(hI : I.IsPrime)
{x y : α}
:
x * y ∈ I → x ∈ I ∨ y ∈ I
theorem
Ideal.IsPrime.mul_notMem
{α : Type u}
[Semiring α]
{I : Ideal α}
(hI : I.IsPrime)
{x y : α}
:
x ∉ I → y ∉ I → x * y ∉ I
theorem
Ideal.IsPrime.mem_or_mem_of_mul_eq_zero
{α : Type u}
[Semiring α]
{I : Ideal α}
(hI : I.IsPrime)
{x y : α}
(h : x * y = 0)
:
x ∈ I ∨ y ∈ I
theorem
Ideal.IsPrime.mem_of_pow_mem
{α : Type u}
[Semiring α]
{I : Ideal α}
(hI : I.IsPrime)
{r : α}
(n : ℕ)
(H : r ^ n ∈ I)
:
r ∈ I
@[deprecated Ideal.isPrime_bot (since := "2026-01-10")]
theorem
Ideal.IsPrime.mul_mem_iff_mem_or_mem
{α : Type u}
[Semiring α]
{I : Ideal α}
[I.IsTwoSided]
(hI : I.IsPrime)
{x y : α}
:
x * y ∈ I ↔ x ∈ I ∨ y ∈ I
theorem
Ideal.IsPrime.mul_mem_left_iff
{α : Type u}
[Semiring α]
{I : Ideal α}
[I.IsTwoSided]
[I.IsPrime]
{x y : α}
(hx : x ∉ I)
:
x * y ∈ I ↔ y ∈ I
theorem
Ideal.IsPrime.mul_mem_right_iff
{α : Type u}
[Semiring α]
{I : Ideal α}
[I.IsTwoSided]
[I.IsPrime]
{x y : α}
(hx : y ∉ I)
:
x * y ∈ I ↔ x ∈ I
The complement of a prime ideal P ⊆ R is a submonoid of R.
Instances For
@[simp]
theorem
Ideal.mem_primeCompl_iff
{α : Type u}
[Semiring α]
{P : Ideal α}
[P.IsPrime]
{x : α}
:
x ∈ P.primeCompl ↔ x ∉ P
theorem
Ideal.eq_bot_of_prime
{K : Type u}
[DivisionSemiring K]
(I : Ideal K)
[h : I.IsPrime]
:
I = ⊥