I need to find a metric on $[0,2]$ such that $d(0,1)>1000d(0,2)$
Here is the the example I came up with the following $d(x,y)=\begin{cases} 0\ \ x=y \\ 1 \ \ x\neq y+1\\ 1001 \ \ x=y+1 \end{cases}$ I'm just not sure about the following property $d(x,y) \le d(x,p)+d(p,y)$ and what if $x>1$ . Will this metric work? If not can someone point out to a metric that will work. Thank you