DERIVATIONS IN SYMBOLIC LOGIC I

Similar documents
13. APPENDIX 1: THE SYNTAX OF PREDICATE LOGIC

SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES

Announcements & Overview

DERIVATIONS AND TRUTH TABLES

Answers to the Exercises -- Chapter 3

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

Predicate Logic. 1 Predicate Logic Symbolization

INTRODUCTION. Tomoya Sato. Department of Philosophy University of California, San Diego. Phil120: Symbolic Logic Summer 2014

1 Introduction to Predicate Resolution

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

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

If you can figure out this derivation, better yet if you can reproduce it yourself, then you have truly mastered the universal-out rule!

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

First-Order Natural Deduction. Part 1: Universal Introduction and Elimination

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

Inverse Functions. One-to-one. Horizontal line test. Onto

Predicate Logic Quantifier Rules

Formal (Natural) Deduction for Predicate Calculus

Lecture 10: Predicate Logic and Its Language

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

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

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

Section 1.1 Propositions

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

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

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

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

CogSysI Lecture 8: Automated Theorem Proving

G52DOA - Derivation of Algorithms Predicate Logic

2-4: The Use of Quantifiers

The predicate calculus is complete

Interpretations of PL (Model Theory)

MATH 1090 Problem Set #3 Solutions March York University

Logic: First Order Logic

Intermediate Logic. First-Order Logic

LOWELL WEEKLY JOURNAL

Chapter 3. The Logic of Quantified Statements

First-order logic Syntax and semantics

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

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

6. COMPLEX PREDICATES

Functional Equations Problems. Amir Hossein Parvardi June 13, Dedicated to pco.

INTRODUCTION TO LOGIC

Normal Forms for First-Order Logic

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

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

8 General first order representation

CHAPTER 2. FIRST ORDER LOGIC

Propositional Logic Not Enough

Logical Structures in Natural Language: First order Logic (FoL)

MAT 243 Test 1 SOLUTIONS, FORM A

First-Order Logic (FOL)

06 From Propositional to Predicate Logic

Automated Reasoning Lecture 5: First-Order Logic

Stat 5101 Notes: Algorithms (thru 2nd midterm)

INTRODUCTION TO LOGIC

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

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

AAA615: Formal Methods. Lecture 2 First-Order Logic

This is logically equivalent to the conjunction of the positive assertion Minimal Arithmetic and Representability

Identity. "At least one dog has fleas" is translated by an existential quantifier"

7 Classical Quantified Logic

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

Knowledge representation in AI Symbolic Logic

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

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

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

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

CS2742 midterm test 2 study sheet. Boolean circuits: Predicate logic:

Predicate Logic: Syntax

LING 501, Fall 2004: Quantification

Intermediate Logic Spring. Second-Order Logic

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

Stat 5101 Notes: Algorithms

SOLUTIONS TO ADDITIONAL EXERCISES FOR II.1 AND II.2

First Order Differential Equations

Second-Order Modal Logic

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

A Gentle Introduction to Stein s Method for Normal Approximation I

Section Summary. Section 1.5 9/9/2014

h(x) lim H(x) = lim Since h is nondecreasing then h(x) 0 for all x, and if h is discontinuous at a point x then H(x) > 0. Denote

About This Document. MTH299 - Examples Weeks 1-6; updated on January 5, 2018

Lecture 11: Continuous-valued signals and differential entropy

Meta-logic derivation rules

2.2 Separable Equations

COMP4418: Knowledge Representation and Reasoning First-Order Logic

HOMEWORK ASSIGNMENT 5

Announcements. Today s Menu

Discrete Mathematics Basic Proof Methods

1 Predicates and Quantifiers

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

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

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

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

MATH 104: INTRODUCTORY ANALYSIS SPRING 2008/09 PROBLEM SET 8 SOLUTIONS


Predicate Calculus lecture 1

CSE Discrete Structures

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

Ling 130 Notes: Predicate Logic and Natural Deduction

Transcription:

DERIVATIONS IN SYMBOLIC LOGIC I Tomoya Sato Department of Philosophy University of California, San Diego Phil120: Symbolic Logic Summer 2014 TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 1 / 40

WHAT IS LOGIC? LOGIC Logic is the study of formal validity. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 2 / 40

