A set is closed when its complement is open. By de Morgan and Proposition 12.3: any intersection of closed sets is closed, finite unions of closed sets are closed.
Examples
Example 12.7 (The sequential test, both ways)
Closed: . Let with . The window contains only finitely many points of (finitely many integers, finitely many ), and beyond some rank all lie in it: the sequence then takes finitely many values, and, converging, is eventually constant (as in Exercise 12.3): . Closed — even though contains pairs of points at distance , arbitrarily close.
Not closed: . The sequence tends to , and (a sum of two positive terms): the sequential test fails, is not closed. Interestingly, each does belong to : indeed . The closing insight: to prove closedness, control all convergent sequences at once (usually via a local finiteness or a closed-formula argument); to disprove it, one well-chosen escaping sequence suffices — the asymmetry makes the negative direction the easy one, and the counterexamples of this chapter all have this one-line shape.
Example 12.8
Segments , half-lines , finite sets, (a convergent sequence of integers is eventually constant) are closed. is neither open (fails at ) nor closed ( the set): most sets are neither. and are both open and closed — and they are the only such subsets of (Exercise 12.9).
Example 12.9 (An open set assembled from infinitely many pieces)
: an infinite union of open intervals, open by Proposition 12.3 — so is closed with no sequential argument needed. Note the division of labor in the stability rules: unions of open sets may be arbitrary (each point only needs its own certificate, supplied by the one set containing it), while intersections must stay finite (certificates must be intersected, and infinitely many radii can shrink to nothing). Exercise 12.10 will show this example is the general shape: every open subset of is a countable disjoint union of open intervals.