I'm trying to fill in the details in this proof, which seeks to show that for any real numbers $a, x, y$ with $a>0$ we have that $(a^x)^y = a^{xy}$. The sketch is as follows:
\begin{equation} \begin{split} (a^x)^y & = \sup \{ ( \sup\{ a^r : r∈\mathbb{Q}_{<x} \} )^s : s∈\mathbb{Q}_{<y} \}\\ & = \sup \{ \sup\{ (a^r)^s : r∈\mathbb{Q}_{<x} \} : s∈\mathbb{Q}_{<y} \}\\ & = \sup \{ (a^r)^s : r∈\mathbb{Q}_{<x} ∧ s∈\mathbb{Q}_{<y} \}\\ & = \sup \{ a^{t} : t∈\mathbb{Q}_{<xy}\}\\ & = a^{xy}\\ \end{split} \end{equation}
I'm having trouble figuring out how the second equality (the transition from first to second line) is arrived at. In particular, we need to show that $$(\sup \{a^r:r\in\mathbb{Q}_{<x}\})^s = \sup \{(a^r)^s:r\in\mathbb{Q}_{<x}\}.$$ I have been able to show that $(a^x)^s$ is indeed an upper bound of $\{(a^r)^s:r\in\mathbb{Q}_{<x}\}$, but I'm struggling in showing that it is its least upper bound. An idea is, for a fix $p$, to use the continuity of the functions $t\to t^p$ and $t\to p^t$, but I would like to avoid this since the benefit of this cumbersome approach to exponentiation is precisely that no Analysis beyond the basic properties of $\mathbb{R}$ is needed. I was wondering how else I could proceed.