Lecture 03
Lecture 03
Propositional Equivalence
Section 1.3
Tautologies, Contradictions, and
Contingencies
● A tautology is a proposition which is always true.
○ Example: p ∨¬ p
● A contradiction is a proposition which is always false.
○ Example: p ∧¬ p
● A contingency is a proposition which is neither a
tautology nor a contradiction, such as p
P ¬p p ∨¬ p p ∧¬ p
T F T F
F T T F
Logical Equivalence: Examples
● Two compound propositions p and q are logically equivalent if p↔q
is a tautology.
● We write this as p ⇔ q or as p ≡ q where p and q are compound
propositions.
● Two compound propositions p and q are equivalent if and only if the
columns in a truth table giving their truth values agree.
● This truth table shows that ¬p ∨ q is equivalent to p → q.
p q ¬p ¬p ∨ q p→ q
T T F T T
T F F F F
F T T T T
F F T T T
Example: De Morgan’s Laws
Augustus De Morgan
1806-1871
This truth table shows that distributive law of disjunction over conjunction holds.
● Even if the domains are infinite, you can still think of the
quantifiers in this fashion, but the equivalent expressions
without quantifiers will be infinitely long.
Negating Quantified Expressions
● Consider ∀x J(x)
“Every student in your class has taken a course in Java.”
Here J(x) is “x has taken a course in Java” and
the domain is students in your class.
● Negating the original statement gives “It is not the case
that every student in your class has taken Java.” This
implies that “There is a student in your class who has
not taken Java.”
Symbolically ¬∀x J(x) and ∃x ¬J(x) are equivalent
Negating Quantified Expressions
(continued)
● Now Consider ∃ x J(x)
“There is a student in this class who has taken a course in
Java.”
Where J(x) is “x has taken a course in Java.”
● Negating the original statement gives “It is not the case
that there is a student in this class who has taken Java.”
This implies that “Every student in this class has not
taken Java”
Symbolically ¬∃x J(x) and ∀x ¬J(x) are equivalent
De Morgan’s Laws for Quantifiers
● The rules for negating quantifiers are:
Solution: ∀x F(x)
Translation (cont)
● U = {fast, slow, turning}
F(x): x is fast
S(x): x is slow
T(x): x is turning
“Nothing is slow.”