Reasoning for Humans: Clear Thinking in an Uncertain World PHIL 171 - - PowerPoint PPT Presentation

reasoning for humans clear thinking in an uncertain world
SMART_READER_LITE
LIVE PREVIEW

Reasoning for Humans: Clear Thinking in an Uncertain World PHIL 171 - - PowerPoint PPT Presentation

Reasoning for Humans: Clear Thinking in an Uncertain World PHIL 171 Eric Pacuit Department of Philosophy University of Maryland pacuit.org Formulas Formulas are constructed out of 1. Atomic propositions: Capital letters A , B , C , . . . 2.


slide-1
SLIDE 1

Reasoning for Humans: Clear Thinking in an Uncertain World

PHIL 171

Eric Pacuit

Department of Philosophy University of Maryland pacuit.org

slide-2
SLIDE 2

Formulas

slide-3
SLIDE 3

Formulas are constructed out of

  • 1. Atomic propositions: Capital letters A, B, C, . . .
  • 2. Boolean connectives: ∧, ∨, ¬, and →
  • 3. Parentheses: ), (

1

slide-4
SLIDE 4

Atomic Formulas

We use capital letters to represent atomic formulas or occasionally sentential letters: A, B, C, and so on (possibly with numeric subscripts).

2

slide-5
SLIDE 5

Atomic Formauls

  • 1. John ran.
  • 2. Mary laughed.
  • 3. Harry said that Mary laughed.
  • 4. John thinks that Mary laughed at his running.
  • 5. John ran and Mary laughed.
  • 6. Either John ran, or Mary laughed.
  • 7. If Mary laughed, then John ran.
  • 8. John didn’t run.
  • 9. It is not the case that Mary laughed.

3

slide-6
SLIDE 6

Atomic Formauls

  • 1. John ran.

R

  • 2. Mary laughed. L
  • 3. Harry said that Mary laughed. H
  • 4. John thinks that Mary laughed at his running. M
  • 5. John ran and Mary laughed.
  • 6. Either John ran, or Mary laughed.
  • 7. If Mary laughed, then John ran.
  • 8. John didn’t run.
  • 9. It is not the case that Mary laughed.

3

slide-7
SLIDE 7

Atomic Formauls

  • 1. John ran.

R

  • 2. Mary laughed. L
  • 3. Harry said that Mary laughed. H
  • 4. John thinks that Mary laughed at his running. M
  • 5. John ran and Mary laughed.
  • 6. Either John ran, or Mary laughed.
  • 7. If Mary laughed, then John ran.
  • 8. John didn’t run.
  • 9. It is not the case that Mary laughed.

3

slide-8
SLIDE 8

Any capital letter can be used to represent an atomic proposition. When translating from English to formulas, you must provide a translation key (association of a letter with an atomic sentence).

4

slide-9
SLIDE 9

We use Greek letters (ϕ: “phi”, ψ: “psi”, α: “alpha”, β: “beta”, γ: “gamma”, δ: “delta”, etc.) as variables that range over all formulas. E.g., In algebra, you write ‘y = x + 2’. In this expression, ‘x’ is a variable that can be assigned any number.

5

slide-10
SLIDE 10

Conjunction

If ϕ and ψ are formulas, then (ϕ ∧ ψ) is a formula, called a conjunction.

(ϕ ∧ ψ)

left conjunct right conjunct

and/conjunction

6

slide-11
SLIDE 11

Conjunction

Ann had coffee and Bob had tea. [Ann had coffee]1 and [Bob had tea]2. C and T C ∧ T. C Ann had coffee. T Bob had tea.

7

slide-12
SLIDE 12

Conjunction

Ann had coffee and Bob had tea. [Ann had coffee]1 and [Bob had tea]2. C and T C ∧ T. C Ann had coffee. T Bob had tea.

7

slide-13
SLIDE 13

Conjunction

Ann had coffee and Bob had tea. [Ann had coffee]1 and [Bob had tea]2. C and T C ∧ T. C Ann had coffee. T Bob had tea.

7

slide-14
SLIDE 14

Conjunction

Ann had coffee and Bob had tea. [Ann had coffee]1 and [Bob had tea]2. C and T C ∧ T C Ann had coffee. T Bob had tea.

7

slide-15
SLIDE 15

Disjunction

If ϕ and ψ are formulas, then (ϕ ∨ ψ) is a formula, called a disjunction.

(ϕ ∨ ψ)

left disjunct right disjunct

  • r/disjunction

8

slide-16
SLIDE 16

Disjunction

Ann had coffee or Bob had tea. [Ann had coffee]1 or [Bob had tea]2. C or T C ∨ T. C Ann had coffee. T Bob had tea.

9

slide-17
SLIDE 17

Disjunction

Ann had coffee or Bob had tea. [Ann had coffee]1 or [Bob had tea]2. C or T C ∧ T. C Ann had coffee. T Bob had tea.

9

slide-18
SLIDE 18

Disjunction

Ann had coffee or Bob had tea. [Ann had coffee]1 or [Bob had tea]2. C or T C ∨ T. C Ann had coffee. T Bob had tea.

9

slide-19
SLIDE 19

Disjunction

Ann had coffee or Bob had tea. [Ann had coffee]1 or [Bob had tea]2. C or T C ∨ T C Ann had coffee. T Bob had tea.

9

slide-20
SLIDE 20

Negation

If ϕ is a formula, then (¬ϕ) is a formula, called a negation.

¬ϕ

negated formula

not/negation

10

slide-21
SLIDE 21

Negation

Ann didn’t have coffee. It’s not the case that Ann had coffee. It’s not the case that [Ann had coffee]1. ¬C C Ann had coffee.

11

slide-22
SLIDE 22

Negation

Ann didn’t have coffee. It’s not the case that Ann had coffee. It’s not the case that [Ann had coffee]1. ¬C C Ann had coffee.

11

slide-23
SLIDE 23

Negation

Ann didn’t have coffee. It’s not the case that Ann had coffee. It’s not the case that [Ann had coffee]1. ¬C C Ann had coffee.

11

slide-24
SLIDE 24

Negation

Ann didn’t have coffee. It’s not the case that Ann had coffee. It’s not the case that [Ann had coffee]1. ¬C C Ann had coffee.

11

slide-25
SLIDE 25

Conditional

If ϕ and ψ are formulas, then (ϕ → ψ) is a formula, called a conditional (sometimes this is called the material conditional).

(ϕ → ψ)

antecedent consequent

conditional/implication/implies

12

slide-26
SLIDE 26

Conditional

If Ann had coffee, then Bob had tea. [Ann had coffee]1 and [Bob had tea]2. C and T. C ∧ T. C Ann had coffee. T Bob had tea.

13

slide-27
SLIDE 27

Conditional

If Ann had coffee, then Bob had tea. If [Ann had coffee]1, then [Bob had tea]2. C and T. C ∧ T. C Ann had coffee. T Bob had tea.

13

slide-28
SLIDE 28

Conditional

If Ann had coffee, then Bob had tea. If [Ann had coffee]1, then [Bob had tea]2. If C, then T. C → T. C Ann had coffee. T Bob had tea.

13

slide-29
SLIDE 29

Conditional

If Ann had coffee, then Bob had tea. If [Ann had coffee]1, then [Bob had tea]2. If C, then T. C → T C Ann had coffee. T Bob had tea.

13

slide-30
SLIDE 30

Formulas

  • 1. Every atomic formula is a formula of sentential logic.
  • 2. If ϕ is a formula of sentential logic, then so is ¬ϕ.
  • 3. If ϕ and ψ are formulas of sentential logic, then so are each of the

following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

  • 4. An expression of sentential logic is a formula only if it can be

constructed by one or more applications of the first three rules.

14

slide-31
SLIDE 31

Why is (¬(A ∧ ¬B) → (C ∨ ¬D)) a formula?

15

slide-32
SLIDE 32
  • 1. Every atomic formula is a

formula of sentential logic.

  • 2. If ϕ is a formula of

sentential logic, then so is ¬ϕ.

  • 3. If ϕ and ψ are formulas
  • f sentential logic, then

so are each of the following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

(¬(A ∧ ¬B) → (C ∨ ¬D)) (C ∨ ¬D) (A ∧ B) ¬D A B C D

16

slide-33
SLIDE 33
  • 1. Every atomic formula is a

formula of sentential logic.

  • 2. If ϕ is a formula of

sentential logic, then so is ¬ϕ.

  • 3. If ϕ and ψ are formulas
  • f sentential logic, then

so are each of the following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

(¬(A ∧ ¬B) → (C ∨ ¬D)) (C ∨ ¬D) (A ∧ B) ¬D A B C D

16

slide-34
SLIDE 34
  • 1. Every atomic formula is a

formula of sentential logic.

  • 2. If ϕ is a formula of

sentential logic, then so is ¬ϕ.

  • 3. If ϕ and ψ are formulas
  • f sentential logic, then

so are each of the following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

(¬(A ∧ ¬B) → (C ∨ ¬D)) (C ∨ ¬D) (A ∧ B) ¬D A B C D

16

slide-35
SLIDE 35
  • 1. Every atomic formula is a

formula of sentential logic.

  • 2. If ϕ is a formula of

sentential logic, then so is ¬ϕ.

  • 3. If ϕ and ψ are formulas
  • f sentential logic, then

so are each of the following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

(¬(A ∧ ¬B) → (C ∨ ¬D)) (C ∨ ¬D) (A ∧ B) ¬D A B C D

16

slide-36
SLIDE 36
  • 1. Every atomic formula is a

formula of sentential logic.

  • 2. If ϕ is a formula of

sentential logic, then so is ¬ϕ.

  • 3. If ϕ and ψ are formulas
  • f sentential logic, then

so are each of the following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

(¬(A ∧ ¬B) → (C ∨ ¬D)) (C ∨ ¬D) (A ∧ B) ¬(A ∧ B) ¬D A B C D

16

slide-37
SLIDE 37
  • 1. Every atomic formula is a

formula of sentential logic.

  • 2. If ϕ is a formula of

sentential logic, then so is ¬ϕ.

  • 3. If ϕ and ψ are formulas
  • f sentential logic, then

so are each of the following:

a. (ϕ ∧ ψ) b. (ϕ ∨ ψ) c. (ϕ → ψ)

(¬(A ∧ B) → (C ∨ ¬D)) (C ∨ ¬D) (A ∧ B) ¬(A ∧ B) ¬D A B C D

16

slide-38
SLIDE 38

How do you find the syntax tree of a formula?

17

slide-39
SLIDE 39

How do you find the syntax tree of a formula? What is the main connective of a formula?

17

slide-40
SLIDE 40

He has an Ace if he does not have a Knight or a Spade. (¬(K ∨ S) → A)

18

slide-41
SLIDE 41

Syntax Tree

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S

19

slide-42
SLIDE 42

Syntax Tree

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S

19

slide-43
SLIDE 43

Syntax Tree

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S

19

slide-44
SLIDE 44

Syntax Tree

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S

19

slide-45
SLIDE 45

Syntax Tree

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S

19

slide-46
SLIDE 46

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S (( ¬ K ∨ S) → A) ( ¬ K ∨ S) A ¬ K S K

20

slide-47
SLIDE 47

( ¬ (K ∨ S) → A) ¬ (K ∨ S) A (K ∨ S) K S (( ¬ K ∨ S) → A) ( ¬ K ∨ S) A ¬ K S K

20

slide-48
SLIDE 48

How do you find the syntax tree of a formula?

  • 1. Write down the formula (adding parentheses if necessary).
  • 2. Identify the main connective.
  • 3. If it is a negation, write the negated formula below the current

formula.

  • 4. If it is a disjunction/conjunction/conditional, write the left

disjunct/left conjunct/antecedent down left of the current formula and the right disjunct/right conjunct/consequent below right of the current formula.

  • 5. Repeat steps 2-4 for for every formula that is not an atomic formula.
  • 6. Draw lines connecting formula to the ones immediately below them.

21

slide-49
SLIDE 49

Draw the syntax tree for (¬(A ∧ ¬B) → (C ∨ ¬D)).

22

slide-50
SLIDE 50

(¬(A ∧ ¬B) → (C ∨ ¬D)) ¬ (A ∧ ¬B) (C ∨ ¬D) C ¬ D D (A ∧ ¬B) A ¬ B B

23

slide-51
SLIDE 51

A ∧ B → C

24

slide-52
SLIDE 52

A ∧ B → C A ∧ B C A B A ∧ B→C A B → C B C

24

slide-53
SLIDE 53

((A ∧ B) → C) (A ∧ B) C A B

24

slide-54
SLIDE 54

Procedure for Reinserting Omitted Parentheses

  • 1. The outermost parentheses can be removed.

For example, ((P ∧ R) → Q) can be replaced with (P ∧ R) → Q.

  • 2. Group conjunctions and disjunctions before conditionals.

For example, (P ∧ Q) → (R ∨ S) is the same as P ∧ Q → R ∨ S.

  • 3. Group conjunctions and disjunctions to the left before the ones on

the right. For example, (P ∧ Q) ∧ R is the same as P ∧ Q ∧ R.

  • 4. Group conjunctions before disjunctions.

For example, P ∨ (Q ∧ R) is the same as P ∨ Q ∧ R.

24

slide-55
SLIDE 55

Add Parentheses

A ∧ B ∧ C A ∧ B ∨ C ¬A → C ¬A ∧ B → C ¬A ∧ B ∨ C

24

slide-56
SLIDE 56

Add Parentheses

((A ∧ B) ∧ C) ((A ∧ B) ∨ C) (¬A → C) ((¬A ∧ B) → C) ((¬A ∧ B) ∨ C)

24