Let I be a uncountable set and {$(X_i, \tau_{i} $): i $\in$ I} a family of topological spaces $T_1$ with at least two points.Set f $ \in \prod_{i \in I} X_i $.Show that the subspace S = { g $\in$ $\prod_{i \in I} X_i$ :( i $\in$ I: g (i) $\neq$ f (i)) is countable} from $ \prod_{i \in I} X_i $ is not separable.
====================================================================
What I thought.
To be separable $ \prod_ {i \in I} X_i $ needs to be countable and dense, we know that it is countable, so it cannot be dense. We also know that I is $ T_1 $ so there is z $ \in $ I and U $ \subset $ I, where z $ \in $ U such that z $ \notin $ S. So $ \prod_ {i \in I} X_i $ is not dense and therefore is not separable.
Thank you in advance for any assistance.
There are several problems with your attempt. First, we’re not interested in whether $\prod_{i\in I}X_i$ is separable: we’re interested in the separability of its subspace $S$. And in any case separability of $\prod_{i\in I}X_i$ would not require $\prod_{i\in I}X_i$ to be countable, and neither $\prod_{i\in I}X_i$ nor $S$ is countable. Here is a correct argument: