43
Reasoning for Humans: Clear Thinking in an Uncertain World PHIL 171 Eric Pacuit Department of Philosophy University of Maryland pacuit.org

Reasoning for Humans: Clear Thinking in an Uncertain World

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Reasoning for Humans: Clear Thinking in an Uncertain World

Reasoning for Humans: Clear Thinking in an

Uncertain World

PHIL 171

Eric Pacuit

Department of Philosophy

University of Maryland

pacuit.org

Page 2: Reasoning for Humans: Clear Thinking in an Uncertain World

Beyond Propositional Logic

All Philosophy majors at UMD are required to take a logic course. Ann is

a Philosophy major at UMD. So, Ann is required to take a logic course.

All ravens are black. Tweety is a raven. So, Tweety is black.

1

Page 3: Reasoning for Humans: Clear Thinking in an Uncertain World

Beyond Propositional Logic

All Philosophy majors at UMD are required to take a logic course. Ann is

a Philosophy major at UMD. So, Ann is required to take a logic course.

All ravens are black. Tweety is a raven. So, Tweety is black.

1

Page 4: Reasoning for Humans: Clear Thinking in an Uncertain World

All Philosophy majors at UMD are required to take a logic course.

Ann is a Philosophy major at UMD.

So, Ann is required to take a logic course.

H

M

∴ S

2

Page 5: Reasoning for Humans: Clear Thinking in an Uncertain World

(U) All Philosophy majors at UMD are required to take a logic course.

(P) Ann is a Philosophy major at UMD.

So, (L) Ann is required to take a logic course.

U,P ⇒ L

2

Page 6: Reasoning for Humans: Clear Thinking in an Uncertain World

(U) All Philosophy majors at UMD are required to take a logic course.

(P) Ann is a Philosophy major at UMD.

[(U ∧ P → L)

If all Philosophy majors at UMD are required to take a logic course

and Ann is a Philosophy major at UMD,

then Ann is required to take a logic course.]

So, (L) Ann is required to take a logic course.

U,P, (U ∧ P)→ L⇒ L

2

Page 7: Reasoning for Humans: Clear Thinking in an Uncertain World

All Philosophy majors at UMD are required to take a logic course.

Ann is a Philosophy major at UMD.

So, Ann is required to take a logic course.

All Philosophy majors at UMD are required to take a logic course.

Bob is a Philosophy major at UMD.

So, Bob is required to take a logic course.

All Philosophy majors at UMD are required to take a logic course.

Carla is a Philosophy major at UMD.

So, Carla is required to take a logic course.

...

3

Page 8: Reasoning for Humans: Clear Thinking in an Uncertain World

All Philosophy majors at UMD are required to take a logic course.

Ann is a Philosophy major at UMD.

So, Ann is required to take a logic course.

All Philosophy majors at UMD are required to take a logic course.

Bob is a Philosophy major at UMD.

So, Bob is required to take a logic course.

All Philosophy majors at UMD are required to take a logic course.

Carla is a Philosophy major at UMD.

So, Carla is required to take a logic course.

...

3

Page 9: Reasoning for Humans: Clear Thinking in an Uncertain World

All Philosophy majors at UMD are required to take a logic course.

Ann is a Philosophy major at UMD.

So, Ann is required to take a logic course.

1. The second premise and the conclusion are represented by different

atomic propositions; however both of these statement are about the

same single individual (“Ann”).

2. The logical form of the first premise involve the quantifier “All”.

4

Page 10: Reasoning for Humans: Clear Thinking in an Uncertain World

First-steps in First Order Logic (also called Predicate Logic)

5

Page 11: Reasoning for Humans: Clear Thinking in an Uncertain World

Predicates and Terms

Sentences about John:

• John laughed.

L(j)

• John is talkative.

T (j)

• John is in France.

F (j)

• John likes Mary.

M(j)

• John is frequently discussed in logic texts.

D(j)

6

Page 12: Reasoning for Humans: Clear Thinking in an Uncertain World

Predicates and Terms

Sentences about John:

