Which step is illegal?
$\sqrt x=x^{\frac12}$
$\frac12=2^{-1}$
$x^{\frac12}= x^{2^{-1}}$
$a^{b^c}=a^{bc}$
$x^{2^{-1}}=x^{-2}$
$a^{-b}=\frac1{a^b}$
$x^{-2}=\frac1{x^2}$
Am I correct in assuming that it is step 3, because $a^{b^c}$ is not the same as $a^d$ where $d=b^c$ but rather $a^d=a^{(b^c)}$?