I am trying to prove "a function with the intermediate value property cannot have simple discontinuities", inspiring myself with this SE reply.
Consider $f$ with the Intermediate Value Property and suppose it has a simple discontinuity. Then, $f(a)$, $r$ and $l$ cannot be all identical (where $r$ is the right-handed limit of $f$ at $a$ and $l$ the left-handed one).
Applying an adapted version of the definition $4.33$ from Rudin PMA (which has a typo actually, see here also) we have:
- $f((a- \delta , a)) \subseteq (l- \epsilon , l+\epsilon )$
- $f((a,a+\delta )) \subseteq (r-\epsilon , r+\epsilon )$
- $f(a) \subseteq (f(a) - \epsilon , f(a)+ \epsilon )$
Taking the union of these $3$ bullets, we have:
$$f((a-\delta , a+\delta)) \subseteq (l-\epsilon , l+\epsilon) \cup (r-\epsilon , r+\epsilon )\cup (f(a)-\epsilon , f(a)+\epsilon )$$
But, from here I cannot reach the same conclusion as in the answer because $f((a- \delta , a+ \delta))$ could very well be a subset of, say, $(l- \epsilon, l+ \epsilon)$ and hence, be connected.
PS: I'm sorry that the $\epsilon$'s and $\delta$'s in the bullets are not very rigorous, but I think the idea is correct.