• John laughed. L(j)

• John is talkative. T (j)

• John is in France. F (j)

• John likes Mary. M(j)

• John is frequently discussed in logic texts. D(j)

6

Page 13: Reasoning for Humans: Clear Thinking in an Uncertain World

Digression: Binary Predicates

• John likes Mary.

7

Page 14: Reasoning for Humans: Clear Thinking in an Uncertain World

Digression: Binary Predicates

• John likes Mary. L( , )

7

Page 15: Reasoning for Humans: Clear Thinking in an Uncertain World

Digression: Binary Predicates

• John likes Mary. L(j ,m)

7

Page 16: Reasoning for Humans: Clear Thinking in an Uncertain World

Atomic Propositions for First Order Logic

Capital letters from the beginning and middle of the alphabet

(A,B, . . . ,P,Q,R, . . . ,U,V ,W ) will be used as predicates.

Lower case letters from the beginning and middle of the alphabet

(a, b, . . . , s, t, u) will be used as subjects and will be called constants.

An atomic proposition in first order logic is a predicate followed by a

constant in parentheses. For example, A(a), A(b), B(a), . . . are examples

of atomic propositions.

8

Page 17: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers, I

All Philosophy majors at UMD are required to take a logic course.

Paraphrase: For any thing, if that thing is a Philosophy major at UMD,

then that thing is required to take a logic course.

Note: It is important that the symbol that we use to represent the thing

that is a Philosophy major at UMD is the same symbol used to represent

the thing that is required to take a logic course. A first order variable

will be represented by a lowercase letter from the end of the alphabet

(w , v , x , y , z), possibly with subscripts (e.g., x1, x2, . . .).

9

Page 18: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers, I

All Philosophy majors at UMD are required to take a logic course.

Paraphrase: For any thing, if that thing is a Philosophy major at UMD,

then that thing is required to take a logic course.

Note: It is important that the symbol that we use to represent the thing

that is a Philosophy major at UMD is the same symbol used to represent

the thing that is required to take a logic course. A first order variable

will be represented by a lowercase letter from the end of the alphabet

(w , v , x , y , z), possibly with subscripts (e.g., x1, x2, . . .).

9

Page 19: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers, I

All Philosophy majors at UMD are required to take a logic course.

Paraphrase: For any thing, if that thing is a Philosophy major at UMD,

then that thing is required to take a logic course.

Note: It is important that the symbol that we use to represent the thing

that is a Philosophy major at UMD is the same symbol used to represent

the thing that is required to take a logic course. A first order variable

will be represented by a lowercase letter from the end of the alphabet

(w , v , x , y , z), possibly with subscripts (e.g., x1, x2, . . .).

9

Page 20: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers, II

A quantifier is a symbol ∀ (“for all”) or ∃ (“exists”) followed by a

variable.

∀x , ∀y , ∀z , . . . are called universal quantifiers.

∃x , ∃y , ∃z , . . . are called existential quantifiers.

• ∀xA(x) means “everything is an A”.

• ∃xA(x) means “something is an A”.

10

Page 21: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers, II

A quantifier is a symbol ∀ (“for all”) or ∃ (“exists”) followed by a

variable.

∀x , ∀y , ∀z , . . . are called universal quantifiers.

∃x , ∃y , ∃z , . . . are called existential quantifiers.

• ∀xA(x) means “everything is an A”.

• ∃xA(x) means “something is an A”.

10

Page 22: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers

All Philosophy majors at UMD are required to take a logic course.

Paraphrase: For any thing, if that thing is a Philosophy major at UMD,

then that thing is required to take a logic course.

U(·) means “...is a Philosophy major at UMD.”

L(·) means “...is required to take a logic course.”

∀x(U(x)→ L(x))

11

Page 23: Reasoning for Humans: Clear Thinking in an Uncertain World

Quantifiers

All Philosophy majors at UMD are required to take a logic course.

Paraphrase: For any thing, if that thing is a Philosophy major at UMD,

then that thing is required to take a logic course.

