So I was working on a proof that every compact discrete metric space is finite, and my result was that not only is every one finite, but every one is just a singleton set. I just want to confirm whether this is true or not.
In my proof I showed that a set K in (M, discrete) is sequentially compact only if every sequence in K is a constant sequence in the form (x, x, x, . . .).
EDIT: The above is incorrect. I didn't consider sequences with constant tails in my proof, and if I did it would have led me to the conclusion that every compact discrete metric space is finite, but not necessarily singleton.
EDIT 2: It turns out that even when considering sequences with constant tails, singleton sets are still the only sets that only contain sequences with constant tails. So something else in my proof is wrong.
The only sets that contain only constant sequences are singleton sets, so therefore, every compact discrete metric space is singleton.
No. Let $X$ be any finite set, and define
$$d(x,y)=\begin{cases} 1,&\text{if }x\ne y\\ 0,&\text{if }x=y\;; \end{cases}$$
then $d$ is a metric on $X$ that generates the discrete topology, and $X$ is trivially compact in that topology, since every finite space is compact.