A path cannot leave an open sequentially closed set

See it in Lean

Axioms
ZFC only
Concerns
Path connected

Statement

Let \(X\) be a space and \(A \subseteq X\) a set that is open and sequentially closed: it contains the limit of every convergent sequence of its points. If a path in \(X\) joins a point \(x \in A\) to a point \(y\), then \(y \in A\).

Proof

Let \(\gamma : [0, 1] \to X\) be a path from \(x\) to \(y\), and let \(S = \gamma^{-1}(A)\). It is open in \([0, 1]\), as \(A\) is open and \(\gamma\) is continuous. It is closed: if \(t_n \in S\) and \(t_n \to t\), then \(\gamma(t_n) \to \gamma(t)\) by continuity, so \(\gamma(t) \in A\) as \(A\) is sequentially closed, and \(t \in S\); in the metric space \([0, 1]\) a set containing the limits of its convergent sequences is closed. Since \(0 \in S\) and \([0, 1]\) is connected, \(S = [0, 1]\), so \(y = \gamma(1) \in A\). \(\blacksquare\)

Where it is used

Cited on space pages