

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Laws of Propositional logic:
T T T T F F F T T F F T
T T F T F T F T T F F F
T T T T F F F T F F F T (p q) p q (p q) p q De Morgan's Laws (1) p p p p p p Idempotent laws (5) ( p) p Double negation law (2) p T T p F F Domination laws (6) p q q p p q q p Commutative laws (3) p T p p F p Identity laws (7) p (p q) p p (p q) p Absorption laws (4) p p T p p F Negation laws (8) (p q) r p (q r) (p q) r p (q r) Associative laws (9) p (q r) (p q) (p r) p (q r) (p q) (p r) Distributive laws (10)
T T T T F T F T T F F F
T T T T F F F T F F F F
- universal quantifier - existential quantifier ! - uniqueness quantifier Precedence of Quantifiers and Logical Operators: ¬, , , , ,! Quantifiers' precedence: from left to the right Quantifiers with restricted domain: x<0 (x^2 >0) can be re-written with implication x (x<0 x^2 >0) x>0 (x^2 =4) can be re-written with conjunction x (x>0 x^2 =4) Negating Quantified expressions (De Morgan's Laws): ¬xP(x) x¬P(x) ¬xP(x) x¬P(x) Nested quantifiers: Rules of inference: Rule of inference Name p p → q ∴ q Modus ponens ¬q p → q ∴ ¬p Modus tollens p ∴ p ∨ q Addition p ∧q ∴ p Simplification p q ∴ p ∧q Conjunction p → q q → r ∴ p → r Hypothetical syllogism p ∨q ¬p ∴ q Disjunctive syllogism p ∨q ¬p ∨r ∴ q ∨r Resolution Statement When True? When False? y x P(x,y) x y P(x,y) P(x,y) is true for any pair x, y there is a pair x, y for which P(x,y) is False x y P(x,y) For any x, there is a y, for which P(x,y) s true There is an x, for which P(x,y) is false for any y x y P(x,y) There exists an x, for which P(x,y) is true for any y There is no x, such that P(x,y) is true for any y x y P(x,y) y x P(x,y) There is a pair x, y for which P(x,y) is true P(x,y) is false for every pair x, y