U(·) means “...is a Philosophy major at UMD.”

L(·) means “...is required to take a logic course.”

∀x(U(x)→ L(x))

11

Page 24: Reasoning for Humans: Clear Thinking in an Uncertain World

Formulas of First Order Logic

1. An atomic proposition of First Order Logic is a predicate applied to

a term. For example,

A(a),A(b), . . .A(x),A(y), . . .

are atomic proposition of First Order Logic. Each atomic

propositions of First Order Logic is a formula of First Order Logic.

2. If X is a formula for First Order Logic, then so is ¬X .

3. If X and Y are formulas of First Order Logic, then so are

(X ∨ Y ), (X ∧ Y ), (X → Y ), and (X ↔ Y ).

4. If X is a formula of First Order Logic, then so is a quantifier

appended to X , i.e., ∀xX and ∃xX are formulas of First Order Logic.

5. Nothing else is a formula.

12

Page 25: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

1. P(a)

2. (P(a) ∧ Q(a))

3. (P(x) ∧ ¬Q(b))

4. ∀xP(x)

5. ∀x(P(x)→ Q(x))

6. ∃y(P(x) ∧ ¬Q(y))

7. (Q(a)→ ∀y(P(y) ∧ ¬R(a)))

8. (¬∀x¬P(x)→ ∃xP(x))

13

Page 26: Reasoning for Humans: Clear Thinking in an Uncertain World

• Maggie is a dog, and she is black.

(D(m) ∧ B(m))

• Snowball is a cat, and she is white.

(C (s) ∧W (s))

• Zebbie is a zebra, and he is black and white.

(Z (z) ∧ P(z))

14

Page 27: Reasoning for Humans: Clear Thinking in an Uncertain World

• Maggie is a dog, and she is black.

(D(m) ∧ B(m))

• Snowball is a cat, and she is white.

(C (s) ∧W (s))

• Zebbie is a zebra, and he is black and white.

(Z (z) ∧ P(z))

14

Page 28: Reasoning for Humans: Clear Thinking in an Uncertain World

• Maggie is a dog, and she is black.

(D(m) ∧ B(m))

• Snowball is a cat, and she is white.

(C (s) ∧W (s))

• Zebbie is a zebra, and he is black and white.

(Z (z) ∧ P(z))

14

Page 29: Reasoning for Humans: Clear Thinking in an Uncertain World

• Maggie is a dog, and she is black.

(D(m) ∧ B(m))

• Snowball is a cat, and she is white.

(C (s) ∧W (s))

• Zebbie is a zebra, and he is black and white.

