paal antonsen [email protected] a formal logic · this is a method for checking for ... (px ˙qx),...

65
14 CHECKING VALIDITY TREES III Paal Antonsen [email protected] https://sites.google.com/site/paalantonsen/teaching/logic a Formal Logic

Upload: dinhdang

Post on 28-May-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

14CHECKING VALIDITY TREES III

Paal [email protected]

https://sites.google.com/site/paalantonsen/teaching/logica

Formal Logic

Page 2: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

The story so far. . .

I In this lecture we will extend the tree method so that we will be able tohandle arguments in predicate logic. This is a method for checking forproofs argument forms (i.e. whether the conclusion is provable from thepremises) by checking whether trees close.

There is a proof for 〈X , A〉 (X ` A) iff there is a closed tree for 〈X , ∼A〉.

A tree is closed if all its branches are closed, and open otherwise.

A branch is (a) closed if a formula A and a formula ∼A (its negation) occurin that branch, (b) open iff it is complete and not closed.

Page 3: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

The story so far. . .

I We gave a summary of how to use the tree method:

HOW TO: CHECK WHETHER THERE IS A TREE PROOF

(a) Where 〈X ,A〉 is an argument, write down all the premises X andnegation of conclusion ∼A (the root).

(b) Then apply the rules for the connectives to produce branches on thetree. Each time you apply a rule on a formula, remember to mark thatformula as resolved with X.

(c) If a formula along with its negation occurs in a branch of the the tree,then mark that branch as closed with ×.

There are then two possibilities:

(d) If you thereby produce a tree where all branches are closed, you haveshown that there is a tree proof for 〈X ,A〉 (X ` A).

(e) If you thereby produce a tree where all the formulas are resolved and atleast one branch is open, you have shown that there isn’t a tree proof for〈X ,A〉 (X 0 A).

Page 4: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

How do we handle formulas in predicate logic?

I The description of what counted as formulas of predicate logic included∼A, (A & B), (A ∨ B), (A ⊃ B), (A ≡ B). So we can keep the rules:

closure

A...∼A

X

conjunction

(A & B)

AB

∼(A & B)

∼A ∼B

disjunction

(A ∨ B)

A B

∼(A ∨ B)

∼A∼B

negation

∼∼A

A

conditional

(A ⊃ B)

∼A B

∼(A ⊃ B)

A∼B

biconditional

(A ≡ B)

AB

∼A∼B

∼(A ≡ B)

∼AB

A∼B

Page 5: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

How do we handle formulas in predicate logic?

I The extended tree method needs rules to handle formulas of the form:

Existential (∃x)ANegated existential ∼(∃x)A

Universal (∀x)ANegated universal ∼(∀x)A

I The rules we need must satisfy their intuitive truth conditions:

(∃x)A is true iff A is true for some individual∼(∃x)A is true iff A is not true for any individual

(∀x)A is true iff A is true for every individual∼(∀x)A is true iff A is not true for every individual

Page 6: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

How do we handle formulas in predicate logic?

I The extended tree method needs rules to handle formulas of the form:

Existential (∃x)ANegated existential ∼(∃x)A

Universal (∀x)ANegated universal ∼(∀x)A

I The rules we need must satisfy their intuitive truth conditions:

(∃x)A is true iff A is true for some individual∼(∃x)A is true iff A is not true for any individual

(∀x)A is true iff A is true for every individual∼(∀x)A is true iff A is not true for every individual

Page 7: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

How do we handle formulas in predicate logic?

(1) (∀x)∼A iff ∼(∃x)A(2) (∃x)∼A iff ∼(∀x)A

(1) (∀x)∼A is true inMiff for every object, ∼A is true inMiff for every object, A is false inM

∼(∃x)A is true inMiff there isn’t some object, s.t. A is true inMiff for every object, A is false inM

(2) (∃x)∼A is true inMiff there is some object, s.t. ∼A is true inMiff there is some object, s.t. A is false inM

∼(∀x)A is true inMiff not for every object, A is true inMiff there is some object, s.t. A is false inM

