Splitting of prime ideals (source code)

= Splitting of prime ideals

In a finite extension of <number fields> $L/K$, a nonzero <prime ideal> $\mathfrak p$ of $\mathcal O_K$ factors uniquely as $\mathfrak p\mathcal O_L=\prod_i\mathfrak P_i^{e_i}$. The distinct <prime ideals> $\mathfrak P_i$ are the primes above $\mathfrak p$, the exponents $e_i$ are <ramification index>[ramification indices], and $f_i=[\mathcal O_L/\mathfrak P_i:\mathcal O_K/\mathfrak p]$ are <residue degrees>. They satisfy $\sum_i e_if_i=[L:K]$.

A prime splits completely if it has $[L:K]$ distinct factors, all with $e_i=f_i=1$. In the <Gaussian integers>, $(5)=(2+i)(2-i)$ splits, $(3)$ is an <inert prime>, and $(2)$ ramifies because $2=-i(1+i)^2$. The three behaviors distinguish factorization of <ideals> from factorization of ordinary <integers>.