Symbolising Quantified Arguments

Similar documents
4 Quantifiers and Quantified Arguments 4.1 Quantifiers

Propositional Logic Not Enough

Predicate Logic. CSE 191, Class Note 02: Predicate Logic Computer Sci & Eng Dept SUNY Buffalo

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1)

Review. Propositional Logic. Propositions atomic and compound. Operators: negation, and, or, xor, implies, biconditional.

Discrete Structures for Computer Science

Section Summary. Section 1.5 9/9/2014

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

Proposi'onal Logic Not Enough

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures

Discrete Mathematics and Its Applications

Quantifiers. P. Danziger

Formal (Natural) Deduction for Predicate Calculus

2. Use quantifiers to express the associative law for multiplication of real numbers.

Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January )

Predicate Calculus lecture 1

Recall that the expression x > 3 is not a proposition. Why?

Predicate Logic combines the distinctive features of syllogistic and propositional logic.

Introduction to Sets and Logic (MATH 1190)

Section Summary. Predicate logic Quantifiers. Negating Quantifiers. Translating English to Logic. Universal Quantifier Existential Quantifier

Predicate Logic. 1 Predicate Logic Symbolization

(Refer Slide Time: 02:20)

Announcement. Homework 1

Lecture Predicates and Quantifiers 1.5 Nested Quantifiers

SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

Denote John by j and Smith by s, is a bachelor by predicate letter B. The statements (1) and (2) may be written as B(j) and B(s).

1.3 Predicates and Quantifiers

2-4: The Use of Quantifiers

Predicates and Quantifiers. CS 231 Dianna Xu

Quantifiers. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing February, 2018

Logic and Modelling. Introduction to Predicate Logic. Jörg Endrullis. VU University Amsterdam

Mat 243 Exam 1 Review

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

Discrete Structures Homework 1

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW PREDICATE LOGIC

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Proving Arguments Valid in Predicate Calculus

Solutions to Exercises (Sections )

Logic Programming (PLP 11) Predicate Calculus, Horn Clauses, Clocksin-Mellish Procedure

Phil 2B03 (McMaster University Final Examination) Page 1 of 4

Predicate Logic Thursday, January 17, 2013 Chittu Tripathy Lecture 04

Math 3336: Discrete Mathematics Practice Problems for Exam I

Predicate Logic & Quantification

15414/614 Optional Lecture 3: Predicate Logic

Section Summary. Predicates Variables Quantifiers. Negating Quantifiers. Translating English to Logic Logic Programming (optional)

Math 2: Algebra 2, Geometry and Statistics Ms. Sheppard-Brick Chapter 4 Test Review

Predicate Logic. Predicates. Math 173 February 9, 2010

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

ICS141: Discrete Mathematics for Computer Science I

G52DOA - Derivation of Algorithms Predicate Logic

III. Elementary Logic

CSE Discrete Structures

Section 1.1 Propositions

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Predicate Calculus - Syntax

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo

CH 61 USING THE GCF IN EQUATIONS AND FORMULAS

Section 8.3 Higher-Order Logic A logic is higher-order if it allows predicate names or function names to be quantified or to be arguments of a

CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE

Test 1 Solutions(COT3100) (1) Prove that the following Absorption Law is correct. I.e, prove this is a tautology:

Rules Build Arguments Rules Building Arguments

Mathacle. PSet ---- Algebra, Logic. Level Number Name: Date: I. BASICS OF PROPOSITIONAL LOGIC

Transparencies to accompany Rosen, Discrete Mathematics and Its Applications Section 1.3. Section 1.3 Predicates and Quantifiers

Predicate Logic: Sematics Part 1

CS 250/251 Discrete Structures I and II Section 005 Fall/Winter Professor York

Announcements CompSci 102 Discrete Math for Computer Science

First order Logic ( Predicate Logic) and Methods of Proof

Logic Overview, I. and T T T T F F F T F F F F

Math 300 Introduction to Mathematical Reasoning Autumn 2017 Proof Templates 1

Lecture 3. Logic Predicates and Quantified Statements Statements with Multiple Quantifiers. Introduction to Proofs. Reading (Epp s textbook)

Integration of Rational Functions by Partial Fractions

Mathematical Logic Part Three

Mathematical Reasoning. The Foundation of Algorithmics

