The reflexivity rule for first-order equality: any well-formed term satisfies without additional premises. Together with the equality elimination rule, it derives symmetry: from and , substitute in the first designated argument position of to obtain . Transitivity follows from and by substitution in the second designated argument position of .
Existential quantification over a finitely named domain Created 2026-10-25 Updated 2026-10-31
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.
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 reflexivity to obtain . In equality elimination rule, take to be , and replace the designated first occurrence of using the premise :
Table 1.
Symmetry from reflexivity and replacement
.
LineOpen assumptionsFormulaJustification
11Premise
21equality introduction rule
31equality elimination rule 1, 2
Therefore
The second occurrence of in is part of the fixed parameter in and is not replaced.
The equality introduction rule is reflexivity: any well-formed first-order term is equal to itself, with no premises. The equality elimination rule permits replacement of equals in a first-order formula:
In the second rule, write and as the results of substituting and into the same designated free occurrences of a variable in . Both substitutions must avoid variable capture. The rule preserves the surrounding assumptions. This expresses first-order equality rather than treating equality as an arbitrary relation symbol.
Eliminate the existential premise with fresh witness . Its first conjunct gives and its second gives . For a fresh arbitrary , one direction of the desired logical biconditional follows by universal elimination. For the other, must be reversed before transporting to using the supplied oriented equality elimination rule.
LineContextFormulaJustification
1Premise
2Temporary assumption
3conjunction elimination rule on 2
4conjunction elimination rule on 2
5universal elimination on 4; instantiate at
6Temporary assumption
7equality introduction rule
8equality elimination rule on 6, 7
9equality elimination rule on 8, 3
10implication introduction rule on 9; discharge 6
11biconditional introduction rule on 5, 10
12universal introduction on 11; fresh
13existential quantifier introduction rule on 12; witness
14existential quantifier elimination rule on 1, 13; discharge 2; fresh
Here is absent from every open assumption when line 12 uses universal introduction. In line 13 the existential quantifier binds the witness position occupied by ; the conclusion then has no free , allowing line 14 to close its witness subproof. Hence
The premise says an object satisfying exists and every object satisfying equals it. The logical biconditional adds the converse explicitly: every object equal to that witness also satisfies .
Use the equality introduction rule to prove . In the equality elimination rule, choose the first-order formula to be . Substituting for in its first position proves symmetry:
LineContextFormulaJustification
1Premise
2equality introduction rule
3equality elimination rule on 1, 2
Thus . This uses only the two supplied equality rules; symmetry has not been assumed as an additional rule.
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.
Choose fresh arbitrary eigenvariables . Under , use the equality elimination rule to transport to . For the reverse direction, first derive by the symmetry derivation above. In full natural deduction form:
All temporary assumptions are discharged before either universal quantifier introduction rule application, so both eigenvariable conditions hold. No premises remain:
For transitivity of first-order equality, take to be . The equality elimination rule applied to and gives
For symmetry of first-order equality, first obtain by the equality introduction rule. Now take to be and substitute using :
These choices of formula show exactly which occurrence is replaced, so neither argument assumes the property it is establishing.
The equality introduction rule is reflexivity, with no premise. The equality elimination rule is substitution of equal first-order terms into a first-order formula:
The indicated substitution must be capture-avoiding substitution in first-order logic: the first-order terms must be free for the replaced variable. One can designate a particular argument occurrence by choosing appropriately; the rule does not demand replacing every occurrence of an identical-looking term in a formula.
Choose distinct fresh parameters . Within the assumption , equality elimination rule gives the forward implication directly. Derive the reverse equality explicitly before using it for the reverse implication:
1  | a = b                                           assumption
 2  | | P(a)                                         assumption
 3  | | P(b)                                         =-elim 1,2
 4  | P(a) → P(b)                                    →-intro 2–3
 5  | a = a                                          =-intro
 6  | b = a                                          =-elim 1,5; φ(u) := (u = a)
 7  | | P(b)                                         assumption
 8  | | P(a)                                         =-elim 6,7
 9  | P(b) → P(a)                                    →-intro 7–8
