Continuous map and discrete topology

continuitygeneral-topologysolution-verification

Take $A$, $B$ two topological sets such that $B$ is equipped with the discrete topology. Let be $f:A \rightarrow B$ a continuous function. I was thinking about the following statement

let over the set $B$ an arbitrary topology then $f$ is again a continuous function.

This seems trivial to me, because taken an open set of the new topology it is open for the discrete topology and so the inverse image is again an open set on $A$.

I would be glad to have a confirm or a counterexample of my reasoning, thanks in advance.

Best Answer

Yes, this is completely correct. Having fewer open sets in the codomain and/or more open sets in the domain leaves a continuous function still continuous in the new topology.