Galois embedding for a cyclotomic polynomial (source code)

= Galois embedding for a cyclotomic polynomial

If $L$ is the splitting field of $\Phi_n$ over a characteristic-zero field $K$, choosing a primitive root $\zeta_n$ gives an injection
$$
\operatorname{Gal}(L/K)\hookrightarrow(\mathbb Z/n\mathbb Z)^\times,
\qquad
\sigma(\zeta_n)=\zeta_n^{a_\sigma}.
$$
It is surjective exactly when $\Phi_n$ is irreducible over $K$.