Let $X$ be the set of dyadic rationals in the interval $\left[\frac12,1\right)$ which are coprime with $3$, and let the surjection $f:X\to Y$ where $Y\subsetneq \Bbb Q$ be given by
$$f(x)=\begin{cases}\frac{4x}3 &\text{if}& x<\frac34\\ \frac{2x}3& \text{if}& x>\frac34\end{cases} $$
Let $Z=X\cup Y$ inherit the standard (absolute value) topology from $\Bbb R$.
Now define the equivalence relation $\sim$ on $Z$ such that
- $\forall x: x\sim f(x)$ and
- $\forall x: f(x)\sim x$ and
- $\forall x: x\sim x$, and
- if $a\sim b$ and $b\sim c$ then $a\sim c$.
Then the set of equivalence classes $P=Z/{\sim}$ comprises elements which are pairs $(x\sim y)$ such that $x\in X$ and $y\in Y$, and forms exact covers of both $X$ and of $Y$.
Question
$P$ has the quotient (pseudo)metric derived from $\Bbb R/{\sim}$ on $x\sim y$. Is that pseudometric a metric, and what is it equal to?
Attempt
I've read about a somewhat complicated $\sup...$ definition over sequences of class elements as the standard method of defining a quotient metric. My first instinct is that that's overkill here because every equivalence class here is just a pair.
I thought $d(p_1,p_2)=\min \{d(a,b):a\in p_1, b\in p_2\}$ was the obvious pick - satisfying the metric axioms. But I was unable to verify the triangle inequality. Is that right? Is $d:P\times P\to\Bbb R$ the quotient metric in this case.
Footnote
But also, this quotient space is a setting in which the level sets of the Collatz graph converge to their image. So I wouldn't be surprised if the more complicated chain definition of the quotient $\begin{equation*} d'([x],[y]) = \inf\{ d(p_1,q_1) + \cdots+ d(p_n,q_n):p_1 = x,q_i \sim p_{i+1},q_n=y\} \end{equation*}$ were related to Collatz sequences.