Let $K \subset \mathbb{C}$ be compact and let $A(K)$ be the space of functions that are continuous on $K$ and holomorphic on $K^\circ$ (the case $K = \emptyset$ is allowed). If $f$ is injective and if we put $L := f(K)$, is it true that the inverse function $f^{-1}: L \rightarrow K$ belongs to $A(L)$?
From the compactness of $K$ it follows that $f^{-1}$ is continuous. To show that $f^{-1}$ is holomorphic at $z \in L^\circ$ I need to show that $f$ is holomorphic in a neighborhood of $f^{-1}(z)$ or equivalently that $f^{-1}(z)$ is an interior point of $K$ but I don't see why this is true.
Does anyone have an idea?