Assume with . For the forward implication, open a fresh existential witness, instantiate domain exhaustiveness at it, and split into the equality cases. The equality elimination rule transfers its predicate to the corresponding constant, which supplies the required disjunct. Closing the witness scope is legal because the result contains only the named constants. Conversely each named instance gives the existential by the existential quantifier introduction rule, and cases combine those derivations. The constants need not denote distinct objects. A negated named instance can eliminate one case through contradiction and logical falsity elimination rule.
The displayed derivation is invalid, although its final conjecture is valid. Its existential-elimination step exports with the local witness name still free, violating the eigenvariable condition. Introducing an existential quantifier afterwards does not repair that earlier invalid rule application.
Move the existential quantifier introduction rule inside the witness scope:
LineFormulaJustification
1Premise
2Premise
3Assume with fresh
4Universal quantifier elimination rule, 1
5Implication elimination rule, 3 and 4
6Existential quantifier introduction rule, 5
7Existential quantifier elimination rule, 2 and 3–6
The exported formula contains no free , and neither original premise contains that name. The witness assumption is now discharged legally.
For readability write for the uninterpreted relation . In the first proof, introduce the universal quantifier inside the existential witness scope:
LineFormulaJustification
1Premise
2Assume with fresh witness name
3Universal quantifier elimination rule, 2; choose fresh arbitrary
4Existential quantifier introduction rule, 3
5Universal quantifier introduction rule, 4; is absent from open assumptions
6Existential quantifier elimination rule, 1 and 2–5
In the second proof, first close the witness scope and then generalize the arbitrary object:
LineFormulaJustification
1Premise; choose arbitrary and fresh for this premise
2Assume with fresh , also different from
3Universal quantifier elimination rule, 2
4Existential quantifier introduction rule, 3
5Existential quantifier elimination rule, 1 and 2–4
6Universal quantifier introduction rule, 5
These are distinct proof trees: the final two rule applications are interchanged, and their freshness conditions have been checked in their respective contexts. They express the quantifier order and uniform witness principle: a single witness working for every object also supplies a witness for each object individually.
The converse is not valid. In a domain interpret as equality of its arguments. Every object has a witness, namely itself, but no one object equals both 0 and 1. The premise of the converse is true and its conclusion false. The symbol is an arbitrary binary relation here; no set-membership axioms may be imposed on it without an additional premise.
Apply the universal quantifier elimination rule to the universal premise with term , obtaining . The left biconditional elimination rule gives . Use the premise and the modus ponens rule to derive . The existential quantifier introduction rule with witness yields . Substitution of a constant is capture-free here, so both quantifier side conditions hold.