A metric space is a set M together with a function $d:M \times M \rightarrow \Bbb{R} $, where $d$ satisfies:
- $d(x,y)\ge 0$
- $d(x,y)=0 \Leftrightarrow x=y$
- $d(x,y)=d(y,x)$
- $d(x,z) \le d(x,y)+ d(y,z)$
$\forall x,y,z \in M.$
Naively it seems that $\Bbb{R}$ has too much structure than what is required of it to satisfy these axioms and $d$ could map to any ordered ring.
So my question is why is $\Bbb{R}$ chosen and not a more general ring? Has there been any research on metrics that map to sets other than $\Bbb{R}$?
I have searched Google and not found anything useful. My question title seems similar to this one but after reading the full question text I believe they are asking different things.