The Unclear Claim
I'm having trouble understanding the following statement from Topology by James Dugundji chapter IV:
$\mathbf{2.6}$ Corollary. Let $\{X_\alpha\mid \alpha\in\mathscr{A}\}$ and $\{Y_\beta\mid \beta\in\mathscr{B}\}$ be two families of spaces, and $\varphi\colon \mathscr{A}\to\mathscr{B}$ a bijection. If for each $\alpha$, $X_\alpha\cong Y_{\varphi(\alpha)}$, then $\prod_\alpha X_\alpha\cong \prod_\beta Y_\beta$. In particular, $\prod_\alpha X_\alpha$ is unrestrictedly commutative.
Proof. This is immediate from $\mathbf{2.5}$ and III, $\mathbf{12.2}$.
$\mathbf{2.5}$ states
$\mathbf{2.5}$ Theorem. Let $\aleph(\mathscr{A})$ be arbitrary. For each $\alpha\in\mathscr{A}$, let $f_\alpha\colon X_\alpha\to Y_\alpha$ be a map. Define $\prod f_\alpha\colon\prod_\alpha X_\alpha\to\prod_\alpha Y_\alpha$ by $\{x_\alpha\}\to \{f_\alpha(x_\alpha)\}$. Then:
- If each $f_\alpha$ is continuous, so also is $\prod f_\alpha$.
- If each $f_\alpha$ is an open map, and all but finitely many are surjective, then $\prod f_\alpha$ is also an open map.
while III.$\mathbf{12.2}$ is just an elementary equivalence for homeomorphisms.
Why It's Unclear
I don't see how $\mathbf{2.5}$ implies $\mathbf{2.6}$. I feel like, for $\mathbf{2.6}$ to follow, it's conclusion should be $\prod_\alpha X_\alpha\cong \prod_\alpha Y_{\varphi(\alpha)}$ and not $\prod_\alpha X_\alpha\cong \prod_\beta Y_\beta$ since, what I think Dugundji is trying to say, is that the homeomorphisms from $X_\alpha$ to $Y_{\varphi(\alpha)}$ in $\mathbf{2.6}$ should be used as the $f_\alpha$'s on $\mathbf{2.5}$ to create the homeomorphism $\prod f_\alpha$. The thing is that, with this procedure, $\prod f_\alpha\colon \prod_\alpha X_\alpha\to \prod_\alpha Y_{\varphi(\alpha)}$ does not necessarily relate $\prod_{\alpha}X_\alpha$ to $\prod_\beta Y_\beta$.
What am I not seeing or understanding erroneously? Could someone provide the "immediate proof" of statement $\mathbf{2.6}$?
We need an extra ingredient, 2.5. is not sufficient to prove 2.6.
As Mehmet Kırdar writes in his answer, 2.5 shows that we get a homeomorphism $\Pi_{\alpha\in\mathscr A} f_{\alpha}: \Pi_{\alpha\in\mathscr A} X_\alpha\rightarrow \Pi_{\alpha\in\mathscr A} Y_{\varphi(\alpha)}$. It remains to show that $\Pi_{\alpha\in\mathscr A} Y_{\varphi(\alpha)} \approx \Pi_{\beta\in\mathscr B} Y_{\beta}$. By definition $$\prod_{\gamma \in \mathscr C} Z_\gamma = \left.\left\{ u : \mathscr C \to \bigcup_{\gamma \in \mathscr C} Z_\gamma \right| \forall \gamma \in \mathscr C: u(\gamma) \in Z_\gamma \right\} .$$ The product topology on $\prod_{\gamma \in \mathscr C} Z_\gamma $ is the coarsest topology such that all projections $p_\gamma : \prod_{\gamma \in \mathscr C} Z_\gamma \to Z_\gamma, p_\gamma(u) = u(\gamma)$, become continuous.
Now define $$\varphi^* : \Pi_{\beta\in\mathscr B} Y_{\beta} \to \Pi_{\alpha\in\mathscr A} Y_{\varphi(\alpha)}, \varphi^*(u) = u \circ \varphi .$$ Clearly $\bigcup_{\beta \in \mathscr B} Y_\beta = \bigcup_{\alpha \in \mathscr A} Y_{\varphi(\alpha)}$ and $(u \circ \varphi)(\alpha) = u(\varphi(\alpha)) \in Y_{\varphi(\alpha)}$, thus $\varphi^*$ is well-defined. It is moreover injective: If $\varphi^*(u) = \varphi^*(u')$, i.e. $u \circ \varphi = u' \circ \varphi$, we get $u = (u \circ \varphi) \circ \varphi^{-1} = (u' \circ \varphi) \circ \varphi^{-1} = u'$. It is also surjective: Each $v \in \Pi_{\alpha\in\mathscr A} Y_{\varphi(\alpha)}$ has the form $v = \varphi^*(v \circ \varphi^{-1})$ (note that $(v \circ \varphi^{-1})(\beta) = v(\varphi^{-1}(\beta)) \in Y_{\varphi(\varphi^{-1}(\beta))} =Y_\beta$ which means $v \circ \varphi^{-1} \in \Pi_{\beta\in\mathscr B} Y_{\beta}$ ).
Hence $\varphi^*$ is a bijection. The product toplogy on $\Pi_{\alpha\in\mathscr A} Y_{\varphi(\alpha)}$ is the coarsest topology such that all projections $p_\alpha : \Pi_{\alpha\in\mathscr A} Y_{\varphi(\alpha)} \to Y_{\varphi(\alpha)}$ become continuous. The bijection $\varphi^*$ induces a coarsest topology on $\Pi_{\beta\in\mathscr B} Y_{\beta}$ such that all functions $p_\alpha \circ \varphi^* : \Pi_{\beta\in\mathscr B} Y_{\beta} \to Y_{\varphi(\alpha)}$ become continuous. This topology makes $\varphi^*$ a homeomorphism. Since $\varphi$ is a bijection, the continuity of all $p_\alpha \circ \varphi^*$ is equivalent to the continuity of all $p_{\varphi^{-1}(\beta)} \circ \varphi^* : \Pi_{\beta\in\mathscr B} Y_{\beta} \to Y_{\varphi(\varphi^{-1}(\beta))} = Y_\beta$. But $p_{\varphi^{-1}(\beta)} \circ \varphi^*$ is nothing else than the projection $ \Pi_{\beta\in\mathscr B} Y_{\beta} \to Y_\beta$. Thus the above topology on $\Pi_{\beta\in\mathscr B} Y_{\beta}$ the product topology.