Let $(X_i, \mathcal{T}_i)_{i \in I}$ be a family non indiscrete topological spaces and equip the product with the product topology $\mathcal{T}$. If $\prod X_i$ is second countable, prove that $|I| \leq |\mathbb{N}|$
The proof my books provides goes as follows:
By non indiscreteness of the spaces, we can find $\emptyset \neq B_k \neq X_k$ for every $k \in I$ where $B_k \in \mathcal{T}_k$.
Fix a basis $\mathcal{A}$ for the product topology, and choose $A_k \neq \emptyset$ in $\mathcal{A}$ such that $A_k \subseteq \operatorname{pr}_k^{-1}(B_k)$.
Define $f: I \to \mathcal{A}: k \mapsto A_k$
It then says that if $f^{-1}(\{A\})$ is infinite for $A \in \mathcal{A}$, then $$\operatorname{int}\left(\bigcap_{j \in f^{-1}(\{A\})} \operatorname{pr_j^{-1}(B_j)}\right) = \emptyset$$
and then the proof goes on. I can't understand why this set has empty interior. Can anyone help?
Note that every basic open set is a finite intersection of preimages of open sets in each $X_\alpha$ by the canonical projections. If the interior is nonempty, then there is an interior points, which has a basic open set contained in given set $$\operatorname{int}\left(\bigcap_{j \in f^{-1}(\{A\})} \operatorname{pr}_j^{-1}(B_j)\right),$$ which is impossible, since given set is an intersection of infinitely many such preimages.