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.
@[simp]
theorem
Ideal.ideal_prod_eq
{R : Type u}
{S : Type v}
[Semiring R]
[Semiring S]
(I : Ideal (R × S))
:
I = (map (RingHom.fst R S) I).prod (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.
@[simp]
theorem
Ideal.map_fst_prod
{R : Type u}
{S : Type v}
[Semiring R]
[Semiring S]
(I : Ideal R)
(J : Ideal S)
:
map (RingHom.fst R S) (I.prod J) = I
@[simp]
theorem
Ideal.map_snd_prod
{R : Type u}
{S : Type v}
[Semiring R]
[Semiring S]
(I : Ideal R)
(J : Ideal S)
:
map (RingHom.snd R S) (I.prod J) = J
@[simp]
@[simp]
theorem
Ideal.idealProdEquiv_symm_apply
{R : Type u}
{S : Type v}
[Semiring R]
[Semiring S]
(I : Ideal R)
(J : Ideal S)
:
idealProdEquiv.symm (I, J) = I.prod J
instance
instIsPrincipalIdealRingProd
{R : Type u}
{S : Type v}
[Semiring R]
[Semiring S]
[IsPrincipalIdealRing R]
[IsPrincipalIdealRing S]
:
IsPrincipalIdealRing (R × S)