Ideals in product rings #
For commutative rings R
and S
and ideals I ≤ R
, J ≤ S
, we define Ideal.prod I J
as the
product I × J
, viewed as an ideal of R × S
. In ideal_prod_eq
we show that every ideal of
R × S
is of this form. Furthermore, we show that every prime ideal of R × S
is of the form
p × S
or R × p
, where p
is a prime ideal.
theorem
Ideal.ideal_prod_eq
{R : Type u}
{S : Type v}
[Semiring R]
[Semiring S]
(I : Ideal (R × S))
:
I = (Ideal.map (RingHom.fst R S) I).prod (Ideal.map (RingHom.snd R S) I)
Every ideal of the product ring is of the form I × J
, where I
and J
can be explicitly
given as the image under the projection maps.