I constructed this lean proof to the Generalization Rule in the Hilbert System. I have marked the passage where I am not sure if I overdo. It may not be proper language but I want it to be better readable for me in the future.
Theorem: Let $\Sigma$ be an axiom system of the Hilbert calculus in the language $L$, and let $\varphi$ be a formula of $L$ with $\Sigma \vdash \varphi$. Furthermore, let $x$ be a variable that does not occur freely in any formula of $\Sigma$. Then $\Sigma \vdash \forall x \varphi$.
Proof: We know that the Hilbert calculus is sound, i.e., $\Sigma \vdash \varphi \rightarrow \Sigma \vDash \varphi$. Furthermore, we know that $\Sigma \vdash \varphi$, so $\Sigma \vDash \varphi$, i.e. $\varphi$ holds in all models of $\Sigma$ for any interpretation over any domain $D$ (= $\varphi$ is true under $\Sigma$, $D$). Let $x$ be a variable that does not occur freely in $\Sigma$, i.e. $x$ cannot cause certain premises in $\Sigma$ to become true in a way that makes $\varphi$ false, so that $\varphi$ holds for any arbitrary assignment to $x$. Hence, $\Sigma \vDash \forall x \varphi$. By the completeness of the Hilbert calculus, it follows that $\Sigma \vdash \forall x \varphi$.
This can only hold if there is no existential quantifier. If the reference set is the natural numbers, then we have true statements such as "there exists an even prime" which can get represented in any logic useful for arithmetic. As another example "there exists an identity number" can get represented for any logic sufficient for some understanding of addition or multiplication.
I think "there exists a reference set" counterexamples also.
– Doug Spoonwood Dec 12 '24 at 23:36