I want to prove the following theorem:
If the topology on each space $X_\alpha$ is generated by a basis $\mathcal{B}_{\alpha}$. The set $\mathcal{B}={\underset{\alpha\in J}{\prod}B_{\alpha}:\forall\alpha\in J,\,B_{\alpha}\in\mathcal{B_{\alpha}}} $ is therefore a basis for the box topology on $\underset{\alpha\in J}{\prod}X_{\alpha} $.
My attempt: Let $U$ be an open set in the box topology of $\underset{\alpha\in J}{\prod}X_{\alpha} $. I want to prove that it can be written as the union of elements of $\mathcal{B} $. We can write $U$ as the union of elements of the standard basis for the box topology: $U=\underset{i\in I}{\bigcup}\underset{\alpha\in J}{\prod}U_{\alpha}^{i} $ (with each $U_{\alpha}^{i} $ an open set of $X_\alpha$). Now, each $U_{\alpha}^{i} $ can be written as the union of elements of $\mathcal{B}_{\alpha} $: $U_{\alpha}^{i}=\underset{\lambda\in\Lambda}{\bigcup}B_{\alpha,\lambda}^{i} $. Thus, we get $U=\underset{i\in I}{\bigcup}\underset{\alpha\in J}{\prod}\underset{\lambda\in\Lambda}{\bigcup}B_{\alpha,\lambda}^{i}=\underset{i\in I}{\bigcup}\underset{\lambda\in\Lambda}{\bigcup}(\underset{\alpha\in J}{\prod}B_{\alpha,\lambda}^{i}) $. The factor in parentheses is an element of $\mathcal{B} $.
I don't know how to get $U$ as an union of such elements of $\mathcal{B}$ in order to conclude the proof.