Allen/Hand, Section 3.3: Instances, Open Formulas and Quantifier Scopes

This page uses html math characters that may not render properly in some browsers. For a version that uses graphic images instead, go here instead.

Proofs in Predicate Logic

We want to extend our system for proofs to include predicate logic sequents. To do that, we will add two pairs of rules: Elimination and Introduction rules for each of the quantifiers. These require some explanation in advance. First, we need a definition of an open formula:

An OPEN FORMULA is the result of replacing at least one occurrence of a name in a wff by a new variable (one not already occurring in the wff)

Examples:

WFFReplace...Open Formula
Abb with xAx
~Fcdd with y~Fcy
(Aac&Bad)a with x, once(Axc &Bad)
(∀xFx →Gab)b with y(∀xFx →Gay)
∃y(Fy↔Hya)a with x∃y(Fy↔Hyx)

Note that an open formula is not a wff.

Now we need to define precisely the scope of an occurrence of a quantifier. Intuitively, the scope of a quantifier is the part of the sentence that the quantifier works on. Quantifiers always take the smallest possible scope. To put this formally:

The SCOPE of a quantifier in a given formula is the shortest open formula to the right of the quantifier.

Some examples:

WFFScope of indicated quantifier
(∀xFx→Gab)Fx
(Fa&∀xFx)Fx
∃x(Fx→Gab)(Fx↔Gab)

Instances of Universal and Existential Quantifications

An INSTANCE of a universal or existential quantification is a wff that results by performing the following two steps on it:
  1. Remove the initial quantifier
  2. Replace all occurrences of the free variable in the resulting open formula with a name (using the same name for all instances)

Note these points:

Universalizations and Existentializations of wffs

A UNIVERSALIZATION of a wff is the result of performing the following two steps on it:
  1. Replace one or more occurrences of a name in it by a new variable (that is, a variable not already occurring in it).
  2. Prefix a universal quantifier containing that variable to the resulting open formula.
An EXISTENTIALIZATION of a wff is the result of performing the following two steps on it:
  1. Replace one or more occurrences of a name in it by a new variable (that is, a variable not already occurring in it).
  2. Prefix an existential quantifier containing that variable to the resulting open formula.

Points to note:

Introduction and Elimination Rules for Quantifiers

