Initially, I was trying to prove both the isomorphism of $\mathbb Z[i]/\mathfrak p\cong \mathbb{Z}[x]/(p,x^2+1)\cong \mathbb{F}_p[x]/(x^2+1)$, where $\mathfrak p$ is a prime in $\mathbb Z[i]$ for some $p $ prime in $\Bbb Z.$ (Later on from the comment I got that the first isomorphism is not true for all prime in integers. So I am trying to ask, What is the structure of $\mathbb Z[i]/\mathfrak p$ where $\mathfrak p$ is a prime?
I have proved that for $ \phi: R \to S$ homomorphism the inverse image of a prime is prime. Now $\Bbb Z$ has inclusion in $\Bbb Z[i]$ that $i: \Bbb Z \to \Bbb Z[i]$ and hence the inverse, $i^{-1}(\mathfrak p)$ in $\mathbb Z$ is a prime and I can assume that $<p>$ is the corresponding prime ideal in $\Bbb Z$. I also know that $\mathbb Z[i]$ is a ED and hence $\mathfrak p=<P>$ where $P=a+bi$ a prime in $\mathbb Z[i]$ and also the norm of $P$, $N(P)=a^2+b^2$ is a prime. Am I going correct? Let me know if there is any other way.
So, I have a lot of pieces but I can't bring that together and for the 2nd isomorphism If I just consider the map $\psi:\mathbb{Z}[x]/(x^2+1)\to \mathbb{F}_p[x]/(x^2+1)$ s.t $f(x)\mapsto f(x)(\mod p)$ and then calculate the kernel, would that be enough? It is my begining in algebra, so I wan't check every details minutely. Any help would be appreciated. Even if I get some stepwise hint in stead of answer, that will help me in learning!
Edit From leoli's comment I can see that $\mathbb Z[i]/\mathfrak p$ can be a field as well. How to prove all the cases from the scratch as I am not getting any idea for that.