Let $D \subset \mathbb{C}^{n}$ be an open domain and $K \subset D$ be a compact subset such that $D - K$ is simply connected. Let furthermore $f$ be a analytic function defined on $D-K$. Is it possible to extend $f$ to the whole $D$? If yes, by which theorem. If not, what further assumption do I need in order to make it possible ($D$ beeing a polydisk, some convergence theorems etc....)? Or doesn't it work at all?
bill
It's enough to assume that $D\setminus K$ is connected. Look up Hartogs' extension theorem, which you can find in any textbook on several complex variables. Wikipedia's version
Of course, you need to assume that $n > 1$. If $n=1$, it's very easy to find counterexamples, e.g. $f(z) = 1/(z-p)$, where $p\in K$.)