Continuity Test using Sub-Basis

Theorem
Let $\left({X_1, \tau_1}\right)$ and $\left({X_2, \tau_2}\right)$ be topological spaces.

Let $f: X_1 \to X_2$ be a mapping.

Let $\mathcal S$ be an analytic sub-basis for $\tau_2$.

Suppose that:
 * $\forall S \in \mathcal S: f^{-1} \left({S}\right) \in \tau_1$

where $f^{-1} \left({S}\right)$ denotes the preimage of $S$ under $f$.

Then $f$ is continuous.

Also see

 * Analytic Basis is Analytic Sub-Basis, of which Continuity Test using Basis is seen as a special case.