Predicate Logic. 1 Predicate Logic Symbolization

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

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

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

Bertie3 Exercises. 1 Problem Set #3, PD Exercises

SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES

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

Answers to the Exercises -- Chapter 3

Formal (Natural) Deduction for Predicate Calculus

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

DERIVATIONS IN SYMBOLIC LOGIC I

ADDITIONAL SOLUTIONS for exercises in Introductory Symbolic Logic Without Formal Proofs

Predicate Logic Quantifier Rules

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

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

6. COMPLEX PREDICATES

Symbolising Quantified Arguments

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

Rules Build Arguments Rules Building Arguments

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

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

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

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

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

Section Summary. Section 1.5 9/9/2014

1 Introduction to Predicate Resolution

Lecture 10: Predicate Logic and Its Language

Section 1.1 Propositions

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

Propositional Logic Not Enough

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

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

March Algebra 2 Question 1. March Algebra 2 Question 1

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

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

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

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

Normal Forms for First-Order Logic

Lecture 10 CS 1813 Discrete Mathematics. Quantify What? Reasoning with Predicates

Predicate Logic: Introduction and Translations


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

Topic DPL: Answers. Exercise 1.1a Explain why the rule &E for MPL is a sound rule.

Lecture Predicates and Quantifiers 1.5 Nested Quantifiers

Outline. Rules of Inferences Discrete Mathematics I MATH/COSC 1056E. Example: Existence of Superman. Outline

Predicate Calculus - Syntax

1.3 Predicates and Quantifiers

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

G52DOA - Derivation of Algorithms Predicate Logic

Full file at Chapter 1

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

11. If John Madden has a pleasant personality and is not a political expert, then he's no TV newscaster.

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

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

Technische Universität München Summer term 2011 Theoretische Informatik Prof. Dr. Dr. h.c J. Esparza / M. Luttenberger / R.

7 Classical Quantified Logic

5-5 Solving Polynomial Equations

06 From Propositional to Predicate Logic

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

Predicate Logic - Deductive Systems

CSE Discrete Structures

COMP 409: Logic Homework 5

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

WORLD MATH DAY ACTIVITY PACK. Ages worldmathsday.com UNICEF WORLD MATH DAY Lesson Plans Age 4 10 ACTIVITY RESOURCE

CS 214 Introduction to Discrete Structures. Chapter 1 Formal Logic. Mikel D. Petty, Ph.D.

THE ISLAMIC UNIVERSITY OF GAZA ENGINEERING FACULTY DEPARTMENT OF COMPUTER ENGINEERING DISCRETE MATHMATICS DISCUSSION ECOM Eng. Huda M.

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

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

Discrete Mathematics Basic Proof Methods

Knowledge representation in AI Symbolic Logic

Continuous Random Variables

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

DISCRIMINANT EXAM QUESTIONS

Predicate Logic. Andreas Klappenecker

DO NOT FORGET!!! WRITE YOUR NAME HERE. Philosophy 109 Final Exam, Spring 2007 (80 points total) ~ ( x)

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

First order Logic ( Predicate Logic) and Methods of Proof

MATH 1090 Problem Set #3 Solutions March York University

(308 ) EXAMPLES. 1. FIND the quotient and remainder when. II. 1. Find a root of the equation x* = +J Find a root of the equation x 6 = ^ - 1.

Predicates and Quantifiers. CS 231 Dianna Xu

i.e. The conclusion to the following argument says If you had an A, then you d have a ~(B v Z).

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

(Refer Slide Time: 02:20)

Discrete Structures for Computer Science

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

Lecture 2. x if x X B n f(x) = α(x) if x S n 1 D n

MS 2001: Test 1 B Solutions

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

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

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

1A Logic 2015 Model Answers

The second-order 1D wave equation

Announcements & Overview

Mathematics 426 Robert Gross Homework 9 Answers

Discrete Mathematics and Its Applications

CSCI-2200 FOUNDATIONS OF COMPUTER SCIENCE

Parts Manual. EPIC II Critical Care Bed REF 2031

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

Predicate Logic & Quantification

Proposi'onal Logic Not Enough

Full file at

Transcription:

1 Predicate Logic Symbolization innovation of predicate logic: analysis of simple statements into two parts: the subject and the predicate. E.g. 1: John is a giant. subject = John predicate =... is a giant Predicate logic symbolization: j = John, G = is a giant Gj In predicate logic, the subject identified is called an individual constant predicate is called the symbolic predicate Note: Predicate logic also inherits all the logical connectives from propositional logic (,,,, ). English Statement Propositional Logic Predicate Logic Bermuda is a country. B Cb Bermuda is an island and a country. I C Ib Cb If Bermuda is a country then Jamaica is a country. B J Cb Cj JFK is on high alert just in case O Hare is. J O Hj Oj Quantification The breaking down of simple statements into two parts allows for a novel treatment of English statements that include all, everything, no, none, some New symbols:, the universal quantifier, read for all, the existential quantifier, read some or at least one English Statement Re-wording PL Symbolization Tigers are animals. All tigers are animals (x)(tx Ax) No tigers are canine. All tigers are not canine (x)(tx Cx) Everything is round. For all x, x is round. (x)(rx) English Statement Re-wording PL Symbolization Some tigers are albino. At least one tiger is albino. ( x)(t x Ax) Some tigers are not in captivity At least one tiger is not in captivity ( x)(t x Cx)

