INTRO LOGIC - PowerPoint PPT Presentation

About This Presentation
Title:

INTRO LOGIC

Description:

in which case I will play squash. T unless R, in which case ... if it does rain, then I'll play squash. furthermore. if it does not rain, then I'll play tennis ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 30
Provided by: garyhar
Learn more at: http://people.umass.edu
Category:
Tags: intro | logic | squash

less

Transcript and Presenter's Notes

Title: INTRO LOGIC


1
INTRO LOGIC
  • DAY 06

TRANSLATIONS IN SENTENTIAL LOGIC2
2
Schedule for Unit 1
? Day 1 Intro
? Day 2 Chapter 1
? Day 3 Chapter 2
? Day 4 Chapter 3
? Day 5 Chapter 4
Day 6 Chapter 4
Day 7 Chapter 4
Day 8 EXAM 1
40 of Exam
10 arguments 4 pts each
60 of Exam
12 translations5 pts each
3
Standard Connectives(have special symbols)

and
?
or
?
not
?
if then
4
Non-Standard Connectives(must be paraphrased)
xor
if-otherwise
neither-nor
if
unless-in-which-case
necessary
only if
sufficient
if and only if
unless
5
Non-Standard Connectives 1
exclusive or
  • ? xor ?
  • ? or ?, but not both ? and ?
  • ( ? ? ? ) ?( ? ? )
  • ?
  • ( ? ?? ) ? ( ? ?? )

6
Non-Standard Connectives 2
neither-nor
neither ? nor ? not ? and not ? ?? ?? ? ? ( ?
? ? )
7
Non-Standard Connectives 3
if
  • ? if ?
  • if ? then ?
  • ? ? ?

8
Non-Standard Connectives 4
only if
? only if ?
not ? if not ?
if not ?
then
not ?
? ?
?
? ?
9
Non-Standard Connectives 5
if and only if
?
if and only if
?
? only if ?
and
? if ?
( ? ? ? ? ? )

( ? ? ? )
10
Non-Standard Connectives 6
unless
?
unless
?
?
if not
?
not ?
if
?
?
then
if not ?
?
?
? ?
11
ifotherwise
  • I will play tennis
  • if it is sunny
  • otherwise,
  • I will play racketball

T if S otherwise, R
this answers two questions what will I do if
it's sunny? what will I do otherwise (i.e., if
it is not sunny)?
play tennis
play racketball
12
if otherwise (cont.)
if its not sunny, then Ill play racketball
furthermore
if its sunny, then Ill play tennis
if not S then R
and
if S then T
( ?S ? R )

( S ? T )
13
unlessin which case
  • I will play tennis unless it rains,
  • in which case I will play squash

T unless R, in which case S
this answers two questions what will I do unless
it rains (i.e., if it does not rain)? what will I
do in case it rains (i.e., if it does rain)?
play tennis
play squash
14
unless-in-which-case (cont.)
if it does rain, then Ill play squash
furthermore
if it does not rain, then Ill play tennis
if R then S
and
if ?R then T
( R ? S )

( ?R ? T )
15
Necessary Conditions
I get an A
in order that
I take 4 exams
it is necessary that
me to get an A
in order for
me to take 4 exams
it is necessary for
to get an A
in order
to take 4 exams
it is necessary
taking 4 exams
getting an A
is necessary for
16
Necessary Conditions (cont)
  • simplest paraphrase
  • ? is necessary for ?

This amounts to saying if ? does not happen,
then neither does ?
if not ? then not ?
?? ? ??
17
Example
  • taking 4 exams E is necessary for getting an A A

if E does not happen, then neither does A
if not E then not A
?E ? ?A
18
Sufficient Conditions
I get an A
in order that
I get a hundred
it is sufficient that
me to get an A
in order for
me to get a hundred
it is sufficient for
to get an A
in order
to get a hundred
it is sufficient
getting a hundred
getting an A
is sufficient for
19
Sufficient Conditions (cont)
  • simplest paraphrase
  • ? is sufficient for ?

This amounts to saying if ? does happen, then
so does ?
if ? then ?
? ? ?
20
Example
  • getting a hundred H is sufficient forgetting an
    A A

if H does happen, then so does A
if H then A
H ? A
21
Negations Of Necessity
getting a hundred His not necessary for getting
an A A
H
A
)
(
is nec for
not
not A
then
if not H
?A
)
(
?
?H
?
you wont get an A
then
if you dont get a hundred
it is not true that
22
Negations of Sufficiency
taking all the exams Eis not sufficient
forgetting an A A
E
A
)
(
is suf for
not
A
then
if E
A
)
(
?
E
?
you will get an A
then
if you (merely) take all the exams
it is not true that
23
Basic Statements
  • ? is necessary for ?
  • ? is sufficient for ?
  • ? is not necessary for ?
  • ? is not sufficient for ?

24
Combinations
  • ? is both necessary and sufficient for ?
  • ? is necessary, but not sufficient, for ?
  • ? is sufficient, but not necessary, for ?
  • ? is neither necessary nor sufficient for ?

25
Example 1
  • averaging (at least) fifty A
  • is both necessary and sufficient for
  • passing P

( ?A ? ?P )
A is necessary for P

and
( A ? P )
A is sufficient for P
26
Example 2
  • taking four exams E
  • is necessary but not sufficient for
  • getting an A A

( ?E ? ?A )
E is necessary for A

but
? ( E ? A )
E is not sufficient for A
27
Example 3
  • getting a hundred H
  • is sufficient but not necessary for
  • getting an A A

( H ? A )
H is sufficient for A

but
? ( ?H ? ?A )
E is not necessary for A
28
Example 4
  • attending class A
  • is neither necessary nor sufficient for
  • passing P

? ( ?A ? ?P )
A is not necessary for P

and
? ( A ? P )
A is not sufficient for P
29
THE END
Write a Comment
User Comments (0)
About PowerShow.com