1. Definition of a Polynomial

MACM 101 Discrete Mathematics I. Exercises on Predicates and Quantifiers. Due: Tuesday, October 13th (at the beginning of the class)

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives

Chapter 3. The Logic of Quantified Statements

Integration of Rational Functions by Partial Fractions

Logic and Propositional Calculus

Unit 6 Logic Math 116

Predicate Logic: Introduction and Translations

1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form

Predicate Logic. Example. Statements in Predicate Logic. Some statements cannot be expressed in propositional logic, such as: Predicate Logic

CS 220: Discrete Structures and their Applications. Predicate Logic Section in zybooks

Predicate Logic Quantifier Rules

For all For every For each For any There exists at least one There exists There is Some

Math Fundamentals of Higher Math

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

CPSC 121: Models of Computation

Handout #7 Predicate Logic Trees

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs

Supplementary Material for MTH 299 Online Edition

DEPARTMENT OF MATHEMATICS. MA1301 Discrete Mathematics

First-Order Logic (FOL)

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. February 9, :30 pm Duration: 1:50 hs. Closed book, no calculators

Recitation 4: Quantifiers and basic proofs

Introduction. Predicates and Quantifiers. Discrete Mathematics Andrei Bulatov

Transcription:

Symbolising Quantified Arguments 1. (i) Symbolise the following argument, given the universe of discourse is U = set of all animals. Animals are either male or female. Not all Cats are male, Therefore, some cats are female. Let Cx = x is a cat, Mx = x is male and F x = x is female. x : Mx F x, ( x : Cx Mx) x : Cx F x. (ii) U = set of all animals. Not all animals are cats, An Animal must be a cat if it has a tail, Therefore, not all animals have tails. Let Cx = x is a cat and T x = x has a tail. ( x : Cx), x : T x Cx ( x : T x). (iii) U = set of all animals. All animals are either male or female, Tom is not female, Therefore, Tom is male. Let Mx = x is male, F x = x is female, t U is the animal known as Tom (we assume this is unique) x : Mx F x, F t Mt. (iv) Symbolise the following argument, given the universe of discourse is U = set of all elephants. Elephants are either pink or grey, All pink elephants can fly, No elephants can fly, Therefore, all elephants are grey. Let P x = x is pink, Gx = x is grey and F x = x can fly. x : P x Gx, x : P x F x, ( x : F x) x : Gx. (v) Repeat part (i) but with the Universe replaced by U = set of all animals. 1

Let Ex = x is an elephant, along with P x = x is pink, Gx = x is grey and F x = x can fly. x : Ex (P x Gx), x : (P x Ex) F x, ( x : Ex F x) x : Ex Gx. Choosing an appropriate Universe will often simplify the symbolising of an argument. But remember to choose the Universe to contain all objects to which the argument refers. (vi) What would be appropriate universe for each of the following? (a) Animals are either male or female, Set of all animals. (b) All cats eat meat, Set of all cats. (c) Some cats eat mice. Set of all cats (d) Some mice are eaten by cats. Set of all mice. (e) Some mice are eaten by cats while some cats are nibbled by mice. Set of all cats and all mice, or perhaps the set of all animals. Note In (c), if U is the set of all cats, Cx = x is a cat and mx = x eats mice, the sentence becomes x : Cx mx. But we could change the universe to U, the set of all cats and all mice (or even the set of all animals). This time we need a predicate with two variables, e(x, y) = x eats y, along with Cx = x is a cat and Mx = x is a mouse. We then symbolise (c) as x, y : Cx My e(x, y). How would (d) be rewritten with this larger universe? (vi) U = set of all animals. If some cat is male then some dog is female. Tom is a male cat. Therefore, not all dogs are male. Let Cx = x is a cat, Dx = x is a dog, Mx = x is male, F x = x is female and t U is the animal known as Tom. ( x : Cx Mx) ( x : Dx F x), Mt ( x : Dx Mx). 2

