Let $\mathbb E$ an euclidian ring and $p\in \mathbb E$. Prove $p$ is prime iff $\langle p\rangle$ is maximal.
Proof:
As $\mathbb E$ is an euclidian ring (euclidean domain), then it is a PID (By Fraleigh theorem).
$ $ Notice that for principal ideals: $\ {contains} = \ {divides}$, $ $ i.e. $(a)\supseteq (b)\iff a\mid b,\,$ thus
$\qquad\quad\begin{eqnarray} (p)\,\text{ is maximal} &\iff&\!\!\ (p)\, \text{ has no proper } \,{{container}}\,\ (d), (d)\neq(1)\\ &\iff&\ p\ \ \text{ has no nonunit proper}\,\ {{divisor}}\,\ d\\ &\iff&\ p\ \ \text{ is irreducible}\\ &\iff&\ p\ \ \text{ is prime}\\\end{eqnarray}$
Note: this proof was based on Bill Dubuque's proof in another post for the case of $\mathbb{Z}$.
Is the proof correct??