Page 8: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

How do we handle formulas in predicate logic?

(1) (∀x)∼A iff ∼(∃x)A(2) (∃x)∼A iff ∼(∀x)A

(1) (∀x)∼A is true inMiff for every object, ∼A is true inMiff for every object, A is false inM

∼(∃x)A is true inMiff there isn’t some object, s.t. A is true inMiff for every object, A is false inM

(2) (∃x)∼A is true inMiff there is some object, s.t. ∼A is true inMiff there is some object, s.t. A is false inM

∼(∀x)A is true inMiff not for every object, A is true inMiff there is some object, s.t. A is false inM

Page 9: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

How do we handle formulas in predicate logic?

(1) (∀x)∼A iff ∼(∃x)A(2) (∃x)∼A iff ∼(∀x)A

(1) (∀x)∼A is true inMiff for every object, ∼A is true inMiff for every object, A is false inM

∼(∃x)A is true inMiff there isn’t some object, s.t. A is true inMiff for every object, A is false inM

(2) (∃x)∼A is true inMiff there is some object, s.t. ∼A is true inMiff there is some object, s.t. A is false inM

∼(∀x)A is true inMiff not for every object, A is true inMiff there is some object, s.t. A is false inM

Page 10: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: universal quantification

I We add the two following rules for the universal quantifier

(∀x)A

A(a/x)

for any name a

X∼(∀x)A

∼A(a/x)

where a is a new name.

We can use any name when resolving (∀x)A because we assume thatthe condition A is supposed to hold for any individual.

We do not check (X) this formula, so we can use it several times.

We use a new name, i.e. one that doesn’t occur in that branch, whenresolving ∼(∀x)A, because we just assume that not all individuals meetcondition A; nothing about which in particular.

Page 11: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: universal quantification

I We add the two following rules for the universal quantifier

(∀x)A

A(a/x)

for any name a

X∼(∀x)A

∼A(a/x)

where a is a new name.

We can use any name when resolving (∀x)A because we assume thatthe condition A is supposed to hold for any individual.

We do not check (X) this formula, so we can use it several times.

We use a new name, i.e. one that doesn’t occur in that branch, whenresolving ∼(∀x)A, because we just assume that not all individuals meetcondition A; nothing about which in particular.

Page 12: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: universal quantification

I We add the two following rules for the universal quantifier

(∀x)A

A(a/x)

for any name a

X∼(∀x)A

∼A(a/x)

where a is a new name.

We can use any name when resolving (∀x)A because we assume thatthe condition A is supposed to hold for any individual.

We do not check (X) this formula, so we can use it several times.

We use a new name, i.e. one that doesn’t occur in that branch, whenresolving ∼(∀x)A, because we just assume that not all individuals meetcondition A; nothing about which in particular.

Page 13: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 14: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

(∀x)(Px ⊃ Qx)∼Qa∼∼Pa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 15: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

(∀x)(Px ⊃ Qx)∼Qa∼∼Pa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 16: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

(∀x)(Px ⊃ Qx) /a∼Qa∼∼Pa

Pa ⊃ Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 17: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

(∀x)(Px ⊃ Qx) /a∼Qa∼∼Pa

Pa ⊃ Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 18: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

(∀x)(Px ⊃ Qx) /a∼Qa∼∼Pa

XPa ⊃ Qa

∼Pa Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 19: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example I

(∀x)(Px ⊃ Qx), ∼Qa; therefore ∼Pa

(∀x)(Px ⊃ Qx) /a∼Qa∼∼Pa

XPa ⊃ Qa

∼Pa

Qa

All the branches close, so the argument is classified as valid. and that isvery good indeed

Page 20: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 21: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px(∀x)(Px ⊃ Qx)∼(∀x)Qx

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 22: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px(∀x)(Px ⊃ Qx)∼(∀x)Qx

The rule said: resolve ∼(∀x)A by extending branch with the formula∼A(a/x) where a is new.

Page 23: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px(∀x)(Px ⊃ Qx)X∼(∀x)Qx /a

∼Qa

