CSCE 222 Lecture 6

From Notes
Jump to navigation Jump to search

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


Tautology

A proposition 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 iff the propositions are logically equivalent

Study Tables 6-8:

Table 6: Logical Equivalences
Equivalence Name

Identity laws

Domination laws

Idempotent laws
Double negation laws

Commutative laws

Associative laws

Distributive laws

De Morgan's laws

Absorption laws

Negation laws
Table 7: Logical Equivalences Involving Conditional Statements
Table 8: Logical Equivalences Involving Biconditionals