Subspace of Product Space is Homeomorphic to Factor Space/Proof 1/Lemma 1

Theorem
Let $\family {X_i}_{i \mathop \in I}$ be a family of sets where $I$ is an arbitrary index set.

Let $\ds X = \prod_{i \mathop \in I} X_i$ be the Cartesian product of $\family {X_i}_{i \mathop \in I}$.

Let $z \in X$.

Let $i \in I$.

Let $Y_i = \set {x \in X: \forall j \in I \setminus \set i: x_j = z_j}$

For all for all $j \in I$ let:
 * $Z_j = \begin{cases} X_i & i = j \\

\set{z_j} & j \ne i \end{cases}$

Then:
 * $Y_i = \prod_{j \mathop \in I} Z_j$

Proof
The result follows by definition of set equality.