Proofs Using Logical Equivalences - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Proofs Using Logical Equivalences

Description:

Prove: p p q is a tautology. Must show that the statement is true for any value of p,q. ... This tautology is called the addition rule of inference. Why do I ... – PowerPoint PPT presentation

Number of Views:58
Avg rating:3.0/5.0
Slides: 10
Provided by: LarryH71
Category:

less

Transcript and Presenter's Notes

Title: Proofs Using Logical Equivalences


1
Proofs Using Logical Equivalences
  • Rosen 1.2

2
Prove (p??q) ? q ? p?q
  • (p??q) ? q Left-Hand Statement
  • ? q ? (p??q) Commutative
  • ? (q?p) ? (q ??q) Distributive
  • ? (q?p) ? T Or Tautology (Misc. T6)
  • ? q?p Identity
  • ? p?q Commutative

Begin with exactly the left-hand side
statement End with exactly what is on the
right Justify EVERY step with a logical
equivalence
3
Prove (p??q) ? q ? p?q
  • (p??q) ? q Left-Hand Statement
  • ? q ? (p??q) Commutative
  • (q?p) ? (q ??q) Distributive
  • Why did we need this step?

Our logical equivalence specified that ? is
distributive on the right. This does not
guarantee distribution on the left! Ex. Matrix
multiplication is not always commutative (Note
that whether or not ? is distributive on the left
is not the point here.)
4
Prove p ? q ? ?q ? ?p
Contrapositive
  • p ? q
  • ? ?p ? q Implication Equivalence
  • ? q ? ?p Commutative
  • ? ?(?q) ? ?p Double Negation
  • ? ?q ? ?p Implication Equivalence, T6

5
Prove p ? p ? q is a tautologyMust show that
the statement is true for any value of p,q.
  • p ? p ? q
  • ? ?p ? (p ? q) Implication Equivalence
  • ? (?p ? p) ? q Associative
  • ? (p ? ?p) ? q Commutative
  • ? T ? q Or Tautology
  • ? q ? T Commutative
  • T Domination
  • This tautology is called the addition rule of
    inference.

6
Why do I have to justify everything?
  • Note that your operation must have the same order
    of operands as the rule you quote unless you have
    already proven (and cite the proof) that order is
    not important.
  • 34 43
  • 3/4 ? 4/3
  • AB ? BA for everything (for example, matrix
    multiplication)

7
Prove (p?q) ? p is a tautology
  • (p?q) ? p
  • ? ?(p?q) ? p Implication Equivalence
  • ? (?p??q) ? p DeMorgans
  • ? (?q??p) ? p Commutative
  • ? ?q? (?p ? p) Associative
  • ? ?q? (p ? ?p) Commutative
  • ? ?q? T Or Tautology
  • ? T Domination

8
Prove or Disprove
  • p ? q ? p ? ?q ???
  • To prove that something is not true it is enough
    to provide one counter-example. (Something that
    is true must be true in every case.)
  • p q p?q p??q
  • F T T F
  • The statements are not logically equivalent

9
Prove?p ? q ?p ? ?q
  • ?p ? q
  • ? (?p?q) ? (q??p) Biconditional Equivalence, page
    7
  • ? (??p?q) ? (?q??p) Implication Equivalence (x2)
  • ? (p?q) ? (?q??p) Double Negation
  • ? (q?p) ? (?p??q) Commutative
  • ? (??q?p) ? (?p??q) Double Negation
  • ? (?q?p) ? (p??q) Implication Equivalence (x2)
  • ? p ? ?q Biconditional Equivalence
Write a Comment
User Comments (0)
About PowerShow.com