Sequential characterization of closed sets

In metric spaces, a set is closed iff it contains limits of convergent sequences from itself
Sequential characterization of closed sets

Sequential characterization of closed sets: Let (X,d)(X,d) be a and FXF\subseteq X. Then FF is if and only if whenever (xn)(x_n) is a sequence in FF with xnxx_n\to x in XX, one has xFx\in F.

This gives a practical criterion for closedness using sequences, avoiding direct work with complements or .

Proof sketch (optional): If FF is closed, then XFX\setminus F is , so a limit of points in FF cannot lie outside FF. Conversely, if FF contains limits of sequences from FF and xFx\in\overline{F}, pick xnFx_n\in F with xnxx_n\to x ( ); then xFx\in F.