PropositionalEquiv Class1
PropositionalEquiv Class1
Propositional Equivalences
Def. A compound proposition that is always true, no matter what the truth
values of the (simple) propositions that occur in it, is called tautology. A
compound proposition that is always false, no matter what, is called a
contradiction. A proposition that is neither a tautology nor a contradiction
is called a contingency.
Note: Any equivalence termed a “law” will be proven by truth table, but
all others by proof (as we shall see next).
Equivalence Name
p T p Identity laws
p F p
p T T Domination laws
p F F
p p p Idempotent laws
p p p
p p Double negation law
p q q p Commutative laws
p q q p
( p q ) r p ( q r) Associative laws
(p q) r p (q r)
p (q r) (p q) (p r) Distributive laws
p (q r) (p q) (p r)
(p q) p q De Morgan's laws
(p q) p q
p p T Negation laws
p p F
(p q) p q Other useful logical equivalence
(p q) q p
Exercise 11: Without truth tables to show that an implication and it’s
contrapositive are logically equivalent.
Applications
In addition to providing a foundation for theorem proving, which we will
cover in this class, this algebraic look at logic can be studied further for the
purpose of discussion computer program correctness.