Proving Quantified Arguments 1) Give proofs of validity for the following arguments. (i) x : Mx F x, ( x : Cx Mx) x : Cx F x. 1 ( x : Cx Mx) A 2 x : (Cx Mx) Negation 3 (Cu 0 Mu 0 ) ES 2, for some u 0 U, 4 Cu 0 Mu 0? 5 x : Mx F x A 6 Mu 0 F u 0 US 5 7 Mu 0 E 4 8 F u 0 DS 6,7 9 Cu 0 E 4 10 Cu 0 F u 0 I 8,9 11 x : Cx F x EG 10 There is a problem in this proof. We have not justified step 4, shown here as a?. We can though, fit in the proof of (p q) p ( q) found in Additional Question 3(9). This would, though, lead to a very long proof. (ii) x : p (x) ( x : p (x)) 1 ( ( x : p (x))) A(RAA) 2 x : p (x) DN 1 3 p (u 0 ) ES 2, some u 0 U 4 x : p (x) A 5 p (u 0 ) US 4 6 p (u 0 ) ( p (u 0 )) I 3,5 7 ( x : p (x)) RAA 1-6 (iii) ( x : Cx), x : T x Cx ( x : T x), 1 ( ( x : T x)) A(RAA) 2 x : T x DN 1 3 T u US 2 any u U, 4 x : T x Cx A 5 T u Cu US 4 6 Cu MPP 3,5 7 x : Cx UG 6 8 ( x : Cx) A 9 ( x : Cx) ( ( x : Cx)) I 7,8 10 ( x : T x) RAA 1-9 3

(iv) x : P x Gx, x : P x F x, ( x : F x) x : Gx. 1 ( x : F x) A 2 x : F x Negation 1 3 F u US 2 any u U 4 x : P x F x A 5 P u F u US 4 6 P u MTT 3,5 7 x : P x Gx A 8 P u Gu US 7 9 Gu DS 6,8 10 x : Gx UG 9 2) Give proofs of validity for the following. (i) x : p(x) q (x) ( x : p(x)) ( x : q (x)), 1 x : p(x) q (x) A 2 p(u 0 ) q (u 0 ) ES 1, some u 0 U 3 p(u 0 ) E 2 4 x : p(x) EG 3 5 ( x : p(x)) ( x : q (x)) I 4 6 q (u 0 ) E 2 7 x : q (x) EG 6 8 ( x : p(x)) ( x : q (x)) I 7 9 ( x : p(x)) ( x : q (x)) E 3-8 (ii) ( x : p(x)) ( x : q (x)) x : p(x) q (x), 1 ( x : p(x)) ( x : q (x)) A 2 x : p(x) E 1 3 p(u 0 ) ES 2, some u 0 U, 4 p(u 0 ) q (u 0 ) I 3 5 x : p(x) q (x) EG 4 6 x : q (x) E 1 7 q (u 1 ) ES 6, some u 1 U, 8 p(u 1 ) q (u 1 ) I 7 9 x : p(x) q (x) EG 8 10 x : p(x) q (x) E 2-9 Have used different symbols u 0 and u 1 since p (x) and q (x) might be true for different objects in the universe. 4

(iii) ( x : p(x)) ( x : q (x)) x : p(x) q (x), 1 ( x : p(x)) ( x : q (x)) A 2 x : p(x) E 1 3 p(u) US 2 any u U 4 p(u) q (u) I 3 5 x : p(x) q (x) UG 4 6 x : q (x) E 1 7 q (v) US 6 any v U 8 p(v) q (v) I 7 9 x : p(x) q (x) UG 8 10 x : p(x) q (x) E 2-9 (iv) x : p(x) q (x), ( x : q (x)) ( x : p(x)), 1 ( x : q (x)) A 2 x : q (x) Negation 1 3 q (u) US 2 any u U 4 x : p(x) q (x) A 5 p(u) q (u) US 4 6 p(u) MTT 3,5 7 x : p(x) UG 7 8 ( x : p(x)) Negation 7 (v) ( x : p (x)) ( x : q (x)), x : p (x) x : q (x) TRICK: This is not really a predicate logic problem, merely a propositional logic problem. 1 x : p (x) A 2 ( x : p (x)) ( x : q (x)) A 3 x : q (x) MPP 1,2 (vi) w : pw qw ( x : qx rx) ( y : py ry), Note, the bound variables do not have to be x, and don t have to be the same throughout an argument. 5

