Lecture # 17
Lecture # 17
QUANTIFIED STATEMENTS
Lecture # 17
1
INTRODUCTION
We have discussed rules of inference for propositions.
We will now describe some important rules of inference
for statements involving quantifiers, which are given
below:
Universal Instantiation
Universal Generalization
Existential Instantiation
Existential Generalization
2
UNIVERSAL INSTANTIATION
Assume that we know that x P(x) is true:
Then we can conclude that P(c) is true
Here c stands for some specific constant from the domain.
This is called “universal instantiation”
Given the premise x P(x).
Example:
3
UNIVERSAL GENERALIZATION
Assume that we know that P(c) is true for any value of c
Then we can conclude that x P(x) is true.
This is called “universal generalization”
4
EXISTENTIAL INSTANTIATION
Assume that we know that x P(x) is true
Then we can conclude that P(c) is true for some value of c
Here c stands for some specific constant from the
domain.
This is called “existential instantiation”
Given the premise x P(x).
5
EXISTENTIAL GENERALIZATION
Assume we know that P(c) is true for some value of c
Then we can conclude that x P(x) is true
This is called “existential generalization”
6
7
EXAMPLE
Show that the premises:
“Everyone in this discrete mathematics class has taken a
course in computer science” and
“Ramdeen is a student in this class” imply the
conclusion “Ramdeen has taken a course in computer
science.”
Solution:
D(x) = x is in discrete mathematics class.
C(x) = x has taken a course in computer science.
8
Then the premises are:
x (D(x) → C(x))
D(Ramdeen)
C(Ramdeen)
Rule of inference Tautology
to establish conclusion: q
q
p q [ q ( p q )
p
Instantiation p
q
(( p q ) p
3. D(Ramdeen) Premise p
pq
p (p
p
q (( p ) ( q )) (
pq
pq
p r [( p q ) (p r )
q r
EXAMPLE
Show that the premises:
“A student in this class has not read the book.” and
“Everyone in this class passed the first exam” imply the
conclusion “Someone who passed the first exam has not
read the book.”
Solution:
C(x) = x is in this class.
B(x) = x has read the book.
P(x) = x passed the first exam.
10
Then the premises are:
x (C(x) ¬B(x))
x (C(x) → P(x))
x (P(x) ¬B(x))
The following steps can be used
to establish conclusion:
1. x (C(x) ¬B(x)) Premise Rule of inference
pq
Tautology Name
12
UNIVERSAL MODUS PONENS
This rule tells us that if x (P(x) → Q(x)) is true, and if
P(a) is true for a particular element a in the domain of
the universal quantifier, then Q(a) must also be true.
x (P(x) → Q(x))
P(a), where a is a particular element in the domain.
Q(a)
13
NOTE
Universal modus ponens is commonly used in
mathematical arguments.
14
EXAMPLE
Assume that:
“For all positive integers n, if n is greater than 4, then n2 is
less then 2n” is true.
Use universal modus ponens to show that 1002 < 2100.
Solution:
Let
P(n) = n > 4
Q(n) = n2 < 2n .
The statement can be represented by n(P(n) → Q(n))
Domain = all positive integers
15
We are assuming that n (P(n) → Q(n)) is true.
16
UNIVERSAL MODUS TOLLENS
Universal modus tollens combines universal instantiation
and modus tollens and can be expressed in the following
way:
x (P(x) → Q(x))
¬Q(a), where a is a particular element in the domain.
¬P(a)
17
EXERCISE
Use rules of inference to show that if
x (P(x) → (Q(x) S(x))) and
x (P(x) R(x))) are true
then x (R(x) S(x)) is true
Solution:
18
The following steps can be used to
establish conclusion:
01. x (P(x) R(x))) Premise
02. P(a) R(a) Universal Instantiation
03. P(a) Simplification
04. x (P(x) → (Q(x) S(x))) Premise
Rule of inference Tautology Name
pq
p [ p ( p q)] q Modus ponens
x (P(x) Q(x)),
x (¬Q(x) S(x)),
x (R(x) → ¬S(x)) and
x ¬P(x) are true
then
x ¬R(x) is true
20
Rule of inference Tautology Name
pq
p [ p ( p q )] q Modus ponens
q
q
pq [q ( p q )] p Modus tollen
p
pq
qr [( p q ) ( q r )] ( p r ) Hypothetic al syllogism
pr
pq
p (( p q ) p ) q Disjunctiv e syllogism
q
p
p ( p q) Addition
pq
pq
( p q) p Simplifica tion
p
p
q (( p ) ( q )) ( p q ) Conjunctio n
pq
pq
p r [( p q ) (p r )] ( p r ) Resolution
q r
21
The following steps can be used to
establish conclusion:
01. x ¬P(x) Premise
02. ¬P(c) Existential Instantiation
03. x (P(x) Q(x)) Premise Rule of inference Tautology
pq
04. P(c) Q(c) Universal Instantiation p [ p ( p q )]