Predicate Logic Quantifier Rules

Similar documents
SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES

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).

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

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

Propositional Logic Not Enough

Formal (Natural) Deduction for Predicate Calculus

! Predicates! Variables! Quantifiers. ! Universal Quantifier! Existential Quantifier. ! Negating Quantifiers. ! De Morgan s Laws for Quantifiers

Predicate Logic. 1 Predicate Logic Symbolization

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

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

Proseminar on Semantic Theory Fall 2013 Ling 720 First Order (Predicate) Logic: Syntax and Natural Deduction 1

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

Section 1.1 Propositions

Rules Build Arguments Rules Building Arguments

Logic. Lesson 3: Tables and Models. Flavio Zelazek. October 22, 2014

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

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

2/18/14. What is logic? Proposi0onal Logic. Logic? Propositional Logic, Truth Tables, and Predicate Logic (Rosen, Sections 1.1, 1.2, 1.

Review. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions

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

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

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

DERIVATIONS IN SYMBOLIC LOGIC I

Review: Potential stumbling blocks

Predicate Logic - Deductive Systems

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

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

Discrete Structures for Computer Science

Section Summary. Section 1.5 9/9/2014

06 From Propositional to Predicate Logic

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

RULES OF UNIVERSAL INSTANTIATION AND GENERALIZATION, EXISTENTIAL INSTANTIATION AND GENERALIZATION, AND RULES OF QUANTIFIER EQUIVALENCE

CSE Discrete Structures

Predicates, Quantifiers and Nested Quantifiers

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

Section 2.1: Introduction to the Logic of Quantified Statements

Proofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them.

Predicate Calculus. Lila Kari. University of Waterloo. Predicate Calculus CS245, Logic and Computation 1 / 59

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

A Little Deductive Logic

Predicate Logic: Introduction and Translations

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

Mat 243 Exam 1 Review

(Refer Slide Time: 02:20)

1.3 Predicates and Quantifiers

A Little Deductive Logic

DISCRETE MATH: LECTURE Chapter 3.3 Statements with Multiple Quantifiers If you want to establish the truth of a statement of the form

1 Predicates and Quantifiers

6. COMPLEX PREDICATES

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

Proposi'onal Logic Not Enough

Semantics I, Rutgers University Week 3-1 Yimei Xiang September 17, Predicate logic

Quantifiers. P. Danziger

Mathematical Logic Part Three

Sec$on Summary. Valid Arguments Inference Rules for Propositional Logic. Inference Rules for Quantified Statements. Building Arguments

Chapter 2: The Logic of Quantified Statements

Predicate Calculus lecture 1

Ling 130 Notes: Predicate Logic and Natural Deduction

CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE

Chapter 3. The Logic of Quantified Statements

Propositional Functions. Quantifiers. Assignment of values. Existential Quantification of P(x) Universal Quantification of P(x)

Introduction to Isabelle/HOL

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

Predicates and Quantifiers. CS 231 Dianna Xu

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/26)

1 Introduction to Predicate Resolution

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

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

Chapter 2: The Logic of Quantified Statements. January 22, 2010

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

Thinking of Nested Quantification

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.

Symbolising Quantified Arguments

PHIL 50 INTRODUCTION TO LOGIC 1 FREE AND BOUND VARIABLES MARCELLO DI BELLO STANFORD UNIVERSITY DERIVATIONS IN PREDICATE LOGIC WEEK #8

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 5 p. 1/60

Introduction to first-order logic:

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

15414/614 Optional Lecture 3: Predicate Logic

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

Today s Lecture. ICS 6B Boolean Algebra & Logic. Predicates. Chapter 1: Section 1.3. Propositions. For Example. Socrates is Mortal

Relational Predicates and Overlapping Quantifiers, 8.6. I. Introducing Relational Predicates

Intro to Logic and Proofs

The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs

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

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

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

Discrete Structures for Computer Science

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates

CS 2336 Discrete Mathematics

Sec$on Summary. Valid Arguments Inference Rules for Propositional Logic. Inference Rules for Quantified Statements. Building Arguments

Convert to clause form:

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them:

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational.

CS0441 Discrete Structures Recitation 3. Xiang Xiao

Mathematical Logic Part Three

Rules of Inference. Arguments and Validity

Predicate Logic. Predicates. Math 173 February 9, 2010

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

Transcription:

Predicate Logic Quantifier Rules CS251 at CCUT, Spring 2017 David Lu May 8 th, 2017 Contents 1. Universal Instantiation (UI) 2. Existential Generalization (EG) 3. Universal Generalization (UG) 4. Existential Instantiation (EI) 5. Quantifier Negation (QN) and Quantifier Equivalence (QE) 6. Multiple Quantification 1. Universal Instantiation/Elimination UI If X is a universally quantified sentence, then you are licensed to conclude any of its substitution instances below it. Let s be any constant, P be a predicate, and u be any variable. The natural deduction rule UI can be expressed as follows: 1. up (...u...) 3. P (...s...) UI This rule, in short, allows us to eliminate the universal quantifier of a universally quantified sentence and substitute any constant we d like for instances of the variable that it bound. The parenthetical notation in the argument place of the predicate denotes that the expression may be complex and not a simple subject predicate sentence. Here s an example: Everyone loves Eve. Therefore Adam loves Eve. 1. xlxe Premise 2. Lae 1, UI 1

