I think my definitions of a prime being ramified, split and inert are non-standard. Also I do not see how my definitions are equivalent to (what appear to be) the standard ones.
My definition: Consider $\mathcal O_{K}$, where $K=\mathbb Q(\sqrt d)$ and let $\omega=\sqrt d$ if $d \equiv 2,3 \mod 4$ and $\omega=\frac{1+\sqrt d}{2}$ if $d \equiv 1 \mod 4$. Let $f(x)$ be the minimal polynomial of $\omega$ over $\mathbb Z$ (the monic polynomial with coefficients in $\mathbb Z$ of least degree with $\omega$ as a root). A prime $p \in \mathbb Z$ is ramified, split and inert if $f$ has a repeated root, two distinct roots or no roots in $\mathbb F_p$ respectively. Another, more useful, definition that I have is that $\mathcal O_K/(p) \cong \mathbb F_p[x]/(x^2), \, \mathbb F_p^2$ and $\mathbb F_{p^2}$ respectively, but this can be deduced from the first definition (see my previous question).
Other definition: Wikipedia says that $p$ is inert if $(p)$ is a prime ideal, $p$ splits if $(p)$ is a product of two distinct prime ideals of $ \mathcal O_K$ and $p$ is ramified if $(p)$ is the square of a prime ideal of $\mathcal O_K$. (Can this be generalised to non-quadratic fields $K$?)
How could I prove that these definitions are equivalent?