I'm working on the "iff"-relation given by:
$X=\prod_{i\in I}X_i$ is connected iff each $X_i$ non-empty is connected for all $i\in I$.
I could prove the "$\Rightarrow$"-direction very easily. I also proved that a finite product of connected spaces is connected. Now I want to prove the following:
-
Choose $z=(z_i)\in\prod_{i\in I}X_i$. For every finite subset $J\subset I$ the set $X_J:=\left\{x\in X:x_i=z_i\ \forall I-J\right\}$ is connected.
I have given the follwoing proof: This set is homeomorphic with a finite product $\prod_{j\in J}X_j$ given by the map defined by: $x=(x_j)_{j\in J}$ mapped on $y=(y_i)_{i\in I}$ such that $y_j=x_j$ if $j\in J$ and $y_j=z_j$ if $j\notin J$. This mapping is continuous and injective (and also the inverse is continous since it is the projection map). But then we know that $X_J$ is connected since every finite product is connected (if the components are connected).
Is this proof correct? The only thing that I have to prove now is that $Y=\cup_{J\subset I,J\ finite}X_J$ is dense in X. How do I do that? Can someone help? Thank you.