Given is a set M and a function $d: M \times M \rightarrow \mathbb{R}$ such that :
$$d(x,y)=0 \iff x=y$$
$$d(x,y) \leq d(x,z) + d(y,z)$$
To Prove: d is a metric
Thus we need to prove that :
$$d(x,y) \geq 0$$
$$d(x,y)=d(y,x)$$
Any tips on how to go about this?