Our system will have rules of Universal Elimination (∀'E), Universal Introduction (∀I), Existential Elmination (∃E), and Existential Introduction (∃I). As it happens,

one rule of each pair is quite simple to understand and to use, while the other member of each pair is more difficult. Let's begin with the two easy ones, which ar ∀E and ∃I.

Universal Elimination

UNIVERSAL ELIM (∀E): Given a universally quantified sentence (at line m), conclude any instance of it.
ASSUMPTION SET: the same as the line containing the universal quantification.

If ∀x;Φ is a universally quantified wff, then Φ is an open formula with x as an unbound variable. If α is a name, then let's use Φ(α) to mean "the result of replacing x with the name α in Φ". Then, we can summarize this as:

k1 ... ki(m)∀xΦ
(.)..
k1 ... ki(n)Φ(x=α)m ∀E

Examples:

1(1)∀x(Fx→Gx)
(.)..
1(n)(Fb→Gb)1 ∀E

In this example, Φ = (Fx→Gx) and α = b

The next example is a proof of the sequent Fc, ∀y(Fy→Gy) ⊦ Gc :

1(1)FcA
2(2)∀x(Fx→Gx)A
2(3)(Fc→Gc)2 ∀E
1,2(4)Gc1,3 →E

Note these points:

  1. This rule can only be applied to universal quantifications, that is, wffs that begin with a universal quantifier having the entire remainder of the wff as its scope.
  2. You can use any name whatever in producing the instance: it does not have to be a name that already occurs somewhere in the proof.
  3. You can apply ∀E repeatedly to the same wff: universal quantifications do not get "used up" or discharged when you use them once.

THINGS NOT TO DO. The following are all mistaken applications of ∀E:

1(1)∀xFx↔∀yGy
1(2)Fa↔∀yGy2 ∀EWRONG: line 1 is not a universal quantification
 
1(1)∀x(Fx&Gx)
1(2)Fa&Gb2 ∀EWRONG: the same name must be substituted for all occurrences of the unbound variable

Existential Introduction

EXISTENTIAL INTRO (∃I): Given a sentence (at line m containing any occurrence of a name, conclude any existentialization of that sentence with respect to that name.
ASSUMPTION SET: the same as the original line.

We will use Φ(α) to mean 'a wff that contains the name α'. We can then use Φ(x) to mean 'the universalization of Φ(α) with respect to α'. Note that x has to be a variable that does not already occur in Φ(α).

k1 ... ki(m)Φ(α)
(.)..
k1 ... ki(n)∃xΦ(x)m ∃I

Example: a proof of the sequent (Ha ∨ ~Ga) ⊦ ∃x(Hx ∨ ~Gx) :

1(1)Ha ∨ ~GaA
2(2)∃x(Hx ∨ ~Gx)2 ∃I

Example: a proof of the sequent (Ha ∨ ~Ga) ⊦ ∃x(Hx ∨ ~Ga) :

1(1)Ha ∨ ~GaA
2(2)∃x(Hx ∨ ~Ga)2 ∃I

These are both correct: nothing says that we have to replace every occurrence of the name with a variable in making an existentialization of it.

Example using both ∀E and ∃I: a proof of the sequent Fa, ∃xFx→∀yHy ⊦ Hb :

1(1)FaA
2(2)∃xFx→∀yHyA
1(3)∃xFx1 ∃I
1,2(4)∀yHy2,3 →E
1,2(5)Hb4 ∀E

Universal Introduction

∀I is a simple rule, with a catch: it has a restriction on when it can be used. The restriction is absolutely critical:

UNIVERSAL INTRO (∀i): Given a sentence (at line m) containing at least one occurrence of a name, conclude a universalization of the with respect to the name
ASSUMPTION SET: the same as the original line.
RESTRICTION: the name α must not occur in any assumption in the assumption set for line m.

The crucial part of this rule is the restriction. We can explain it as follows. If we are able to get, as a line of a proof, a sentence containing the name α from premises that do not contain α, then it must not be anything pecular about α that made this possible: we could have done the same proof with any other name besides α. In that case, it's reasonable to say that we could have come to the same conclusion about any name whatsoever. And that, in effect, is what a universal quantifier means.

Existential Elimination

This rule, unfortunately, is considerably more complicated to state than the other quantifier rules. Like ∀I, it also has a restriction. However, in this case the restriction is rather complicated as well.

EXISTENTIAL ELIM (∃E)Given the following:
  1. a sentence (at line m),
  2. an existentially quantified sentence (at line k),
  3. and
  4. an assumption (at line i) that is an instance of the sentence at line k,
conclude the sentence at line m again.
ASSUMPTION SET: all the assumptions on line m and k, with the exception of i.
RESTRICTION: the instantial name at line i does not occur in any of the following:
  1. the sentence at line m,
  2. the sentence at line k, or
  3. any sentence in the assumption sets of lines m or k except for line i.

This is much more complicated than any of the other rules. To explain it, we can first consider an argument in English:

Someone stole a huge bag of cash from the bank yesterday. We don't know who it was, so let's call that person "Rob". So, Rob stole a huge bag of cash from the bank yesterday. Now, unfortunately for Rob, this huge bag of cash was booby-trapped with a can of malodorous, fluorescent dye designed to explode when the bag is opened and cover whoever opened it with evil-smelling fluorescent dye. Rob is bound to have opened the bag, so Rob is now covered with stinky day-glow stuff. Therefore, someone is now covered with bad-smelling fluorescent dye.

In this argument, "Rob" functions as a made-up name with no other purpose than allowing me to reason about whoever it was that stole a huge bag of cash from the bank yesterday. The conclusion of this argument doesn't mention Rob and only talks about someone. Intuitively, this looks like a valid argument. We don't draw any conclusions about "Rob" except those that follow from the assumption that he stole a huge bag of cash, etc.

Here's another example:

There is no largest prime number. For suppose that there is a largest prime number. Call this number N. Now consider the number N!, which is the product of all the numbers up to N: N! = 2 × 3 × ... × (N - 1) × N. Add one to this number. Either N!+1 is prime or it is not. If it is prime, then it is a prime number larger than N, and so N is not the largest prime number. So, suppose that N is not a prime number. Then it must be divisible by some number K. Now, for any number M not larger than N, N!+1 is one greater than a multiple of M. But then M is not a divisor or N! + 1. So, K must be different from every number less than N. In that case, K is greater than N, and again N is not the greatest prime number. Therefore, there is no greatest prime number

In the second example, N is used as an arbitrary name for 'the largest prime number.' In fact, the entire argument shows that there is no such number. However, within the context of the argument, once we have assumed (for the sake of RAA, you could say) that there is one, we can then give it a name and draw some conclusions about it, using only the assumption that it is the largest prime number.

Now, here is how the rule of ∃E embodies this line of reasoning. Suppose that we have, as a line of a proof, an existential sentence ∃xΦ(x). This sentence says, in effect, that for some name α, the instance we get from ∃xΦ(x) by instantiating with α is true. So, we introduce a procedure that lets us do the following:

  1. Assume an instance of an existential sentence that we already have as a line of the proof
  2. Draw further inferences from that assumption
  3. Conclude a sentence that does not contain the instantial name of the assumption any more (usually by using ∃I).
  4. Add another line that contains the same sentence just concluded, but with the assumption set changed so that the number of the assumption we made is replaced with the assumption set of the existential sentence

Here is an example using both ∃I and ∃E: a proof of the sequent ∃xFx, ∀x(Fx→Gx) ⊦ ∃xGx:

1(1)∃xFxA
2(2)∀x(Fx→Gx)A
3(3)FaA
2(4)Fa→Ga2 ∀E
2,3(5)Ga3,4 →E
2,3(6)∃xGx5 ∃I
1,2(7)∃xGx1,6 ∃E(3)

Exercise 3.2.2

S87. ∃x(Gx & ~Fx), ∀x(Gx → Hx) ⊦ ∃x(Hx & ~Fx)

1(1)∃x(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Ga3 &E
1,3(8)~∃x(Fx & Gx)6,7 RAA(2)
1,2(9)~∃x(Fx & Gx)2,8 ∃E(3)
1(10)~∃x(Fx & Gx)2,9 RAA(2)

S105. ∃x(Gx & ~Fx), ∀x(Gx → Hx) ⊦ ∃x(Hx & ~Fx)

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)

S106. ∃x((Fx & Gx)→ Hx), Ga & ∀xFx ⊦ Fa & Ha

1(1)∃x((Fx & Gx)→ Hx)A
2(2)Ga & ∀xFxA
2(3)Ga2 &E
2(4)∀xFx2 &E
2(5)Fa4 ∀E
2(6)Fa & Ga3,5 &I
1(7)(Fa & Ga) → Ha1 ∀E
1,2(8)Ha6,7 →E
1,2(9)Fa & Ha5,8 &I

S107. ∃x(Gx & ~Fx), ∀x(Gx → Hx) ⊦ ∃x(Hx & ~Fx)

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)

S108. ∃y(Fa → (∃xGx → Gy)), ∀x(Gx → Hx), ∀x(~Jx → ~Hx) ⊦ ∃x~Jx → (~Fa ∨ ∀x~Gx)

1(1)∃y(Fa → (∃xGx → Gy))A
2(2)∀x(Gx → Hx)A
3(3)∀x(~Jx → ~Hx)A
4(4)∃x~JxA
5(5)FaA
6(6)Fa → (∃xGx → Gb)A
5,6(7)∃xGx → Gb5,6 →E
(8)∃xGxA
(9)Gc → Hc
(10)Gc
(11)Hc
(12)~Gc

S109. ∃x(Gx & ~Fx), ∀x(Gx → Hx) ⊦ ∃x(Hx & ~Fx)

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)

