I am trying to figure out the proof of theorem in this link.
Theorem: Any prime ideal of a finite direct product ring $R=\prod_{i=1}^nR_i$ is of the form $P=\prod_{i=1}^nI_i$, where $I_j$ is a prime ideal of $R_j$ for some $j$ and $I_i=R_i$, for $i\neq j$?
I am considering the case $n=2$. That is, the prime ideals of $R \times S$ are of the form $P\times S$ or $R\times Q$ where $P$ is prime ideal of $R$ and $Q$ is prime ideal of $S$.
I want to show $P \times S$ is prime ideal of $R \times S$ by using the following fact $R/I=(\prod R_i)/(\prod I_i)\cong\prod R_i/I_i$. It is enough to show that quotient ring is integral domain.
Hence, $(R \times S) / (P \times S) \cong (R/P) \times (S/S) = (R/P) \times 0_S$. It is clear that $R/P$ is integral domain but why $(R/P) \times 0_S$ is an integral domain?
Pick two elements such that $(r_1P,0_S)(r_2P,0_S)=(P,0) \implies (r_1r_2P,0_S)=(P,0_S)\to r_1r_2 \in P \implies_{\text{P is prime ideal}}$ either $r_1 \in P$ or $r_2 \in P$. So we get $(r_1P,0_s)=(P,0)$. So, quotient ring is integral domain. Is my proof okay? Any better proof suggestions is welcomed.