Lecture 5 (16 5 22)
Lecture 5 (16 5 22)
Lecture 5 (16 5 22)
Propositional Logic
Different rules of
inference have been
listed in table.
We will understand
all the rules one by
one
1. p → q 2. (p ∧ q) → r 3. p → (q ∧ r)
q→r ¬r ¬q
¬r q ∴ ¬p
∴ ¬p ∴ ¬p
pq
(p q) r
r
a). P (Q R)
R
PQ
b). P (Q R)
Q (P R)
PR
c). P Q
PQ R
R
Dr. Shahid Munir Shah, Depratment of Computer 9
Science, Salim Habib University
Exercise-3