Goodday. The problem is as follows:
Let $\mathbb{Z}^\mathbb{N}:=\{x:\mathbb{N}\rightarrow \mathbb{Z} \}$.
We define a function $\text{d}:\mathbb{Z}^\mathbb{N} \times \mathbb{Z}^\mathbb{N} \rightarrow \mathbb{R}$ by the following relation: $-\text{log d(x,y)} = \text{inf}\{\text{n}\in \mathbb{N}:\text{x(n)}\neq \text{y(n)}\}$
Show that $(\mathbb{Z}^\mathbb{N},d)$ is a metric space. [inf $\emptyset$ = +$\infty$ and log $0$ = - $\infty$]
I have difficulties proving the triangle inequality for this metric.
Could you give me a hint (no solution if possible)?
Thanks!