Here there is my proof (quite short and easy) of a rather straightforward result.
Still, I would like to know:
- if it is sound, because absolute value always creates me some problem, and
- if there is a shorter (neater) way to get the result.
Proposition: $|d(x,y) + d(y,z)| \leq d(x,z)$.
Proof:
We proceed by cases.
If $d(x,y) + d(y,z) \geq 0$, then by the triangle inequality the result is established.
If $d(x,y) + d(y,z) <0$, then $$ -d(x,y) - d(y,z) \leq d(x,y)-d(y,z) \leq d(x,z),$$ where the last inequality holds by the triangle inequality again. $\square$
As always, any feedback is welcome.
Thank you for your time.
$|d(x,y)+d(y,z)|=d(x,y)+d(y,z)$ since the metric only returns non-negative values.