Why isn't $\sqrt[12]{\left(-1\right)^6}$ equal to $\sqrt{-1}$? Clearly, the square root isn't defined. We have divided the index and the exponent by $6$. The theorem says that $$\sqrt[nk]{a^{mk}}=\sqrt[n]{a^m}$$ where $a\ge0$. How does it work when $a<0$, or it doesn't?
PP. I see that we can write $\sqrt[12]{(-1)^6}=\sqrt[12]{1^6}=1,$ but my question still holds.