S110. ∃xFx ↔ ∀y((Fy ∨ Gy) → Hy), ∃xHx, ~∀z~Fz ⊦ ∃x(Fx & Hx)

1(1)∃xFx ↔ ∀y((Fy ∨ Gy) → Hy)A
2(2)∃xHxA
3(3)~∀z~FzA
4(4)~∃xFxA
5(5)FaA
5(6)∃xFx5 ∃I
4(7)~Fa4,6 RAA(5)
4(8)∀z~Fz7 ∀I
3(9)∃xFx3,8 RAA(4)
1(10)∃xFx → ∀y((Fy ∨ Gy) → Hy)1 ↔E
1,3(11) ∀y((Fy ∨ Gy) → Hy)9,10 →E
5(12)Fa ∨ Ga5 vI
1,3(13)(Fa ∨ Ga) → Ha11 ∀E
1,3,5(14) Ha12, 13 →E
1,3,5(15)Fa & Ha5,14 &I
1,3,5(16)∃x(Fx & Hx)15 ∃I
1,3(17)∃x(Fx & Hx)9,16 ∃E(5)
(16)

S111. ∃x(Gx & ~Fx), ∀x(Gx → Hx) ⊦ ∃x(Hx & ~Fx)

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)

S112. ∃x(Gx & ~Fx), ∀x(Gx → Hx) ⊦ ∃x(Hx & ~Fx)

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)

