Sequential characterization of continuity in metric spaces
= Sequential characterization of continuity in metric spaces
A map between metric spaces is continuous exactly when $x_n\to x$ always implies $f(x_n)\to f(x)$. If an inverse image of an open set were not open, points outside it could be chosen within distance $1/n$ of a point inside it, proving the converse by contradiction.