Lecture 02 Logical Implication & Equivalence and Rules of Inference
Lecture 02 Logical Implication & Equivalence and Rules of Inference
Name Equivalence
Name Equivalence Identity laws (pF) p
Double Negation ~~p p (pT) p
Commutative laws (pq) (qp) Domination laws (pT) T
(pq) (qp) (pF) F
p qq p Negation laws (p~p) T
Associative
Associative laws
laws [(pq) r] [p(qr)] (p~p) F
[(pq)r] [p(qr)] ~(pq) (~p ~q)
De Morgan’s laws
Distributive laws [p(qr)] [(pq)(pr)] ~(pq) (~p~q)
Distributive laws
[p(qr)] [(pq)(pr)]
Contrapositive
Contrapositive (p q) (~q ~p)
Idempotent laws (pp) p Implication
Implication (p q) (~pq)
(pp) p (p q) ~(p~q)
Idempotent laws Equivalence (pq) [(pq) (qp)]
Equivalence
Examples:
•1. Eliminate
the connective in the compound
proposition and simplify as much as possible.
(~p ~q) (q r)
2. Rewrite the compound proposition using only
the connectives ~ and .
(p q) (q r)
3. Show that ~(p q) p~q using the laws on
equivalences.
Logical Implication
• Given compound propositions P and Q, we say that P logically
implies Q whenever P -> Q is a tautology. We write this as P
=> Q. P => Q means that P -> Q is a tautology.
Name Implication
Addition p (p q)
Simplification (p q) p
Modus ponens [p (p q)] q
Modus tollens [(p q) ~q] ~p
Disjunctive syllogism [(p q) ~p] q
Hypothetical syllogism [(p q) (q r)] (p r)