Let $\tau$ be the coarsest topology on $\mathbb{R}$ that contains the euclidean topology and all subsets of $\mathbb{Q}$. We already know that $\tau_{Eucl} \cup P(\mathbb{Q}$ is a base for $\tau$. We also have a metric $d$ on $\mathbb{R}$ defined as the following. Let $(r_k)_{k\in \mathbb{Z}_{>0}}$ be a sequence of different rational such that $\mathbb{Q}=\{r_k\mid k\in \mathbb{Z}_{>0}\}$.
Now let $d(x,y)$ for a $x,y \in \mathbb{R}$. $$ d(x,y) = \left\{ \begin{array}{lll} 0 & \mbox{if} \: x=y,\\ \sup\{1/k|x\leq r_k \leq y\} & \mbox{if} \:x<y, \\ \sup\{1/k|y\leq r_k \leq x\} & \mbox{if} \:y<x. \end{array} \right. $$ Now we're asked to prove that the topology defined by this metric is exactly $\tau$.
My attempt:
To prove this statement we need to prove that this topology is both finer and coarser than $\tau$. Since the topology defined by this metric, is generated by unions of open balls. We need to prove on one hand that a random open ball is open in $\tau$. On the other hand we need to prove that a random open in $\tau$ can be described as a union of open balls. But that's how far I get. I don't really see how to characterize these open balls. Does anybody maybe have a tip to get started? We also know that for the metric topology, being open is characterized as follows. A subset $U$ is open iff for every $x \in U$ there exists an $\epsilon >0$ such that $B(x,\epsilon)\subseteq U$. so that if we can prove that this holds for every open in $\tau$ we know that $\tau$ is coarser then the metric topology. I am also thinking I should use the fact that $\tau$ is the coarsest topology that contains the euclidean topology and all subsets of $\mathbb{Q}$.