Suppose we have two spaces with respective metrics $d_1$ and $d_2$ and an (anti-)isometry $f$ that maps objects from the first space to the second. I'm interested in the setting where the following conditions are satisfied for all arbitrary points $x,y,z$ in the first space:
- $d_1(x,y) < d_1(x,z) \iff d_2(f(x),f(y))>d_2(f(x),f(z))$
- $d_1(x,y) > d_1(x,z) \iff d_2(f(x),f(y))<d_2(f(x),f(z))$
What are the necessary and sufficient conditions on the two spaces and metrics for such an (anti-)isometry to exist?
Constructing examples of such objects isn't difficult (e.g. if the number of objects in the first space is finite, then we can compute the pairwise distances in ascending order and then reverse the order to get the pairwise distances for the second space), so I've tried some simulation experiments involving sampling points in one space, reversing the rank order of pairwise distances, and then using embedding methods like multi-dimensional scaling to try and recover embeddings (that respect the new pairwise distances) in the second space.
So far, I've convinced myself that this is generally not possible in Euclidean space even if one space is much higher-dimensional than other. I don't have a proof of this but I'm guessing it's a consequence of triangle inequality.
I'd also appreciate any references to papers that discuss properties of anti-isometries, I've only been able to find a couple that mention it in passing.
Your gut feeling is right, this is not possible, provided that both spaces are rich enough not to be discrete.
For the duration of this post, I'm going to write $f(x)$ as $fx$.
So it goes.