In forming the substitution instance of a universally quantified sentence, you must be careful always to put the same name everywhere for the substituted variable. Substituting a for x in xlxx, we get Laa, not Lxa. Here s another example: All humans are mortal. Socrates is a human. Thus, Socrates is mortal. 1. x(hx M x) Premise 2. Hs Premise 3. Hs Ms 1, UI 4. Ms 2, 3 MP Notice that the universal quantifier in the first premise binds two instances of x in the sentence. So when we use UI at line 3, both must be replaced by our chosen constant. 2. Existential Generalization/Introduction EG Intuitively, from a closed sentence with a constant, we are licensed to infer the existential generalization of that sentence, where xp x is an existential generalization of P a. The natural deduction rule EG can be expressed as follows: 1. P (...s...) 3. xp (...x...) EG From a non-quantified sentence, which contains the constant s, we are allowed to take out one or more of the occurrences of s and substitute an existentially bound variable. Example: Rover loves to wag his tail. Therefore, something loves to wag its tail. 1. W r Premise 2. xw x 1, EG Here s another example: Everyone is happy. Therefore, someone is happy. 1. xhx Premise 2. Ha 1, UI 3. xhx 2, EG 2

3. Universal Generalization/Introduction UG The intuitive idea for universal introduction is that if a constant, as it occurs in a sentence, is completely arbitrary, you can universally generalize on that constant. This means that you can rewrite the sentence with a variable written in for all occurrences of the arbitrary constant, all bound by a universal quantifier. If I can show that an arbitrary element of set A is also an element of set B, then I am licensed to infer that every element of A is an element of B. There are a number of ways to state the UG rule such that the restriction that our constant is arbitrary is satisfied. Here s one way: 1. P (...s...) (s must name an arbitrary individual) 3. xp (...x...) 1, UG To say that s names an arbitrary individual puts a restriction on what constants we are allowed to universally generalize upon. In particular, s may not appear in the premises and s may not come from the result of a use of EI. Further, every instance of s in the sentence must be replaced by a variable when we use the rule UG. Here s an example of the mistake above: Everyone loves themself. Therefore, everyone loves Alice. 1. xlxx Premise 2. Laa 1, UI 3. xlxa 2, UG (Mistake!) Here is an example of a mistake in not generalizing upon an arbitrary individual: Doug is good at logic. Therefore, everyone is good at logic. 1. Gd Premise 2. xgx 1, UG (Mistake!) Here s a somewhat longer example: All birds have feathers. Only birds fly. Therefore, only feathered things fly. 1. x(bx F x) Premise 2. x( Bx Lx) Premise 3. Ba F a 1, UI 4. Ba La 2, UI 5. La Ba 4, Contra 6. La F a 3, 5 HS 7. F a La 6, Contra 8. x( F x Lx) 7, UG Notice that the constant a in the proof above does not appear in the premises or as the result of an existential instantiation. So a names an arbitrary individual, satisfying the restriction on on our use of UG at line 8. 3

4. Existential Instantiation/Elimination EI The following argument is intuitively valid: All lions are cats. Some lions roar. Therefore, some cats roar. 1. x(lx Cx) Premise 2. x(lx Rx) Premise 3. x(cx Rx) Conclusion We have no rule yet for exploiting the existential premise. Our reasoning ought to go something like this: Suppose Simba is a lion that roars. Since all lions are cats, Simba must be a cat that roars. So there exists a cat that roars. There are a couple of ways to implement the EI rule. In my informal reasoning above, I asked the reader to suppose that some individual named Simba was a lion that roars. Importantly, Simba may, or may not, exist. So any conclusions we draw from our reasoning, cannot include conclusions about Simba. So we might implement our EI rule as a sub-derivation rule, much like conditional proof and indirect proof. (The boxes in the proofs below surround a subproof, much like I do with a vertical bar when I hand write proofs.) 1. xp (...x...) 2. P (...s...) Assumption for EI 3.... 4. p p is any sentence that does not mention s 5. p 1, 2-4 EI Here s our initial cat argument example: 1. x(lx Cx) Premise 2. x(lx Rx) Premise 3. Ls Rs Assumption for EI 4. Ls 3, Simp 5. Rs 3, Simp 6. Ls Cs 1, UI 7. Cs 4, 6 MP 8. Cs Rs 5, 7 Conj 9. x(cx Rx) 8, EG (Notice s does not appear here) 10. x(cx Rx) 2, 3-9 EI An alternate way to schematize our EI rule is to place a restriction on what constant we re allowed to substitute for variables bound by the existential quantifier we re removing. In particular, we must pick a new constant, one that does not appear earlier in our proof. 1. xp (...x...) 3. P (...c...) 1, EI (c must be a new constant, not appearing earlier in the proof) The result of either version of the rule is the same sort of restriction on how we may use the EI. 4

5. Quantifier Negation QN and Quantifier Equivalence QE In addition to the rules allowing us to introduce or eliminate the two quantifiers, we have some rules allowing us to translate from one quantifier to the other and visa versa as well as some natural equivalences between quantified statements. Here are some QN rules. Let W be some well formed formula. I left out the variables for readability. 1. W W 2. W W 3. W W 4. W W Here are some QEs or quantifier equivalences. 1. x yw y xw 2. x yw y xw 3. (P x Qx) xp x yqy 4. (P x Qx) xp x yqy 5. xw x yw (x/y) Where (x/y) means replace each instance of x with y 6. xw x yw (x/y) Where (x/y) means replace each instance of x with y 6. Multiple Quantification To represent the sentence, Someone gave a bracelet to Alice we need to associate quantifier phrases with two of the noun phrase positions in the predicative context: x gave y to z (Gxyz). There s no special problem about this; we simply prefix both quantifiers, using the variables to link each quantifier with the appropriate noun phrase: x y(gxya P x By), where P x means x is a person and By means y is a bracelet. Another example. Any elephant is larger than every person: x y((ex P y) Lxy) 5