Let $A$ be an open set of $\mathbb R$. Is there a function $f:A\to\mathbb R$ with the following properties:
- $f$ is one-to-one,
- There is an $a\in A$ such that $f$ is differentiable at $a$,
- $f'(a)\neq0$,
- But $f^{-1}$ is discontinuous at $f(a)$?
This is a follow-up question to the following: Does the inverse function theorem require continuity as a hypothesis? In this question, I asked whether the following conditions were sufficient to conclude that $f^{-1}$ is differentiable at $f(a)$:
- $f$ is one-to-one,
- $f$ is differentiable at $a\in A$,
- $f'(a)\neq0$.
In a comment, Hans Lundmark wrote that these conditions were not sufficient; however, if we additionally assume that $f^{-1}$ is continuous at $f(a)$, then the theorem holds.