I came across a perplexing thing while testing some assumptions in Wolfram|Alpha, and as I don't have a math education beyond college algebra, I thought this would be a good place to ask. I would just like to emphasize that this is not a homework question, and is purely curiosity.
Common faulty math proofs tend to use logic like this:
1^0 = 1
2^0 = 1
therefore 1 = 2
This is obviously false because $x^0$ is defined as 1 for all real values of $x$.
But in the case of $e^{2\pi i} = e^0$, the base is the same: $e$. So if $a^x = a^y$ is true, shouldn't it follow, then, that $x = y$ and therefore $2\pi i = 0$? If not, why?