If a universal first-order theory in a first-order language with a constant entails an existential sentence with quantifier-free matrix, it entails a finite disjunction of closed-term instances of that matrix. Otherwise a first-order model of the first-order theory and all negated ground instances would have a ground-term substructure satisfying the first-order theory. An existential witness there is a tuple of closed-term values, contradicting its negated ground instance. Compactness theorem extracts finitely many instances.
It suffices to eliminate one existential quantifier from a quantifier-free formula . Indeed, logical connectives preserve equivalence, and a universal quantifier can be rewritten using . An induction on the construction of a first-order formula then eliminates all its quantifiers from the inside out.
Convert to disjunctive normal form. Since existential quantification distributes over a finite logical disjunction, consider a single logical conjunction of atomic first-order formulas and their negations. There are no function or constant symbols in this first-order signature, so its atoms are equalities between variables and instances of between variables.
For a tuple , enumerate its possible complete atomic diagrams . Such a quantifier-free formula specifies which variables are equal and, between distinct equality classes, exactly which pairs are adjacent. Keep only the diagrams in which first-order equality is an equivalence relation and is symmetric and irreflexive. There are finitely many diagrams for each , and every tuple in a first-order model of satisfies exactly one of them. Every retained diagram is realizable: insert one vertex for each equality class successively, using the extension axioms to prescribe its adjacency to earlier vertices.
Fix one diagram . A potential existential witness for has one of two forms.
  • An existing vertex. If , substitute for in the logical conjunction. The diagram decides the truth value of every resulting atom, and so decides whether this choice works.
  • A new vertex. Require for every . Simplify to true and to false. Use symmetry to rewrite every remaining edge requirement involving in the form or . An equality , a positive loop requirement, or opposite edge requirements on the same equality class makes this case impossible. Otherwise the requirements give a consistent adjacency pattern on finitely many distinct vertices. Any equality classes without a specified edge requirement can be assigned either pattern. Reorder representatives with the desired neighbours first; the appropriate extension axiom supplies a fresh vertex with precisely this pattern.
All first-order formulas involving only are already decided by . Therefore, for each diagram, the existence of a suitable has a definite answer, determined by a finite syntactic test. Let be the set of diagrams for which at least one disjunct and at least one of the two witness cases succeeds. Then
The right side is a quantifier-free formula. An empty logical disjunction means false, and for an empty tuple the empty atomic diagram means true. These logical truth constants also handle closed first-order sentences in this constant-free first-order signature.
For a concrete illustration of the fresh-witness case,
If , the edge requirements conflict. Otherwise the extension property supplies a vertex outside the finite set of parameters with the desired pattern; the extra avoidance of causes no obstruction. The general diagram construction handles all such equality coincidences systematically and proves quantifier elimination.
Write for the proposed stage-comparison logical formula and fix a standard tuple . If , numeralwise enumeration in arithmetic supplies a standard with . Disjointness gives , so for every standard , in particular . The source's finite initial-segment axiom combines this finite list into
Use as the existential witness to obtain .
If instead , choose with . Disjointness gives refutations of for all , so the finitely many give
For an arbitrary , the source's comparison axiom gives or . In the first case the first conjunct of the proposed witness condition is false. In the second case witnesses failure of its bounded universal conjunct, since is provable. Generalization over therefore gives .
Thus the logical formula separates from . The formal proof uses the enumerators' numeralwise positive and negative formal proof properties and the two explicit order principles supplied in the source; it does not assume the first-order theory can decide arbitrary unbounded existential logical formulas.
The original scan repeats the premise and conclusion of part (i) exactly; it is not a missing or unreadable alternative exercise.[ref] Here is a second formal ordering of the same argument. First introduce the fresh existential witness, derive the desired negation inside its scope, and then eliminate the witness:
Table 1.
Close the negation subproof before eliminating the witness
.
LineOpen assumptionsFormulaJustification
11Premise
21, 2Temporary assumption
31, 2, 3Temporary assumption
41, 2, 3universal elimination 3; term
51, 2, 3negation elimination rule 2, 4
61, 2negation introduction 3, 5
71existential elimination 1, 2, 6; fresh
Thus, again,
At the last existential elimination, occurs in neither the exported conclusion nor the remaining premise. The eigenvariable condition is therefore satisfied. This proof retains a different nesting of the subproofs from part (i).
Assume that every object fails . A fresh existential witness for the premise then has both and its negation. Eliminate the witness before closing the assumption about all objects:
Table 1.
Eliminate the witness inside the negation subproof
.
LineOpen assumptionsFormulaJustification
11Premise
21, 2Temporary assumption
31, 2, 3Temporary assumption
41, 2, 3universal elimination 2; term
51, 2, 3negation elimination rule 3, 4
61, 2existential elimination 1, 3, 5; fresh
71negation introduction 2, 6
The conclusion is
The witness occurs neither in the conclusion of existential elimination nor in its other open assumptions, so the eigenvariable condition holds.
Introduce a fresh existential witness with . The universal premise gives . In the first case, equality elimination rule gives . In the second, it gives , contradicting ; explosion then supplies the common case conclusion . Close both cases and then the witness scope:
Table 1.
A witness must yield the relation at zero
.
LineOpen assumptionsFormulaJustification
11Premise
21, 2Premise
31, 2, 3Premise
41, 2, 3, 4Temporary assumption
51, 2, 3, 4universal elimination 1; term
61, 2, 3, 4, 6Temporary assumption
71, 2, 3, 4, 6equality elimination rule 6, 4
81, 2, 3, 4, 8Temporary assumption
91, 2, 3, 4, 8equality elimination rule 8, 4
101, 2, 3, 4, 8negation elimination rule 9, 3
111, 2, 3, 4, 8explosion 10
121, 2, 3, 4disjunction elimination 5, 6, 7, 8, 11
131, 2, 3existential elimination 2, 4, 12; fresh
Hence
For both uses of equality elimination rule, the formula template is . At the final existential elimination, is fresh in all three original premises and absent from , so the eigenvariable condition holds. No additional assumption that the constants and denote distinct objects is needed.
Use a fresh existential witness . Within the assumption of the forbidden universal quantification, eliminate the original existential quantification to obtain logical falsity:
The witness appears neither in the exported conclusion at line 6 nor in the other undischarged assumptions. The existential quantifier elimination rule is therefore valid, and
The premise limits every possible existential witness to the objects named by ; it does not assert that these constants name distinct objects. Instantiate it at a fresh witness , then apply disjunction elimination. In the first case equality elimination rule transfers to ; in the second it transfers to , contradicting the assumed negation. The full natural deduction derivation is
The sibling case subproofs end before the witness subproof closes. At line 13, is absent from and from all surrounding assumptions, so no witness escape occurs. The final two applications of implication introduction give
The logical falsity elimination rule is needed to complete the contradictory second case with the same conclusion as the first case.