CSE 2353 - PowerPoint PPT Presentation

About This Presentation
Title:

CSE 2353

Description:

This rose is white. Keep off the grass. 7 is even. I am 6 years old. A ... Tautologies and. Contradictions. Tautology: A statement which is True. Contradiction: ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 17
Provided by: leedmc
Learn more at: https://s2.smu.edu
Category:
Tags: cse | tautology

less

Transcript and Presenter's Notes

Title: CSE 2353


1
CSE 2353 August 28th 2002
  • Logic

2
Propositions
  • Def A statement which is True or False
  • Which are Propositions
  • This rose is white
  • Keep off the grass
  • 7 is even
  • I am 6 years old
  • A square has four sides
  • Did you do your homework

3
Operations
  • And (conjunction)

p q pq
F F
F T
T F
T T
4
Operations
  • And (conjunction)
  • Or (inclusive disjunction) v
  • Xor (exclusive disjunction) v
  • Not (negation) ?
  • If then (implication) ? ?
  • Iff (biconditional) ?
  • Nand
  • Nor ?
  • Construct sentences with words

5
Operations
  • Other Operations

p q pq p v q p v q p ? q
F F F
F T F
T F F
T T T
6
Precedence
  • Precedence () v -gt ?
  • (TvF)T ?
  • Tv(FT) ?
  • T v F T ?

7
Operations
p q r p -gt (qr)
F F F
F T F
T F F
T T F
F F T
F T T
T F T
T T T
8
Operations
p q r (p v q) ? r
F F F
F T F
T F F
T T F
F F T
F T T
T F T
T T T
9
Tautologies andContradictions
  • Tautology A statement which is True
  • Contradiction
  • p p
  • p v p
  • (pq) v (pq)
  • p -gt p v q

10
Practice
  • Show that (p ? q ) implies p

11
Practice
  • Show that p v q is equivalent to (p q)
  • Show that pp ? p
  • Show that p ?q ? q ?p
  • Show that (p q) r ? p (q r)
  • Show that (p ? q) ? (p v q)

12
Summary
  • Propositions
  • Operations on Propositions
  • Truth Tables
  • Precedence
  • Tautologies and Contradictions

13
Duality
  • Swap t,f
  • Swap ,v
  • Example (p q) v p
  • Dual (p v q) p
  • If expressions are equivalent, so are duals

14
Conditionals
  • Given p ? q
  • Converse q ? p
  • Inverse p ? q
  • Contrapositive q ? p

15
Arguments
  • If you insulted Bob then Ill never speak to you
    again. You insulted Bob so Ill never speak to
    you again.
  • Premise
  • Conclusion

16
Arguments
  • If you are a mathematician then you are clever.
    You are clever and rich. Therefore If you are
    rich then you are a mathematician.
  • Premise
  • Conclustion
Write a Comment
User Comments (0)
About PowerShow.com