A Hausdorff compact space $X$ containing an uncountable discrete set $A$ such that $\overline{U}=\overline{U \setminus A}$ for every open set $U$

compactnessgeneral-topology

I would like to see an example of a Hausdorff compact space $X$ for which there exists an uncountable set $A \subseteq X$ such that:

  • $A$ is a discrete space when equipped with the subspace topology;
  • $\overline{U}=\overline{U \setminus A}$ for every open set $U \subseteq X$.

This question came to my mind when I was thinking about the compact interval $[0,1]$ and its subset $\big\lbrace \frac1n ; \, n \in \mathbb{N} \big\rbrace$. This set satisfies the two conditions above, but it is countable.

Best Answer

Let $X=[0,1]^\Bbb R$ (with the product topology, of course). Let $A$ be the set of all elements $x\in X$ such that $x$ takes the value 1 in exactly one coordinate and the value 0 in all other coordinates. It is easy to verify (if you know Tychonoff's Theorem) that this does what you ask.

Related Question