I'm reading the following theorem:

My question is, why are $a_i$s in $A[\alpha_1...\alpha_n]$?
There's an $\sigma$ sending $\alpha$ to $\alpha_i$ fixing $K$, hence $\alpha_i$ are integral over $A$ since $\alpha$ is, the rest is easy.