The rule said: resolve ∼(∀x)A by extending branch with the formula∼A(a/x) where a is new.

Page 24: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px(∀x)(Px ⊃ Qx)X∼(∀x)Qx /a

∼Qa

The rule said: resolve ∀x)A by extending branch with the formula A(a/x)for any name a.

Page 25: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px /a(∀x)(Px ⊃ Qx)X∼(∀x)Qx /a

∼Qa

Pa

The rule said: resolve ∀x)A by extending branch with the formula A(a/x)for any name a.

Page 26: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px /a(∀x)(Px ⊃ Qx)X∼(∀x)Qx /a

∼Qa

Pa

The rule said: resolve ∀x)A by extending branch with the formula A(a/x)for any name a.

Page 27: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px /a(∀x)(Px ⊃ Qx) /aX∼(∀x)Qx /a

∼Qa

Pa

Pa ⊃ Qa

The rule said: resolve ∀x)A by extending branch with the formula A(a/x)for any name a.

Page 28: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px /a(∀x)(Px ⊃ Qx) /aX∼(∀x)Qx /a

∼Qa

Pa

Pa ⊃ Qa

The rule said: resolve ∀x)A by extending branch with the formula A(a/x)for any name a.

Page 29: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px /a(∀x)(Px ⊃ Qx) /aX∼(∀x)Qx /a

∼Qa

Pa

Pa ⊃ Qa

∼Pa Qa

The rule said: resolve ∀x)A by extending branch with the formula A(a/x)for any name a.

Page 30: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example II

(∀x)Px, (∀x)(Px ⊃ Qx); therefore (∀x)Qx

(∀x)Px /a(∀x)(Px ⊃ Qx) /aX∼(∀x)Qx /a

∼Qa

Pa

Pa ⊃ Qa

∼Pa

Qa

All the branches close, so the argument is classified as valid. and that isvery good indeed

Page 31: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: existential quantification

I We add the two following rules for the existential quantifier

X(∃x)A

A(a/x)

where a is a new name

∼(∃x)A

∼A(a/x)

for any name a

We use a new name, i.e. one that doesn’t occur in that branch, whenresolving (∃x)A, because we just assume that some individual meetcondition A; nothing about which in particular.

We can use any name when resolving ∼(∃x)A because we assume thatthe condition A doesn’t hold for any individal.

We do not check (X) this formula, so we can use it several times.

Page 32: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: existential quantification

I We add the two following rules for the existential quantifier

X(∃x)A

A(a/x)

where a is a new name

∼(∃x)A

∼A(a/x)

for any name a

We use a new name, i.e. one that doesn’t occur in that branch, whenresolving (∃x)A, because we just assume that some individual meetcondition A; nothing about which in particular.

We can use any name when resolving ∼(∃x)A because we assume thatthe condition A doesn’t hold for any individal.

We do not check (X) this formula, so we can use it several times.

Page 33: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: existential quantification

I We add the two following rules for the existential quantifier

X(∃x)A

A(a/x)

where a is a new name

∼(∃x)A

∼A(a/x)

for any name a

We use a new name, i.e. one that doesn’t occur in that branch, whenresolving (∃x)A, because we just assume that some individual meetcondition A; nothing about which in particular.

We can use any name when resolving ∼(∃x)A because we assume thatthe condition A doesn’t hold for any individal.

We do not check (X) this formula, so we can use it several times.

Page 34: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 35: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

(∃x)Px ⊃ QaPb∼Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 36: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

(∃x)Px ⊃ QaPb∼Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 37: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

X(∃x)Px ⊃ QaPb∼Qa

∼(∃x)Px Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 38: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

X(∃x)Px ⊃ QaPb∼Qa

∼(∃x)Px Qa

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 39: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

X(∃x)Px ⊃ QaPb∼Qa

∼(∃x)Px Qa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x) for any name a.

Page 40: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

X(∃x)Px ⊃ QaPb∼Qa

∼(∃x)Px /b

∼Pb

Qa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x) for any name a.

Page 41: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example III

