Rule of Inference Complete
Rule of Inference Complete
p
Corresponding Tautology:
pq (p ∧ (p →q)) → q
∴q Proof using Truth Table: p q p →q
T T T
Example: T F F
Let p be “It is snowing.” F T T
Let q be “I will study discrete math.” F F T
¬q
pq Corresponding Tautology:
(¬q ∧(p →q))→¬p
∴ ¬p
Proof using Truth Table: p q p →q
T T T
Example:
T F F
Let p be “it is snowing.”
F T T
Let q be “I will study discrete math.”
F F T
pq
Corresponding Tautology:
qr ((p →q) ∧ (q→r))→(p→r)
∴pr
Example:
Let p be “it snows.”
Let q be “I will study discrete math.”
Let r be “I will get an A.”
p ∨q Corresponding Tautology:
¬p ((p ∨q) ∧ ¬p) → q
∴q
Example:
Let p be “I will study discrete math.”
Let q be “I will study English literature.”
p Corresponding Tautology:
∴ (p ∨q) p →(p ∨q)
Example:
Let p be “I will study discrete math.”
Let q be “I will visit Las Vegas.”
p ∧q Corresponding Tautology:
(p∧q) →p
∴p
Example:
Let p be “I will study discrete math.”
Let q be “I will study English literature.”
p Corresponding Tautology:
q ((p) ∧ (q)) →(p ∧ q)
∴p∧q
Example:
Let p be “I will study discrete math.”
Let q be “I will study English literature.”
rq
Corresponding Tautology:
pr ((p q) ∧ (r q) ∧ (p r )) q
∴q
Example:
Let p be “I will study discrete math.”
Let q be “I will study Computer Science.”
Let r be “I will study databases.”
“If I will study discrete math, then I will study Computer Science.”
“If I will study databases, then I will study Computer Science.”
“I will study discrete math or I will study databases.”
“If I will study discrete math, then I will study computer science.”
“If I will study protein structures, then I will study biochemistry.”
“I will study discrete math or I will study protein structures.”
“If I will study discrete math, then I will study computer science.”
“If I will study protein structures, then I will study biochemistry.”
“I will not study computer science or I will not study biochemistry.”
“Therefore, I will not study discrete math
or I will not study protein structures.”
Friday, January 18, 2013 Chittu Tripathy Lecture 05
Absorption
pq
q is absorbed by p in the conclusion!
∴ p (p ∧q) Corresponding Tautology:
(p q) (p (p ∧q))
Example:
Let p be “I will study discrete math.”
Let q be “I will study computer science.”
“If I will study discrete math, then I will study computer science.”
Premise n
∴ Conclusion
Remember you can also use truth table to show this albeit with 32 = 25 rows!
Friday, January 18, 2013 Chittu Tripathy Lecture 05
How do we use quantifiers with rules
of inference?
Example:
Example:
Example:
x (P(x)→ Q(x))
P(a), where a is a particular element in the domain
∴ Q(a)
x (P(x)→ Q(x))
¬Q(a), where a is a particular element in the domain
∴ ¬P(a)