I was given the problem to prove the triangle equality for Hamming Codes, i.e.
$d(x,z) \leq d(x,y) + d(y,z)$
I could construct a proof that $d(x,z) = d(x,y) + d(y,z)$ quite simply.
However I am wondering if it is necessary to also prove that $d(x,z) < d(x,y) + d(y,z)$? (i.e. also prove the less than relation)
I hope this question makes sense, and thank you for your assistance.