Compactness implies closedness: Let XX be a and let KXK\subseteq X be . Then KK is in XX.

Remarks

In particular, this applies to subsets of any , since metric spaces are Hausdorff.