Propositional Equivalences
Propositional Equivalences
Contingencies
A tautology is a proposition which is always true.
Example: p ∨¬p
P ¬p p ∨¬p p ∧¬p
T F T F
F T T F
Logically Equivalent
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 ¬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
De Morgan’s Laws
Domination Laws:
Key Logical Equivalences (cont.)
Idempotent laws:
Negation Laws:
Key Logical Equivalences (cont.)
Commutative Laws:
Associative Laws:
Key Logical Equivalences (cont.)
Distributive Laws:
Absorption Laws:
More Logical Equivalences
Constructing New Logical Equivalences
We can show that two expressions are logically equivalent by
developing a series of logically equivalent statements.
Solution:
Equivalence Proofs
Example #2: Show that is a tautology.
Solution:
Propositional Satisfiability
A compound proposition is satisfiable if there is an
assignment of truth values to its variables that make it
true. When no such assignments exist, the compound
proposition is unsatisfiable.
Example:
Encoding the Sudoku as a Satisfiability
Problem (optional)
Let p(i,j,n) denote the proposition that is true when
the number n is in the cell in the ith row and the jth
column.