CHAPTER 3, SECTION 6 The semantic method The proof-theoretic method Symbolization Formal Validity TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 3 / 40

SCOPE OF QUANTIFIER TWO TYPES OF OCCURRENCES OF VARIABLES Bound Variables. Free Variables. x(fx y(gy Hz)) ( Hy (Fx x( Fx Gx))) SCORE OF QUANTIFIER x ( ) y ( ) DEFINITION: SCORE OF QUANTIFIER The scope of an occurrence of a quantifier includes itself and its variable along with the formula to which it was prefixed when constructing the whole formula. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 4 / 40

SCOPE OF QUANTIFIER EXAMPLE xfx x(fx Gx) xfx y(gy Hy) x(fx ygy) x(fx y( zgz Hy)) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 5 / 40

BOUND VARIABLES AND FREE VARIABLES DEFINITION: BOUND VARIABLES A variable α in a formula ϕ is bound if 1 the variable is within the scope of a quantifier; 2 the variable is the same as the one that accompanies the quantifier; 3 the variable is not already bound by another quantifier occurrence within the scope of the first quantifier. x(fx Gx) xfx y(gy Hy) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 6 / 40

BOUND VARIABLES AND FREE VARIABLES x(fx ygy) x[(fx y( zgz Hy)) Iw] x(fx y(gy Hz)) ( Hy (Fx x( Fx Gx))) DEFINITION: FREE VARIABLES A variable α in a formula ϕ is free quantifier. def it is not bound by any DEFINITION: SENTENCES A formula is a sentence def it contains only bound variables. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 7 / 40

EXERCISES EXERCISES 1 x(fx Gx) 2 x(fx Gy) 3 x y(fx Fy) 4 x y[ z(fz Gy) (Gx ((Fx whw) Hx))] TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 8 / 40

INFERENCE RULES Universal Instantiation (ui) xϕ(x) ϕ(a) IDEA Everything is interesting. = Philosophy is interesting. = Logic is interesting. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 9 / 40

EXAMPLE 1. Fa 2. x(fx Gx) Ga 1. Show Ga 2. Fa Ga pr2 ui 3. Ga 2 pr1 mp dd TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 10 / 40

PROBLEM 1. Socrates is a human being. 2. All human beings are mortal. Socrates is mortal. 1. P 2. Q R Invalid!! TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 11 / 40

EXAMPLE 1. Socrates is a human being. 2. All human beings are mortal. Socrates is mortal. SCHEME OF ABBREVIATION a : Socrates. Fx : x is a human being. Gx : x is mortal. 1. Fa 2. x(fx Gx) Ga TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 12 / 40

INFERENCE RULES UNIVERSAL INSTANTIATION (UI) 1 Start with a universally quantified formula; 2 Remove the quantifier phrase; 3 Replace all and only the variable occurrences bound to the quantifier phrase with occurrences of the same letter or variable. 4 Restriction: The occurrence of the variable of instantiation must be free in the symbolic formula generated by UI. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 13 / 40

INFERENCE RULES GOOD UI x(fx Gx) Fa Ga GOOD UI x(fx Gx) Fy Gy GOOD UI x(fx Gx) Fx Gx TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 14 / 40

INFERENCE RULES BAD UI x(fx Gx) Fa Gb BAD UI x(fx Gx) Fx Gy BAD UI xfx Ga Fb Ga TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 15 / 40

INFERENCE RULES Restriction: The occurrence of the variable of instantiation must be free in the symbolic formula generated by UI. x y(fx Gy) y(fy Gy) You cannot do this! TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 16 / 40

EXERCISES 1. x(fx Gx) 2. y(hy Gy) Fa Ha 1. x Fx 2. y( Fy Gy) Fa Ga TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 17 / 40

EXERCISES 1. x y(fx Gy) 2. y(gy Hy) Fa Ha 1. x(fx Gx) Ga Fa TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 18 / 40

INFERENCE RULES Existential Generalization (eg) ϕ(a) ϕ(x) IDEA Hanzo Hattori is a Ninja. There is a Ninja. For some x, x is a Ninja. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 19 / 40

EXAMPLE 1. x(fx Gx) 2. Fa ygy 1. Show ygy 2. Fa Ga pr1 ui 3. Ga 2 pr2 mp 4. ygy 3 eg dd TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 20 / 40

