I was reading about discrete metric spaces and got a bit confused as to what exactly is the correct definition.
The first one that I came across is that a metric space $(D, \rho)$ is discrete if the accompanying metric is discrete, meaning $\rho(x,y) = 1$ if $x \neq y$ or $\rho(x,y)=0$ if $x=y$. If I understand that correctly then also space of continuous functions $C[0,1]$ equipped with such metric is discrete?
The second definition stated that a metric space $(D, \rho)$ is discrete if there exists some $\kappa > 0$ such that $\rho(x,y)\geq \kappa$ for every $x, y \in D$. By this definition then also $(\mathbb{N}, |\cdot|)$ is a discrete metric space even though the metric here is the absolute value of difference.
Thanks for any clarifications in advance!