Let $(X, d)$ be a metric space and $K \subset X$ be closed. Prove or disprove (providing a counterexample) that for every $x \in X$, there exists an $y \in K$ such that $\operatorname{dist}(x,K) = d(x,y)$.
Notation: $\operatorname{dist}(x,K)=\inf(y \in K: d(x,y))$.
I am not sure whether I understand the question correctly as by definition of the distance between a point and a set, it requires existence of some point $y \in K$. So, I am not sure what is the point of the question and why such point would not exist (as if would not it be contradictory to the definition of $\operatorname{dist}$)?