For context: this may help me resolve this previous post.
Definition: for any set of sentences $S$ in the language $L$, define$\def\f{\phi}$ $$w(S) := S\cup\bigg\{\phi[c/x] : (\exists x\phi)\in S\bigg\}$$ in the language $w(L)$ consisting of $L$ with enough constants $c$ added (one such constant $c$ per $\exists x\phi$ statement in $S$ is sufficient).
Is the following result and proof correct?:
Result: if $S$ is consistent, then so is $w(S)$.
Proof: suppose $w(S)$ is inconsistent, so that $$S,\psi_1[t_1\setminus x_1],\ldots,\psi_m[t_m\setminus x_m]\vdash \bot$$ for sentences $\psi_j[t_j\setminus x_j]$ for which $(\exists x_j \psi_j(x_j))\in S$. Adding an extra step to the proof of $\bot$ if necessary (recall that everything follows from $\bot$) we assume that $\bot$ is a sentence in $L$. The goal is to construct a proof of $\bot$ in $S$. We use the following rule of natural deduction:
$$\frac{ \begin{matrix} & & \left[\phi[t/x]\right]\\ & & \vdots\\ \exists x\phi(x) & & \psi \end{matrix}} {\psi}$$ for a newly introduced constant $c$ into the language (note this implies that $c$ is not in $\exists x\phi(x)$, nor in $\psi$, nor in any axiom, as these are all sentences of the language, which does not contain $c$).
Substituting into the rule, we get
$$\frac{ \begin{matrix} & & \left[\psi_1[t_1/x_1]\right]\\ & & \vdots\\ \exists x_1\psi_1(x_1) & & \bot \end{matrix}} {\bot}$$
providing us with $S,\psi_2[t_2\setminus x_2],\ldots,\psi_m[t_m\setminus x_m]\vdash \bot$. Applying the argument $m$ times gives $S\vdash \bot$, which is a contradiction.