Proposition (sequentially compact subset is closed)

Let $(X,d)$ be a metric space and $Y\subseteq X$.

If $Y$ is sequentially compact, then $Y$ is closed.

Proof