A union of two sequentially compact sets is sequentially compact

See it in Lean

Axioms
ZFC only
Concerns
Sequentially compact

Statement

Call a subset \(A\) of a space sequentially compact if every sequence in \(A\) has a subsequence converging to a point of \(A\). If \(A\) and \(B\) are sequentially compact subsets of a space, then so is \(A \cup B\).

Proof

Let \((x_n)\) be a sequence in \(A \cup B\). Infinitely many of its terms lie in \(A\), or infinitely many lie in \(B\). Exchanging the roles of \(A\) and \(B\), we may assume that infinitely many lie in \(A\). Those terms form a subsequence in \(A\), which has a further subsequence converging to a point of \(A \subseteq A \cup B\). \(\blacksquare\)