Proving $A \to \exists x B(x) \therefore \exists x(A \to B(x))$

logicnatural-deduction

Working on P.D. Magnus. forallX: an Introduction to Formal Logic (pp. 297, exercise C. 2), appears the following exercise:

$
\def\fitch#1#2{\quad\begin{array}{|l}#1\\\hline#2\end{array}}
\fitch{A \to \exists x B(x)}{
\fitch{\neg \exists x(A \to B(x))}{
\fitch{A}{
\exists xB(x)\\
\fitch{B(c)}{
\ldots
}
}
}
}
$

The next step would be to use Repetition rule in order to derive $B(c)$ but that move is forbidden since $c$ appears in an undischarged assumptions. How can I continue the proof?

Best Answer

I gave a proof here ... but the OP's eventual version at the end of the comments below is snappier and to be preferred!!