1 x : qx rx A(CP) 2 pu A(CP) any u U 3 w : pw qw A 4 pu qu US 3 5 qu MPP 2,4 6 qu ru US 1 7 ru MPP 5,6 8 pu ru CP 2-7 9 y : py ry UG 8 10 ( x : qx rx) ( y : py ry) CP 1-9 (vi) x : ax (bx rx), ( x : rx) x : ax bx. (vii) ( x : p(x) q (x)) 1 au A(CP) any u 2 x : ax (bx rx) A 3 au (bu ru) US 2 4 bu ru MPP 1,3 5 ( x : rx) A 6 x : rx Negation 5 7 ru US 6 8 bu DS 4,7 9 au bu CP 1-8 10 x : ax bx. UG 9 x : p(x). 1 ( x : p(x)) A(RAA) 2 x : ( p(x)) Negation 1 3 ( p(u 0 )) ES 2, some u 0 U 4 p (u 0 ) DN 3 5 p (u 0 ) q (u 0 ) I 4 6 x : p(x) q (x) EG 7 ( x : p(x) q (x)) A 8 ( x : p(x) q (x)) ( ( x : p(x) q (x))) I 6,7 9 x : p(x) RAA 1-8 6

(viii) x, y : p (x, y) r (x, y), x, y : r (x, y) s (x, y), x, y : p (x, y) x, y : s (x, y) 1 x, y : r (x, y) s (x, y) A 2 y : r (u 0, y) s (u 0, y) ES 1 some u 0 U 3 x, y : p (x, y) r (x, y) A 4 y : p (u 0, y) r (u 0, y) US 3 5 p (u 0, v 1 ) r (u 0, v 1 ) ES 4 some ν 1 U 6 x, y : p (x, y) A 7 y : p (u 0, y) US 6 8 p (u 0, v 1 ) US 7 9 r (u 0, v 1 ) MPP 5,8 10 r (u 0, v 1 ) s (u 0, v 1 ) US 2 11 s (u 0, v 1 ) MPP 9,10 12 y : s (u 0, y) EG 11 13 x, y : s (x, y) EG 12 Invalid arguments Show that the following arguments are invalid. 1) x : p(x) q (x) ( x : p(x)) ( x : q (x)) In set form this argument reads P Q = U (P = U) (Q = U). It should be obvious to a student how to construct a counter-example. 2) x : p (x) x : p (x), In sets: P = U P, Choose U = and P = U when the premise will be true but the conclusion false. This may not be what you expect, but shows a difference between the quantifiers. To say that x : p (x) is true is to say there exists an object with a certain property. To say x : p (x) is true is not to assert that any object exists, but rather, if objects exist then they will have a certain property. 3) x : p(x) r (x) s (x), x : r (x) x : s (x) p (x). In sets: P R S, R S P, Take U = {1}, R = {1} and P = S =. 7

4) ( x : p (x)) ( x : q (x)), x : q (x) x : p (x) In sets: (P ) (Q ), Q = U P, Take U = {1} = Q and P =. 5) ( x : p(x) q (x)) ( x : p (x)), ( x : q(x) p (x)) ( x : q (x)) x : p (x) q (x), In sets: (P Q) (P ), (Q P ) (Q ) P Q, Take U = {1, 2}, P = {1} and Q = {2}. 6) x : p(x) r (x) s (x), ru 0, x : p (x) su 0. In sets: P (R S), u 0 / R, P u 0 S. Take U = {1, 2, 3, 4}, P = {1}, R = {1, 2}, S = {3} and u 0 = 4. 7) Let U = set of all animals. (i) The only animals with tails are cats. Tom is a cat. Therefore, Tom has a tail. Let Cx = x is a cat, T x = x has a tail and t U be the animal known as Tom. The argument becomes x : T x Cx, Ct T x. In terms of sets: T C, t C t T. Take U = {1, 2}, T = {1}, C = {1, 2} and t = 2. (ii) All animals have tails if they are cats, Jerry is not a cat, Therefore, Jerry does not have a tail. Let j U be the animal known as Jerry. The argument becomes x : Cx T x, Cj T j. In sets: C T, j / C j / T. Take U = {1, 2}, C = {1}, T = {1, 2} and j = 2. (iii) If cats exist then dogs exist. Not all animals are dogs, Therefore, some animals are not cats. The argument becomes: ( x : Cx) ( x : Dx), ( x : Dx) x : Cx. In sets: (C ) (D ), D U C c. Take U = {1} and C = D =. 8