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
As an analytic basis is also an analytic sub-basis, it is seen that Continuity Test using Basis is a special case of this theorem.