(∃x)Px ⊃ Qa, Pb; therefore Qa

X(∃x)Px ⊃ QaPb∼Qa

∼(∃x)Px /b

∼Pb

Qa

All the branches close, so the argument is classified as valid. and that isvery good indeed

Page 42: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 43: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

(∃x)Px(∀x)(Px ⊃ Qx)∼(∃x)Qx

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 44: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

(∃x)Px(∀x)(Px ⊃ Qx)∼(∃x)Qx

The rule said: resolve (∃x)A by extending branch with the formulaA(a/x), where a is a new name.

Page 45: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx)∼(∃x)Qx

Pa

The rule said: resolve (∃x)A by extending branch with the formulaA(a/x), where a is a new name.

Page 46: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx)∼(∃x)Qx

Pa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 47: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx) /a∼(∃x)Qx

Pa

Pa ⊃ Qa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 48: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx) /a∼(∃x)Qx

Pa

Pa ⊃ Qa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x), for any name a.

Page 49: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx) /a∼(∃x)Qx /a

Pa

Pa ⊃ Qa

∼Qa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x), for any name a.

Page 50: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx) /a∼(∃x)Qx /a

Pa

Pa ⊃ Qa

∼Qa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x), for any name a.

Page 51: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx) /a∼(∃x)Qx /a

Pa

XPa ⊃ Qa

∼Qa

∼Pa Qa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x), for any name a.

Page 52: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Trees and predicate logic: example IV

(∃x)Px, (∀x)(Px ⊃ Qx); therefore (∃x)Qx

X(∃x)Px /a(∀x)(Px ⊃ Qx) /a∼(∃x)Qx /a

Pa

XPa ⊃ Qa

∼Qa

∼Pa

Qa

All the branches close, so the argument is classified as valid. and that isvery good indeed

Page 53: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

Restating the new rules

I Tomorrow we will continue with the tree method for predicate logic, so itis useful to memorize the four new rules:

(∀x)A

A(a/x)

for any name a

X∼(∀x)A

∼A(a/x)

where a is a new name.

X(∃x)A

A(a/x)

where a is a new name

∼(∃x)A

∼A(a/x)

for any name a

Page 54: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 55: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx)(∃x)Px∼(∃x)Rxx

The rule said: resolve (∀x)A by extending branch with the formula A(a/x)for any name a.

Page 56: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx)(∃x)Px∼(∃x)Rxx

The rule said: resolve (∃x)A by extending branch with the formulaA(a/x), where a is a new name.

Page 57: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx)X (∃x)Px /a∼(∃x)Rxx

Pa

The rule said: resolve (∃x)A by extending branch with the formulaA(a/x), where a is a new name.

Page 58: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx)X (∃x)Px /a∼(∃x)Rxx

Pa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 59: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx

Pa

Pa ⊃ Raa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 60: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx

Pa

Pa ⊃ Raa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 61: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx

Pa

XPa ⊃ Raa

∼Pa Raa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 62: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx

Pa

XPa ⊃ Raa

∼Pa

Raa

The rule said: resolve (∀x)A by extending branch with the formulaA(a/x), for any name a.

Page 63: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx

Pa

XPa ⊃ Raa

∼Pa

Raa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x), for any name a.

Page 64: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx /a

Pa

XPa ⊃ Raa

∼Pa

Raa

∼Raa

The rule said: resolve ∼(∃x)A by extending branch with the formula∼A(a/x), for any name a.

Page 65: Paal Antonsen antonsp@tcd.ie a Formal Logic · This is a method for checking for ... (Px ˙Qx), ˘Qa; therefore ˘Pa The rule said: resolve (8x)A by extending branch with the formula

A final example

(∀x)(Px ⊃ Rxx), (∃x)Px ; therefore (∃x)Rxx

(∀x)(Px ⊃ Rxx) /aX (∃x)Px /a∼(∃x)Rxx /a

Pa

XPa ⊃ Raa

∼Pa

Raa

∼Raa

All the branches close (i.e. the tree closes), so the argument is classifiedas valid by the tree method.