I have got the following question;
Let $(X_1, \tau_1), (X_2, \tau_2)$ be topological spaces and $X = X_1 \times X_2$. Equip $X$ with the product topology $\tau$ so that, by definition of $\tau$, the projection function $\pi_i : X \rightarrow X_i$ defined by \begin{align} \pi_i(x) = x_i \quad \text{for} \ x = (x_1, x_2) \in X, \ \forall i \in I \end{align} is a continuous function. In general, the inverse image of this projection function, $\pi_i^{-1} : X_i \rightarrow X$, is not a well defined function. However, if we consider the special case where $X_2$ is a singleton set, i.e. $X_2 = \{x_2\}$, then $\pi_1^{-1}$ is actually a well-defined function.
Is it true that this function $\pi_1^{-1}$ is a continuous function? If true, how can I show that?
If we have a set $A\subseteq X_1\times X_2$ such that $\pi_1 \restriction_A$ is injective (and onto), then this is a homeomorphism, due to the projection being an open map.