Assume $A,B$ are first order formulas, with $x$ not free in $A$. I'd like to prove (in the two-sided sequent calculus for classical logic) that $$ A\to \exists x B \Rightarrow \exists x (A\to B) $$
By left introduction, it would suffice to find some $C$ such that the sequents
$$A\to \exists x B\Rightarrow C$$ and $$ A\to \exists x B,C\Rightarrow\exists x (A\to B)$$ are both derivable.
Any suggestions?
Here's a derivation (I hope you'll excuse my switching to $\vdash$, which is how I learned ;)
Hope this helps ^_^