Theorem
If
is the discrete topology on a set
and
is a function from
to a subtopology
then
is continuous.
Proof
Take any open set in
then
is open in
because
is the discrete topology on
so that each subset of
is open.
To give a trivial example, take
then
and![]()
hence
is continuous.