Revisit the following discussion:
Prove that the inverse image of an open set is open
Obviously, the above discussion is based on Euclidean space (which is also a metric space, so the proof is based on the open ball). Can we say the following:
Let $X,Y$ be any two topological spaces,
$f: X \rightarrow Y$ be a continuous function. The inverse image of an open set is open under $f$.
Can this famous theorem apply to any topological space? for example, Zariski space?