10  | (P(a) → P(b)) ∧ (P(b) → P(a))                  ∧-intro 4,9
11  a = b → ((P(a) → P(b)) ∧ (P(b) → P(a)))          →-intro 1–10
12  ∀y. a = y → ((P(a) → P(y)) ∧ (P(y) → P(a)))      ∀-intro 11, b fresh
13  ∀x. ∀y. x = y → ((P(x) → P(y)) ∧ (P(y) → P(x)))  ∀-intro 12, a fresh
The equality assumption is discharged before either universal quantifier introduction rule. There are then no undischarged assumptions, so both eigenvariable condition requirements hold. The final universal theorem expresses that equal arguments are interchangeable in the predicate in both directions.
Equality introduction rule is reflexivity; equality elimination rule permits substitution of equals in a formula:
Terms substituted into must be free for substitution, so no variable becomes captured. The notation means substitution into the same designated free variable positions of one formula; other occurrences may remain fixed. These rules express first-order equality without assuming symmetry or transitivity as additional axioms.
Let abbreviate the universal premise, and put . The constants need not denote distinct elements. Use a fresh witness for the existential, then the justified three-case disjunction elimination from (i):
1  ∀x (x=c0 ∨ x=c1 ∨ x=c2)              premise H
2  | ¬Q(c0)                            assume
3  | | ∃x Q(x)                         assume
4  | | | Q(u)                          fresh witness for 3
5  | | | u=c0 ∨ u=c1 ∨ u=c2            ∀-elim, 1
6  | | | | u=c0                        first case
7  | | | | Q(c0)                       =-elim, 6 and 4
8  | | | | ⊥                           ¬-elim, 7 and 2
9  | | | | K                           ⊥-elim, 8
10 | | | | u=c1                        second case
11 | | | | Q(c1)                       =-elim, 10 and 4
12 | | | | K                           ∨-intro-L, 11
13 | | | | u=c2                        third case
14 | | | | Q(c2)                       =-elim, 13 and 4
15 | | | | K                           ∨-intro-R, 14
16 | | | K                             3-cases, 5, subproofs 6–9, 10–12, 13–15
17 | | K                               ∃-elim, 3, subproof 4–16
18 | (∃x Q(x)) → K                     →-intro, discharge 3–17
19 ¬Q(c0) → ((∃x Q(x)) → K)             →-intro, discharge 2–18
Equality elimination rule has exactly the forward orientation displayed in Figure 4: substitute the equal constant for in . At line 17 the fresh witness is absent from , and the remaining assumption. This proves the required sequent without assuming that the universe has exactly three distinct objects.
Let abbreviate , and group the three equality alternatives on the left. The proof uses the binary disjunction elimination rule twice, so no unproved three-way derived rule is needed.
LineFormulaJustification
1Premise
2Assume for the first implication
3Assume for the second implication
4Assume with fresh witness name
5Universal quantifier elimination rule, 1
6Assume the first outer case
7Assume the first inner case
8Equality elimination rule, 7 and 4
9Negation elimination rule, 2 and 8
10Logical falsity elimination rule, 9
11Assume the second inner case
12Equality elimination rule, 11 and 4
13Disjunction introduction rule, left, 12
14Disjunction elimination rule, 6, 7–10 and 11–13
15Assume the second outer case
16Equality elimination rule, 15 and 4
17Disjunction introduction rule, right, 16
18Disjunction elimination rule, 5, 6–14 and 15–17
19Existential quantifier elimination rule, 3 and 4–18
20Implication introduction rule, discharging 3–19
21Implication introduction rule, discharging 2–20
The witness name is absent from and from every assumption remaining after line 19, so the existential elimination is legal. Each equality is used in the forward direction supplied by the printed equality rule. The three named constants need not denote distinct objects: the case proof requires only that they exhaust the domain. This is existential quantification over a finitely named domain followed by exclusion of the first case.
Choose arbitrary fresh variables and assume under label . The conjunction elimination rule gives and . Apply the disjunction elimination rule to the equality disjunction.
In the case , the supplied symmetry rule gives , and the equality elimination rule applied to gives . Disjunction introduction rule gives . In the case , equality elimination rule applied directly to gives ; the other disjunction introduction rule gives the same conclusion . Discharge the two equality case assumptions by disjunction elimination rule.
Discharge with the implication introduction rule. There are now no undischarged assumptions. Use the universal quantifier introduction rule successively for , then , then , yielding
Freshness holds at every generalization because the sole temporary assumption has already been discharged; the arbitrary variables are not tied to any premise.