Theorem
Ifis the discrete topology on a set
and
is a function from
to a subtopology
then
is continuous.
Proof
Take any open set inthen
is open in
because
is the discrete topology on
so that each subset of
is open.
To give a trivial example, takethen
and
henceis continuous.