INFERENCE RULES EXISTENTIAL GENERALIZATION (EG) 1 Start with any symbolic formula; 2 (Choice) Pick free occurrences of a term of instantiation; 3 (Choice) Pick the variable of generalization α (any variable is fine); 4 Add α to the left of the symbolic formula, and replace all picked occurrences of the term of instantiation with occurrences of α; 5 Restriction: Don t bind a free occurrence of a term other than the term of instantiation. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 21 / 40

INFERENCE RULES GOOD EG Fa Ga x(fx Gx) GOOD EG Fx Gx y(fy Gy) GOOD EG Fa Ga y(fy Ga) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 22 / 40

INFERENCE RULES GOOD EG Fx Ga y(fy Ga) GOOD EG Fx Ga y(fx Gy) GOOD EG x(fx Ga) z x(fx Gz) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 23 / 40

INFERENCE RULES BAD EG Fa Gb x(fx Gx) BAD EG Fa Gy x(fx Gx) BAD EG x(fx Ga) x z(fx Gz) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 24 / 40

INFERENCE RULES Restriction: Don t bind a free occurrence of a term other than the term of instantiation. Fx Ga x(fx Gx) You cannot do this! TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 25 / 40

EXERCISES 1. xfx xfx 1. x[( y Fy) Gx] 2. Fa Gb TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 26 / 40

INFERENCE RULES Existential Instantiation (ei) ϕ(x) ϕ(y) IDEA There is a Ninja. Nick is a Ninja. ( Nick" is a name that is temporarily assigned to that Ninja) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 27 / 40

EXAMPLE 1. x(fx Gx) 2. yfy zgz 1. Show zgz 2. Fw pr2 ei 3. Fw Gw pr1 ui 4. Gw 2 3 mp 5. zgz 4 eg dd TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 28 / 40

INFERENCE RULES EXISTENTIAL INSTANTIATION (EI) 1 Start with an existentially quantified formula; 2 Remove the quantifier phrase; 3 Replace all and only the variable occurrences bound to the quantifier phrase with occurrences of a new variable. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 29 / 40

INFERENCE RULES GOOD EI xfx Fw GOOD EI x(fx Ga) Fz Ga GOOD EI x y(fx Gy) x(fz Gy) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 30 / 40

INFERENCE RULES BAD EI x(fx Qb) Fa Qb BAD EI x(fx Qy) Fy Qy TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 31 / 40

INFERENCE RULES BAD EI x y(fx Gy) x(fx Gw) BAD EI x(fx Qx) Fy Qz TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 32 / 40

EXERCISES 1. x Fx yfy 1. x Fx yfy TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 33 / 40

EXERCISES 1. x y(fx Gy) z w(fw Gz) 1. x[(bx Dx) Ex] 2. x(dx Fx) 3. x(fx Bx) y(dy Ey) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 34 / 40

CHAPTER 3, SECTION 7 NOTE Universal derivation (ud) is not allowed in this course. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 35 / 40

CHAPTER 3, SECTION 9 Quantifier Negation (qn) IDEA It is not case that, for all x, x is not meaningful. There exists x such that x is meaningful. x Mx. xmx. IDEA It is not case that there exists x such that x is not meaningful. For all x, x is meanigful. x Mx. xmx. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 36 / 40

INFERENCE RULES IDEA x x. x x. αϕ α ϕ αϕ α ϕ α ϕ αϕ α ϕ αϕ α ϕ αϕ α ϕ αϕ αϕ α ϕ αϕ α ϕ TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 37 / 40

EXERCISES 1. x(fx Gx) 2. y( Fy Gy) zgz 1. x( Fx Ga) xfx Ga TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 38 / 40

ALPHABETIC VARIANCE (AV) NOTE "Alphabetic variance" is not allowed in this course. TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 39 / 40

NOTE NOTE In this course, it is not allowed to apply inference rules to a part of quantified formulas. BAD DM x(fx Qx) x (Fx Gx) x( Fx Gx) BAD CDJ x(fx Qx) x (Fx Gx) x ( Fx Gx) TOMOYA SATO LECTURE 5: DERIVATIONS IN SYMBOLIC LOGIC I 40 / 40