S113. ∃x(Fx & ∀yGxy), ∀xy(Gxy → Gyx) ⊦ ∃x(Fx & ∀yGyx)

1(1)∃x(Fx & ∀yGxy)A
2(2)∀xy(Gxy → Gyx)A
3(3)Fa & ∀yGayA
3(4)Fa3 &E
3(5)∀yGay3 &E
2(6)∀y(Gay → Gya)2 ∀E
3(7)Gab5 ∀E
2(8)Gab→Gba6 ∀E
2,3(9)Gba7,8 →E
2,3(10)∀yGya9 ∀I
2,3(11)Fa & ∀yGya3,10 &I
2,3(12)∃x(Fx & ∀yGyx)11 ∃I
1,2(12)∃x(Fx & ∀yGyx)1,12 ∃E(3)

S114. ∃x~∀y(Gxy → Gyx) ⊦ ∃x∃y(Gxy & ~Gyx)

1(1)∃x~∀y(Gxy → Gyx)A
2(2)~∀y(Gay → Gya)A
3(3)~∃y~(Gay → Gya)A
4(4)~(Gab → Gba)A
4(5)∃y~(Gay → Gya)4 ∃I
3(6)Gab → Gba3,5 RAA(4)
3(7)∀y(Gay → Gya)6 ∀I
2(8)∃y~(Gay → Gya)2,7 RAA(3)
9(9)~(Gab → Gba)A
10(10)GabA
11(11)GbaA
11(12)Gab → Gba11 →I(10)
9,11(13)~Gba9,12 RAA(10)
9(14)~Gba11,13 RAA(11)
15(15)~GabA
15(16)~Gab ∨ GbaA
10,15(17)Gba10,16 ∨E
15(18)Gab → Gba17 →I(10)
9(19)Gab9,18 RAA(15)
9(20)Gab & ~Gba14,19 &I
9(21)∃y(Gay & ~Gya)20 ∃I
9(22)∃x∃y(Gxy & ~Gyx)21 ∃I
2(23)∃x∃y(Gxy & ~Gyx)8,22 ∃E(9)
1(22)∃x∃y(Gxy & ~Gyx)1,23 ∃E(2)

S115. ∀x(Gx → ∀y(Fy → Hxy)), ∃x(Fx & ∀z~Hxz) ⊦ ~∀xGx

1(1) ∀x(Gx → ∀y(Fy → Hxy))A
2(2)∃x(Fx & ∀z~Hxz)A
3(3)∀xGxA
4(4)Fa & ∀z~HazA
4(5)Fa4 &E
4(6) ∀z~Haz4 &E
4(7)~Haa6 ∀E
3(8)Ga3 ∀E
1(9)Ga → ∀y(Fy → Hay)1 ∀E
1,3(10)∀y(Fy → Hay)8,9 →E
1,3(11)Fa → Haa10 ∀E
1,3,4(12)Haa5,11 →E
1,4(13)~∀xGx7,12 RAA(3)
1,2(14)~∀xGx2,13 ∃E(4)

S116. ∀xy(Fxy → Gxy) ⊦ ∀x(Fxx → ∃y(Gxy & Fyx))

1(1)∀xy(Fxy → Gxy)A
2(2)FaaA
1(3)∀y(Fay → Gay)1 ∀E
1(4)Faa → Gaa3 ∀E
1,2(5)Gaa2,4 →E
1,2(6)Gaa & Faa2,5 &I
1,2(7) ∃y(Gay & Fya)6 ∃I
1(8)Faa → ∃y(Gay & Fya)7 →I(2)
1(9)∀x(Fxx → ∃y(Gxy & Fyx))8 ∀I