2 Predicate Logic - Rules of Inference Some Terminology quantifiers: (x)..., ( x)... constants: typically labeled a, b,..., t variables: typically labeled: x, y, z, x 1,..., y 1,... bound variables - variables in statements bound by quantifiers free variables - variables in statement functions not bound by quantifiers statement function - the expression that remains when a quantifier is removed from a statement E.g. 1: (x)(sx Tx) statement (universal generalization) x is a bound variable no free variable E.g. 2: ( y)(sy Ty) statement (existential generalization) y is a bound variable no free variables E.g. 3: Fy Gy statement function y is a free variable no bound variables

Rule of Inference Rule Form Conditions on Proper Use Universal Instantiation (x)fx // Fa None (UI): (x)fx // Fy None E.g. 1: Universal Instantiation 1. Everything is physical. 2. So, Mars is physical. Px x is physical m Mars 1 (x)p x 2 P m 1, UI E.g. 2: Universal Instantiation 1. All economists are social scientists. 2. Paul Krugman is an economist. 3. Therefore, Paul Kraugman is a social scientist. Ex x is an economist Sx x is a social scientist p Paul Krugman 1 (x)(ex Sx) Premise 2 Ep Premise 3 Ep Sp 1 UI 4 Sp 2, 3 MP E.g. 3: Universal Instantiation 1 (x)(hx Gx) 2 Hy Gy UI

Rule of Inference Rule Form Conditions on Proper Use Existential Generalization Fa // ( x)fx None (EG): Fy // ( x)fx None E.g. 1: Existential Generalization 1 Lp 2 ( x)(lx) 1 EG E.g. 2: Existential Generalization 1 Lj Hg 2 ( x)(lj Hx) 1 EG 3 Lj 1 Simp 4 ( x)(lx) 3, EG

Rule of Inference Rule Form Conditions on Proper Use Universal Instantiation (x)fx // Fa None (UI): (x)fx // Fy None Universal Generalization Fy // (x)fx i) not allowed: Fa // (x)fx (UG): Existential Generalization Fa // ( x)fx None (EG): Fy // ( x)fx None Existential Instantiation ( I): ( x)fx // Fa i) the existential name α must be a new name that does not appear in any previous line (including the conclusion line) ii) not allowed: ( x)fx // Fy E.g. 1: Universal Generalization Note: we cannot infer a universal statement from a particular: Fa // (x)fx is incorrect use of rule. 1 Ly 2 (x)(lx) 1 UG E.g. 2: Universal Generalization 1 F y Gy Premise 2 F y Gx Premise 3 (y)(f y Gy) 1 UG 4 (z)(f z Gx) 2 UG E.g. 3: (x)(hx Ix), (x)(ix Hx) // (x)(hx Ix) E.g. 4: Universal Instantiation (w/ statement functions) 1 (x)(p x Dx) Premise 2 (x)(dx Cx) Premise 3 P y Dy 1 UI 4 Dy Cy 2, UI 5 P y Cy 3, 4 HS 6 (x)(p x Cx) 5, UG

Rule of Inference Rule Form Conditions on Proper Use Universal Instantiation (x)fx // Fa None (UI): (x)fx // Fy None Universal Generalization Fy // (x)fx i) not allowed: Fa // (x)fx (UG): Existential Generalization Fa // ( x)fx None (EG): Fy // ( x)fx None E.g. 4: Existential Generalization 1 (x)[(ax Bx) Cx] Premise 2 ( x)ax Premise 3 Am 2, EI 4 (Am Bm) Cm 1 UI 5 Am Bm 3, Add 6 Cm 4, 5 MP 7 ( x)cx 6, EG E.g. 5: Existential Generalization 1 ( x)kx (x)(lx Mx) Premise 2 Kc Lc Premise 3 Kc 2, Simp 4 ( x)kx 3, EG 5 (x)(lx Mx) 1, 4 MP 6 Lc Mc 5, UI 7 Lc Kc 2, Comm 8 Lc 7, Simp 9 Mc 6, 8 MP E.g. 2: (x)(p x Qx) ( x)(rx Sx) // ( x)sx Ex 8.2.6: (x)[jx (Kx Lx)], ( y)( Ky) // ( z) Jz

3 Change of Quantifier Rule (x)f x :: ( x) F x (x)f x :: ( x) F x ( x)f x :: (x) F x ( x)f x :: (x) F x E.g. 1: ( x)(hx Gx) (x)ix, Im//(x)(Hx Gx) 1 ( x)(hx Gx) (x)ix Premise 2 Im Premise 3 ( x) Ix 2 EG 4 (x)ix 3 CQ 5 ( x)(hx Gx) 1, 4 MT 6 (x) (Hx Gx) 5 CQ 7 (x)( Hx Gx) 6, DM 8 (x)(hx Gx) 7 Impl

Ex. 8.3.I.11: ( x)(ax Bx), ( x)(ax Cx) // (x)[ax (Bx Cx)] 1 ( x)(ax Bx) Premise 2 ( x)(ax Cx) Premise 3 (x) (Ax Bx) 1 CQ 4 (x) (Ax Cx) 2 CQ 5 Ay ACP 6 (Ay By) 3, UI 7 (Ay Cy) 4, UI 8... 9 By Cy Conj 10 Ay (By Cy) 5-9 Cp 11 (x)[ax (Bx Cx)] 10 UG Ex. 8.3.I.6: 1 ( x) Ax (x)(bx Cx) Premise 2 (x)(ax Cx) Premise 3 ( x) (Ax Cx) 2 CQ 4 (Ai Ci) 3 EI 5 Ai Ci 4 Dem 6 Ai 5, Simp 7 ( x) Ax 6 EG 8 (x)(bx Cx) 1, 7 MP 9 Bi Ci 8 UI 10 Ci Ai 5 Comm 11 Ci 10 Simp 12 Bi 9, 11 MT 13 ( x) Bx 12 EG 14 (x)bx 13 CQ