I am trying to prove the following proposition:
The topological product of completely regular spaces is completely regular.
I am aware of the question Product of two completely regular spaces is completely regular, and it turns out that my attempt ends up being analogous to what was done there (but for an arbitrary product). However, I have some questions about a few parts of my proof.
My proof:
Let $\{X_i\}_{i\in I}$ be a family of completely regular spaces; i.e. each $X_i$ is a $T_1$ space for which the following holds: given any point $x_i \in X_i$, and given any neighborhood $U_i$ of that point, there exists a continuous function
$$ f_i:X_i \rightarrow [0,1] \\ x_i \mapsto 0 \\ y \in U_i^c, y\mapsto1 $$
Let $x=(x_i)\in X$ and let $U$ be a neighborhood of $x$.
since $U$ is a neighborhood of $x$, there exists an open neighborhood $v$ of $x$ such that $v\subseteq U$. $v$ must be the union of elements of the basis of the product topology. So $v=\underset{\lambda}{\bigcup} \underset{i}{\prod}Q_i^\lambda$, where the $Q_i^\lambda$ are open sets of $X_i$ and only a finite number of them are different from $X_i$.
We can define a function
$$
f:X \rightarrow [0,1] \\ x \mapsto \underset{i}{\prod}f_i(x_i)
$$
where
$$ f_i:X_i \rightarrow [0,1] \\ x_i \mapsto 0 \\ y \in (Q_i^\lambda)^c, y\mapsto1 $$
which we can choose to be continuous by complete regularity of the $X_i$. Notice that we can have a different function $f_i$ for each set of $\lambda$s.
First, we note that $f(x)=\underset{i}{\prod}f_i(x_i)=0$.
We still have to check that $f$ is continuous and that $f(y)=1$ for any $y\in U^c$.
Let $V$ be an open set of $[0,1]$. We have
$$
f^{\dashv}(V)=\underset{i}{\prod} f_i^\dashv(V)
$$
and by continuity of the $f_i$ this is a product of open sets of the $X_i$ and hence is open in $X$.
[First Question: is this true? It doesn't seem to be: if an infinite number of open sets in the product are different from $X_i$, then the product is not an open set of $X$, I think...]
This establishes the continuity of $f$.
Now, let $y\in X-U$. We have
$$
X-U \subseteq X-v = X-\underset{\lambda}{\bigcup} \underset{i}{\prod}Q_i^\lambda = \underset{\lambda}{\bigcap} (X-\underset{i}{\prod}Q_i^\lambda)
$$
So $y$ belongs to all sets $X-\underset{i}{Q_i^\lambda}$ and so all the $y_i$ are in $(Q_i^\lambda)^c$ for some $\lambda$. Choosing those $\lambda$ in our definition of the functions $f_i$ we get $f(y)=\underset{i}{\prod}f_i(y)=1$. $\square$
[Second Question: is this last argument sound? It is not very clear to me].