CSCE 222 Lecture 6

From Notes
Jump to navigation Jump to search

« previous | Monday, January 31, 2011 | next »


Tautology

A proposition p is called a tautology iff v[[p]] = T for all evalaluations

Example

Show that (a → b) ↔ (¬a ∨ b) is a tautology:

a b a → b ¬a ∨ b (a → b) ↔ (¬a ∨ b)
F F T T T
F T T T T
T F F F T
T T T T T

Since all cells under (a → b) &harr (¬a ∨ b) are true, it is a tautology


Satisfiability

Satisfiable
at least one valuation is true
Unsatisfiable
not satisfiable; none evaluate to true'

Example

We claim that (a ⊕ b) → ¬(a ∨ b) is satisfiable:

(a ⊕ b) is false when both are the same, and when the left side of a conditional is false, it evaluates to true


Logical Equivalence

Two formulas are logically equivalent iff they return the same value for all input valuations

We write pq iff the propositions are logically equivalent

Study Tables 6-8:

Table 6: Logical Equivalences
Equivalence Name
p𝐓p
p𝐅p
Identity laws
p𝐓𝐓
p𝐅𝐅
Domination laws
ppp
ppp
Idempotent laws
¬(¬p)p Double negation laws
pqqp
pqqp
Commutative laws
(pq)rp(qr)
(pq)rp(qr)
Associative laws
p(qr)(pq)(pr)
p(qr)(pq)(pr)
Distributive laws
¬(pq)¬p¬q
¬(pq)¬p¬q
De Morgan's laws
p(pq)p
p(pq)p
Absorption laws
p¬p𝐓
p¬p𝐅
Negation laws
Table 7: Logical Equivalences Involving Conditional Statements
pq¬pq
pq¬q¬p
pq¬pq
pq¬(p¬q)
¬(pq)p¬q
(pr)(pr)p(qr)
(pr)(qr)(pq)r
(pq)(pr)(p(qr)
(pr)(qr)(pq)r
Table 8: Logical Equivalences Involving Biconditionals
pq(pq)(qp)
pq¬p¬q
pq(pq)(¬p¬q)
¬(pq)p¬q