ICS141: Discrete Mathematics For Computer Science I: Dept. Information & Computer Sci., University of Hawaii
ICS141: Discrete Mathematics For Computer Science I: Dept. Information & Computer Sci., University of Hawaii
ICS141:
Discrete Mathematics for
Computer Science I
Dept. Information & Computer Sci., University of Hawaii
Lecture 3
Chapter 1. The Foundations
1.2 Propositional Equivalences
1.3 Predicates and Quantifiers
p q pq p q p q (p q)
T T T F F F F
T F F F T T T
F T F T F T T
F F F T T T T
Show that Check out the solution in the textbook!
(p q) p q (De Morgan’s law)
p → q p q
p (q r) (p q) (p r) (distributive law)
Distributive: p (q r) (p q) (p r)
p (q r) (p q) (p r)
De Morgan’s:
(p q) p q
(p q) p q
Absorption
p (p q) p p (p q) p
Trivial tautology/contradiction:
p p T p p F
Implies: p q p q
Biconditional: p q (p q) (q p)
p q (p q)
(p q) (p r) p q r
(p q) (p r) p q r
Atomic propositions: p, q, r, …
Boolean operators:
Compound propositions: (p q) r
Equivalences: pq (p q)
Proving equivalences using:
Truth tables
equivalences) p q r
ICS 141: Discrete Mathematics – Fall 2011 3-14
Topic #3 – Predicate Logic
Propositional Functions
University of Hawaii
Examples
University of Hawaii