(Z (z) ∧ (B(z) ∧W (z))

(Z (z) ∧ P(z))

14

Page 30: Reasoning for Humans: Clear Thinking in an Uncertain World

• Maggie is a dog, and she is black.

(D(m) ∧ B(m))

• Snowball is a cat, and she is white.

(C (s) ∧W (s))

• Zebbie is a zebra, and he is black and white.

(Z (z) ∧ P(z))

14

Page 31: Reasoning for Humans: Clear Thinking in an Uncertain World

Translations

H(x) x is happy.

S(x) x is a student.

All students are happy.

(∀x)(S(x)→ H(x))

(∀x)(S(x) ∧ H(x))

Some students are happy.

(∃x)(S(x)→ H(x))

(∃x)(S(x) ∧ H(x))

15

Page 32: Reasoning for Humans: Clear Thinking in an Uncertain World

Translations

H(x) x is happy.

S(x) x is a student.

All students are happy.

? (∀x)(S(x)→ H(x))

? (∀x)(S(x) ∧ H(x))

Some students are happy.

(∃x)(S(x)→ H(x))

(∃x)(S(x) ∧ H(x))

15

Page 33: Reasoning for Humans: Clear Thinking in an Uncertain World

Translations

H(x) x is happy.

S(x) x is a student.

All students are happy.

X (∀x)(S(x)→ H(x))

7 (∀x)(S(x) ∧ H(x)) (Everyone is a student and happy.)

Some students are happy.

(∃x)(S(x)→ H(x))

(∃x)(S(x) ∧ H(x))

15

Page 34: Reasoning for Humans: Clear Thinking in an Uncertain World

Translations

H(x) x is happy.

S(x) x is a student.

All students are happy.

X (∀x)(S(x)→ H(x))

7 (∀x)(S(x) ∧ H(x)) (Everyone is a student and happy.)

Some students are happy.

? (∃x)(S(x)→ H(x))

? (∃x)(S(x) ∧ H(x))

15

Page 35: Reasoning for Humans: Clear Thinking in an Uncertain World

Translations

H(x) x is happy.

S(x) x is a student.

All students are happy.

X (∀x)(S(x)→ H(x))

7 (∀x)(S(x) ∧ H(x)) (Everyone is a student and happy.)

Some students are happy.

7 (∃x)(S(x)→ H(x)) (There is someone that is either not a student

or happy.)

X (∃x)(S(x) ∧ H(x))

15

Page 36: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

All logicians are mathematicians.

(∀x)(L(x)→ M(x))

Some logicians are mathematicians.

(∃x)(L(x) ∧M(x))

L(x) x is a logician

M(x) x is a mathematician

16

Page 37: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

All logicians are mathematicians.

(∀x)(L(x)→ M(x))

Some logicians are mathematicians.

(∃x)(L(x) ∧M(x))

L(x) x is a logician

M(x) x is a mathematician

16

Page 38: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

No logician is a mathematician.

¬(∃x)(L(x) ∧M(x))

Some logicians are not mathematicians.

(∃x)(L(x) ∧ ¬M(x))

Every logician is not a mathematician.

(∀x)(L(x)→ ¬M(x))

Not every logician is a mathematician.

¬(∀x)(L(x)→ M(x))

L(x) x is a logician

M(x) x is a mathematician

17

Page 39: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

No logician is a mathematician.

¬(∃x)(L(x) ∧M(x))

Some logicians are not mathematicians.

(∃x)(L(x) ∧ ¬M(x))

Every logician is not a mathematician.

(∀x)(L(x)→ ¬M(x))

Not every logician is a mathematician.

¬(∀x)(L(x)→ M(x))

L(x) x is a logician

M(x) x is a mathematician

17

Page 40: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

No logician is a mathematician.

¬(∃x)(L(x) ∧M(x))

Some logicians are not mathematicians.

(∃x)(L(x) ∧ ¬M(x))

Every logician is not a mathematician.

(∀x)(L(x)→ ¬M(x))

Not every logician is a mathematician.

¬(∀x)(L(x)→ M(x))

L(x) x is a logician

M(x) x is a mathematician

17

Page 41: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

No logician is a mathematician.

¬(∃x)(L(x) ∧M(x))

Some logicians are not mathematicians.

(∃x)(L(x) ∧ ¬M(x))

Every logician is not a mathematician.

(∀x)(L(x)→ ¬M(x))

Not every logician is a mathematician.

¬(∀x)(L(x)→ M(x))

L(x) x is a logician

M(x) x is a mathematician

17

Page 42: Reasoning for Humans: Clear Thinking in an Uncertain World

Examples

No logician is a mathematician.

¬(∃x)(L(x) ∧M(x))

Some logicians are not mathematicians.

(∃x)(L(x) ∧ ¬M(x))

Every logician is not a mathematician.

(∀x)(L(x)→ ¬M(x))

Not every logician is a mathematician.

¬(∀x)(L(x)→ M(x))

L(x) x is a logician

M(x) x is a mathematician

17

Page 43: Reasoning for Humans: Clear Thinking in an Uncertain World

every A is B (∀x)(A(x)→ B(x))

some A is B (∃x)(A(x) ∧ B(x))

no A is B ¬(∃x)(A(x) ∧ B(x))

some A is not B (∃x)(A(x) ∧ ¬B(x))

every A is a non-B (∀x)(A(x)→ ¬B(x))

not every A is B ¬(∀x)(A(x)→ B(x))

18