1
If we define a function $f:I\to \{c\}$ for $c\in\mathbb{R}$ by $x \mapsto c$, I seem to get to a contradiction in definitions. On the one hand $f$ is continuous but on the other hand the preimage $f^{-1}(\{c\})$ of the closed set $\{c\}$ containing only the single point $c$ is the open set $I$. B...