While trying to prove in another thread that $\ln x/ \ln y$ is transcendental when $x$ and $y$ are rational numbers, I noticed this interesting relationship. Starting with
$$ \frac{\log_b y}{\log_b x} \cdot \log_b x = \log_b y$$
which is hopefully self-evidently true when $x,y \neq 0$ and $b \neq 1$ and $b \neq 0$ is any base including the exponential number. (From here I will simply use $\log$ to mean a logarithm to any valid base.) Using the logarithm power rule from this list of logarithm rules
$$ \log\left(x^{\frac{\log y}{\log x}}\right) = \log y$$
$$ \Rightarrow x^{\frac{\log y}{\log x}} = y$$
(The equation above can form a nice little identity in itself). This easily rearranges to
$$ x^{\log y} = y^{\log x} $$
This 'rule' does not appear to be listed in any lists of logarithm rules that I can find. Maybe there are too many already, or to mathematicians, it is blindingly obvious and goes without saying. Anyway, I think it can come in handy when simplifying some equations by hand. The main question is "Is this 'proof' OK and does it apply to any logarithm of any base $b \neq 0$ and for any $x,y \neq 0, x \neq 1$ where $x,y$ are real numbers, whether algebraic or transcendental?". Does it extend to complex numbers?
As a side note, notice that if we take the intermediate result:
$$ \Rightarrow x^{\frac{\log y}{\log x}} = y$$
and using natural logarithms, so that
$$ \Rightarrow x^{\frac{\ln y}{\ln x}} = y$$
and set $\ln y = z$
$$ \Rightarrow x^{\frac{z}{\ln x}} = \exp z$$
then we can find the result of $\exp z$ using an equation that only requires knowing the natural logarithm of $x$, where $x$ can be any number you like as long as $x \neq $0,1. Handy if the [exp] button on your calculator is broken :-)
P.S. As Mark Bennet mentions in the comments, a perhaps simpler proof is:
$$ \log x \log y = \log y \log x $$
$$ \Rightarrow \log x^{\log y} = \log y^{\log x} $$
$$ \Rightarrow x^{\log y} = y^{\log x} $$