Let $X\neq\emptyset$ and let $\rho:X\times X\longrightarrow \mathbb{R}$ with the following properties :
a) for $\forall x,y\in X$, $\rho(x,y)\geq 0$
b) for $\forall x,y\in X$, $\rho(x,y) = 0\iff x=y$.
c) for $\forall x,y,z\in X$, $\rho(x,y)\leq \rho(x,z) + \rho(y,z)$
Show that $\rho$ is a metric on $X$.
I understand that I should show that we can use these three given axioms to reach to the third one.
I substituted firstly $x=z$ and then $y=z$ in the triangle inequality, but really couldn't reach what I want.
If $x=z$, $\rho(x,y)\leq 0+\rho(y,x)$.
If $y=z$, $\rho(x,y)\leq 0+\rho(x,y)$.