The following question is from my colleague. It seems to be emerged considering some elementary number theory problem. This is NOT as exercise or problem in published material although it may looks like. Consider the following equation of positive integers $a$, $b$, $x$, $y$, and a real number $r$. $$ \log_a x= \log_b y =r \quad (\ast)$$ Can we expect some rigidity of the condition like the following
Suppose that ($\ast$) holds for some positive integers $a$, $b$, $x$, $y$ and an irrational number $r$. Then we must have that $\log_a b$ is rational.
At first I guess I can solve this shortly. But after trying some quick attacks I realized that this may be harder than it looks.