First-Order Logic. Natural Deduction, Part 2

Size: px
Start display at page:

Download "First-Order Logic. Natural Deduction, Part 2"

Transcription

1 First-Order Logic Natural Deduction, Part 2

2 Review Let ϕ be a formula, let x be an arbitrary variable, and let c be an arbitrary constant. ϕ[x/c] denotes the result of replacing all free occurrences of x in ϕ with c.

3 Review (Gzz Hxz) ( x)(sx Px) (Fy ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx) (~Dy Kz)

4 Review (Gzz Hxz)[z/d] ( x)(sx Px) (Fy ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx) (~Dy Kz)

5 Review (Gzz Hxz)[z/d] (Gdd Hxd) ( x)(sx Px) (Fy ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx) (~Dy Kz)

6 Review (Gzz Hxz)[z/d] (Gdd Hxd) ( x)(sx Px)[y/e] (Fy ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx) (~Dy Kz)

7 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Gdd Hxd) ( x)(sx Px) (Fy ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx) (~Dy Kz)

8 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Gdd Hxd) ( x)(sx Px) (Fy ᴧ ( y)(by ᴧ Dx))[y/c] (Rxx ᴧ ( x)fx) (~Dy Kz)

9 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Fy ᴧ ( y)(by ᴧ Dx))[y/c] (Gdd Hxd) ( x)(sx Px) (Fc ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx) (~Dy Kz)

10 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Fy ᴧ ( y)(by ᴧ Dx))[y/c] (Gdd Hxd) ( x)(sx Px) (Fc ᴧ ( y)(by ᴧ Dx)) (Rxx ᴧ ( x)fx)[x/b] (~Dy Kz)

11 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Fy ᴧ ( y)(by ᴧ Dx))[y/c] (Rxx ᴧ ( x)fx)[x/b] (Gdd Hxd) ( x)(sx Px) (Fc ᴧ ( y)(by ᴧ Dx)) (Rbb ᴧ ( x)fx) (~Dy Kz)

12 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Fy ᴧ ( y)(by ᴧ Dx))[y/c] (Rxx ᴧ ( x)fx)[x/b] (Gdd Hxd) ( x)(sx Px) (Fc ᴧ ( y)(by ᴧ Dx)) (Rbb ᴧ ( x)fx) (~Dy Kz)[y/a]

13 Review (Gzz Hxz)[z/d] ( x)(sx Px)[y/e] (Fy ᴧ ( y)(by ᴧ Dx))[y/c] (Rxx ᴧ ( x)fx)[x/b] (~Dy Kz)[y/a] (Gdd Hxd) ( x)(sx Px) (Fc ᴧ ( y)(by ᴧ Dx)) (Rbb ᴧ ( x)fx) (~Da Kz)

14 Universal Elimination ( E) Suppose ( x)ϕ is a well-formed formula for some variable x, and suppose c is an arbitrary constant. ( x)ϕ ϕ[x/c]

15 Let s try an example: { ( x)(gx ᴧ Hx), (Ga ( y)ky) } (Ha ᴧ Kb)

16 1 (1) ( x)(gx ᴧ Hx) A 2 (2) (Ga ( y)ky) A

17 1 (1) ( x)(gx ᴧ Hx) A 2 (2) (Ga ( y)ky) A 1 (3) (Ga ᴧ Ha) 1 E

18 1 (1) ( x)(gx ᴧ Hx) A 2 (2) (Ga ( y)ky) A 1 (3) (Ga ᴧ Ha) 1 E 1 (4) Ga 3 ᴧE 1 (5) Ha 3 ᴧE

19 1 (1) ( x)(gx ᴧ Hx) A 2 (2) (Ga ( y)ky) A 1 (3) (Ga ᴧ Ha) 1 E 1 (4) Ga 3 ᴧE 1 (5) Ha 3 ᴧE 1,2 (6) ( y)ky 2,4 E

20 1 (1) ( x)(gx ᴧ Hx) A 2 (2) (Ga ( y)ky) A 1 (3) (Ga ᴧ Ha) 1 E 1 (4) Ga 3 ᴧE 1 (5) Ha 3 ᴧE 1,2 (6) ( y)ky 2,4 E 1,2 (7) Kb 6 E

21 1 (1) ( x)(gx ᴧ Hx) A 2 (2) (Ga ( y)ky) A 1 (3) (Ga ᴧ Ha) 1 E 1 (4) Ga 3 ᴧE 1 (5) Ha 3 ᴧE 1,2 (6) ( y)ky 2,4 E 1,2 (7) Kb 6 E 1,2 (8) (Ha ᴧ Kb) 5,7 ᴧI

22 And here s another: { ( x)( y)rxy } Raa

23 1 (1) ( x)( y)rxy A

24 1 (1) ( x)( y)rxy A 1 (2) ( y)ray 1 E

25 1 (1) ( x)( y)rxy A 1 (2) ( y)ray 1 E 1 (3) Raa 2 E

26 Universal Introduction ( I) Suppose ϕ is a well-formed formula, and c is a constant that does not appear in ϕ. Then ϕ[x/c] ( x)ϕ So long as ϕ[x/c] does not depend on any formula containing c.

27 The rule for universal introduction has two clauses that constrain how we can introduce universal quantifiers. The constant c cannot appear in ϕ. The formula ϕ[x/c] cannot depend on any formula containing c.

28 The easiest way to see how the constraints on universal introduction work is to see how they might be violated.

29 The easiest way to see how the constraints on universal introduction work is to see how they might be violated. Let s see a proof that violates the first constraint: The constant c cannot appear in ϕ.

30 1 (1) ( x)fxx A

31 1 (1) ( x)fxx A 1 (2) Fbb 1 E

32 1 (1) ( x)fxx A 1 (2) Fbb 1 E 1 (3) ( x)fxb 2 I

33 1 (1) ( x)fxx A 1 (2) Fbb 1 E 1 (3) ( x)fxb 2 I NO!

34 1 (1) ( x)fxx A 1 (2) Fbb 1 E 1 (3) ( x)fxb 2 I NO! The formula Fxb contains the constant b!

35 1 (1) ( x)fxx A 1 (2) Fbb 1 E 1 (3) ( x)fxb 2 I NO! The formula Fxb contains the constant b! Construct a small world showing invalidity.

36 And now a proof that violates the second constraint: The formula ϕ[x/c] cannot depend on any formula containing c.

37 1 (1) Fa A

38 1 (1) Fa A 1 (2) ( x)fx 1 I

39 1 (1) Fa A 1 (2) ( x)fx 1 I NO!

40 1 (1) Fa A 1 (2) ( x)fx 1 I NO! The formula Fa depends on a formula that contains the constant a, namely itself!

41 1 (1) Fa A 1 (2) ( x)fx 1 I NO! The formula Fa depends on a formula that contains the constant a, namely itself! Construct a small world showing invalidity.

42 Now, let s see a correct example: { ( x)(fa Gx) } (Fa ( x)gx)

43 1 (1) ( x)(fa Gx) A

44 1 (1) ( x)(fa Gx) A 2 (2) Fa A (for CP)

45 1 (1) ( x)(fa Gx) A 2 (2) Fa A (for CP) 1 (3) (Fa Gb) 1 E

46 1 (1) ( x)(fa Gx) A 2 (2) Fa A (for CP) 1 (3) (Fa Gb) 1 E 1,2 (4) Gb 2,3 E

47 1 (1) ( x)(fa Gx) A 2 (2) Fa A (for CP) 1 (3) (Fa Gb) 1 E 1,2 (4) Gb 2,3 E 1,2 (5) ( x)gx 4 I

48 1 (1) ( x)(fa Gx) A 2 (2) Fa A (for CP) 1 (3) (Fa Gb) 1 E 1,2 (4) Gb 2,3 E 1,2 (5) ( x)gx 4 I 1 (6) (Fa ( x)gx) 2,5 CP

49 Existential Introduction ( I) Suppose ( x)ϕ is a well-formed formula for some variable x, and suppose c is an arbitrary constant. ϕ[x/c] ( x)ϕ

50 Let s try an example: { Fa } ( x)fx

51 1 (1) Fa A

52 1 (1) Fa A 1 (2) ( x)fx 1 I

53 Let s try an example: { } (Fbb (( x)fxb ᴧ ( x)fbx)

54 1 (1) Fbb A (for CP)

55 1 (1) Fbb A (for CP) 1 (2) ( x)fxb 1 I

56 1 (1) Fbb A (for CP) 1 (2) ( x)fxb 1 I 1 (3) ( x)fbx 1 I

57 1 (1) Fbb A (for CP) 1 (2) ( x)fxb 1 I 1 (3) ( x)fbx 1 I 1 (4) (( x)fxb ᴧ ( x)fbx) 2,3 ᴧI

58 1 (1) Fbb A (for CP) 1 (2) ( x)fxb 1 I 1 (3) ( x)fbx 1 I 1 (4) (( x)fxb ᴧ ( x)fbx) 2,3 ᴧI (5) (1) (4) 1,4 CP

59 And one more: { ( x)( y)rxy } ( x)( y)rxy)

60 1 (1) ( x)( y)rxy A

61 1 (1) ( x)( y)rxy A 1 (2) ( y)ray 1 E

62 1 (1) ( x)( y)rxy A 1 (2) ( y)ray 1 E 1 (3) Rab 2 E

63 1 (1) ( x)( y)rxy A 1 (2) ( y)ray 1 E 1 (3) Rab 2 E 1 (4) ( y)ray 3 I

64 1 (1) ( x)( y)rxy A 1 (2) ( y)ray 1 E 1 (3) Rab 2 E 1 (4) ( y)ray 3 I 1 (5) ( x)( y)rxy 4 I

65 Next Time We ll have a midterm exam. Then next week, we ll look at one more rule for the existential quantifier and two rules for the identity relation.

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

First-Order Natural Deduction. Part 1: Universal Introduction and Elimination First-Order Natural Deduction Part 1: Universal Introduction and Elimination Happy Birthday to Talan Two years old! Business Homework #7 will be posted later today. It is due on Monday, October 21. The

More information

13. APPENDIX 1: THE SYNTAX OF PREDICATE LOGIC

13. APPENDIX 1: THE SYNTAX OF PREDICATE LOGIC 394 Hardegree, Symbolic Logic 13. APPENDIX 1: THE SYNTAX OF PREDICATE LOGIC In this appendix, we review the syntactic features of predicate logic that are crucial to understanding derivations in predicate

More information

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

If you can figure out this derivation, better yet if you can reproduce it yourself, then you have truly mastered the universal-out rule! Chapter 8: Derivations in Predicate Logic 357 Example 5 (1) x(fx yrxy) Pr (2) x y(rxy zgz) Pr (3) ~Gb Pr (4) : ~Fa ID (5) Fa As (6) : DD (7) Fa yray 1, O (8) yray 5,7, O (9) Rab 8, O (10) y(ray zgz) 2,

More information

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

Topic DPL: Answers. Exercise 1.1a Explain why the rule &E for MPL is a sound rule. Topic DPL: Answers Exercise 1.1a Explain why the rule &E for MPL is a sound rule. In MPL, if (φ&ψ) is true under some interpretation then φ and ψ are true under that interpretation too. Thus, if (φ&ψ)

More information

Overview of Today s Lecture

Overview of Today s Lecture Branden Fitelson Philosophy 4515 (Advanced Logic) Notes 1 Overview of Today s Lecture Administrative Stuff HW #1 grades and solutions have been posted Please make sure to work through the solutions HW

More information

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

DO NOT FORGET!!! WRITE YOUR NAME HERE. Philosophy 109 Final Exam, Spring 2007 (80 points total) ~ ( x) Page 1 of 13 DO NOT FORGET!!! WRITE YOUR NAME HERE Philosophy 109 Final Exam, Spring 2007 (80 points total) ~ ( x) Part I: Symbolization into RL: Provide symbolizations of the following sentences, using

More information

Collins' notes on Lemmon's Logic

Collins' notes on Lemmon's Logic Collins' notes on Lemmon's Logic (i) Rule of ssumption () Insert any formula at any stage into a proof. The assumed formula rests upon the assumption of itself. (ii) Double Negation (DN) a. b. ( Two negations

More information

Zeroth-Order Natural Deduction. Part 4: Indirect Proof

Zeroth-Order Natural Deduction. Part 4: Indirect Proof Zeroth-Order Natural Deduction Part 4: Indirect Proof Conditional Proof Last time, we introduced the rule of conditional proof, which lets us discharge assumptions. Today, we will begin by looking at some

More information

Overview of Today s Lecture

Overview of Today s Lecture Branden Fitelson Philosophy 4515 (Advanced Logic) Notes 1 Overview of Today s Lecture Administrative Stuff HW #1 grades and solutions have been posted Please make sure to work through the solutions HW

More information

Math 3B: Lecture 11. Noah White. October 25, 2017

Math 3B: Lecture 11. Noah White. October 25, 2017 Math 3B: Lecture 11 Noah White October 25, 2017 Introduction Midterm 1 Introduction Midterm 1 Average is 73%. This is higher than I expected which is good. Introduction Midterm 1 Average is 73%. This is

More information

Announcements & Such

Announcements & Such Branden Fitelson Philosophy 12A Notes 1 Announcements & Such Administrative Stuff HW #6 to be handed back today. Resubs due Thursday. I will be posting both the sample in-class final and the take-home

More information

The Natural Deduction Pack

The Natural Deduction Pack The Natural Deduction Pack Alastair Carr March 2018 Contents 1 Using this pack 2 2 Summary of rules 3 3 Worked examples 5 31 Implication 5 32 Universal quantifier 6 33 Existential quantifier 8 4 Practice

More information

Predicate Logic. 1 Predicate Logic Symbolization

Predicate Logic. 1 Predicate Logic Symbolization 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

More information

1A Logic 2015 Model Answers

1A Logic 2015 Model Answers 1A Logic 2015 Model Answers Section A 1. (a) Show each of the following [40]: (i) P Q, Q R, P R P 1 P Q 2 Q R 3 P R 4 P 5 P R, 4 6 P 7 Q DS, 1, 6 8 R DS, 2, 7 9 R 10 I, 8, 9 11 R E, 9, 10 12 P MT, 3, 11

More information

DERIVATIONS IN SYMBOLIC LOGIC I

DERIVATIONS IN SYMBOLIC LOGIC I 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

More information

SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES

SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES SYMBOLIC LOGIC UNIT 10: SINGULAR SENTENCES Singular Sentences name Paris is beautiful (monadic) predicate (monadic) predicate letter Bp individual constant Singular Sentences Bp These are our new simple

More information

First-Order Logic with Identity

First-Order Logic with Identity 8 Validity and Provability in First-Order Logic with Identity 1 Interpretations in LFOL If an argument of English (or some other natural language) has a valid form in LFOL (the language of first-order

More information

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

Identity. At least one dog has fleas is translated by an existential quantifier Identity Quantifiers are so-called because they say how many. So far, we've only used the quantifiers to give the crudest possible answers to the question "How many dogs have fleas?": "All," "None," "Some,"

More information

Bertie3 Exercises. 1 Problem Set #3, PD Exercises

Bertie3 Exercises. 1 Problem Set #3, PD Exercises Bertie3 Exercises 1 Problem Set #3, PD Exercises 1. 1 ( x)qx P 2 ( x)w x P ( x)(qx W x) 2. 1 ( x)(ax (Bx Cx)) P 2 Bd P Ad 3. 1 ( x)jxx P 2 ( y) Ry P ( y)(jyy Ry) 4. 1 ( x)(lx (Mx Bx)) P 2 ( y)(my Jy) P

More information

MATH 409 Advanced Calculus I Lecture 16: Mean value theorem. Taylor s formula.

MATH 409 Advanced Calculus I Lecture 16: Mean value theorem. Taylor s formula. MATH 409 Advanced Calculus I Lecture 16: Mean value theorem. Taylor s formula. Points of local extremum Let f : E R be a function defined on a set E R. Definition. We say that f attains a local maximum

More information

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

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates Predicate Logic In what we ve discussed thus far, we haven t addressed other kinds of valid inferences: those involving quantification and predication. For example: All philosophers are wise Socrates is

More information

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

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1) Introduction to Predicate Logic Part 1 Professor Anita Wasilewska Lecture Notes (1) Introduction Lecture Notes (1) and (2) provide an OVERVIEW of a standard intuitive formalization and introduction to

More information

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

Phil 2B03 (McMaster University Final Examination) Page 1 of 4 Phil 2B03 (McMaster University Final Examination) Page 1 of 4 1. [SL proof] (a) Prove the formal validity of the following sequent: (F & G), F H, H G H (1) (F & G) Prem (2) F H Prem (3) H G Prem (4) H

More information

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

DRAFT - Math 101 Lecture Note - Dr. Said Algarni 2 Limits 2.1 The Tangent Problems The word tangent is derived from the Latin word tangens, which means touching. A tangent line to a curve is a line that touches the curve and a secant line is a line that

More information

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

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them: Completeness in the Monadic Predicate Calculus We have a system of eight rules of proof. Let's list them: PI At any stage of a derivation, you may write down a sentence φ with {φ} as its premiss set. TC

More information

4 Quantifiers and Quantified Arguments 4.1 Quantifiers

4 Quantifiers and Quantified Arguments 4.1 Quantifiers 4 Quantifiers and Quantified Arguments 4.1 Quantifiers Recall from Chapter 3 the definition of a predicate as an assertion containing one or more variables such that, if the variables are replaced by objects

More information

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

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW PREDICATE LOGIC 1 CHAPTER 7. PREDICATE LOGIC 1 INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW PREDICATE LOGIC 1 Predicate Logic 1.1 Introduction There are various arguments which cannot be dealt

More information

Homework. Turn in Homework #4. The fifth homework assignment has been posted on the course website. It is due on Monday, March 2.

Homework. Turn in Homework #4. The fifth homework assignment has been posted on the course website. It is due on Monday, March 2. Homework Turn in Homework #4. The fifth homework assignment has been posted on the course website. It is due on Monday, March 2. First-Order Logic Formation Rules and Translations First Order Logic Well-Formed

More information

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

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 CALCULUS Predicates Statement function Variables Free and bound variables Quantifiers Universe of discourse Logical equivalences and implications for quantified statements Theory of inference

More information

6. COMPLEX PREDICATES

6. COMPLEX PREDICATES 318 Hardegree, Symbolic Logic (1) x... y...rxy (1a) x(sx & y(py Rxy)) (1b) x(px & y(sy Rxy)) (2) x... y...ryx (2a) x(sx & y(py Ryx)) (2b) x(px & y(sy Ryx)) (3) x... y...rxy (3a) x(sx y(py & Rxy)) (3b)

More information

Announcements & Overview

Announcements & Overview Branden Fitelson Philosophy 4515 (Advanced Logic) Notes 1 Announcements & Overview Administrative Stuff HW #3 grades and solutions have been posted HW #4 s due date extended to next Friday (LMPL/L2PL proofs)

More information

Intermediate Logic Spring. Second-Order Logic

Intermediate Logic Spring. Second-Order Logic Intermediate Logic Spring Lecture Five Second-Order Logic Rob Trueman rob.trueman@york.ac.uk University of York 1 / 47 Introduction Second-Order Logic Introduction The Language of SOL Introduction and

More information

First-Order Logic (FOL)

First-Order Logic (FOL) First-Order Logic (FOL) Also called Predicate Logic or Predicate Calculus 2. First-Order Logic (FOL) FOL Syntax variables x, y, z, constants a, b, c, functions f, g, h, terms variables, constants or n-ary

More information

SKETCHY NOTES FOR WEEKS 7 AND 8

SKETCHY NOTES FOR WEEKS 7 AND 8 SKETCHY NOTES FOR WEEKS 7 AND 8 We are now ready to start work on the proof of the Completeness Theorem for first order logic. Before we start a couple of remarks are in order (1) When we studied propositional

More information

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

MATH 104: INTRODUCTORY ANALYSIS SPRING 2008/09 PROBLEM SET 8 SOLUTIONS MATH 04: INTRODUCTORY ANALYSIS SPRING 008/09 PROBLEM SET 8 SOLUTIONS. Let f : R R be continuous periodic with period, i.e. f(x + ) = f(x) for all x R. Prove the following: (a) f is bounded above below

More information

CHAPTER 2. FIRST ORDER LOGIC

CHAPTER 2. FIRST ORDER LOGIC CHAPTER 2. FIRST ORDER LOGIC 1. Introduction First order logic is a much richer system than sentential logic. Its interpretations include the usual structures of mathematics, and its sentences enable us

More information

The Mean Value Theorem

The Mean Value Theorem Math 31A Discussion Session Week 6 Notes February 9 and 11, 2016 This week we ll discuss some (unsurprising) properties of the derivative, and then try to use some of these properties to solve a real-world

More information

Normal Forms for First-Order Logic

Normal Forms for First-Order Logic Logic and Proof Hilary 2016 James Worrell Normal Forms for First-Order Logic In this lecture we show how to transform an arbitrary formula of first-order logic to an equisatisfiable formula in Skolem form.

More information

Formal (Natural) Deduction for Predicate Calculus

Formal (Natural) Deduction for Predicate Calculus Formal (Natural) Deduction for Predicate Calculus Lila Kari University of Waterloo Formal (Natural) Deduction for Predicate Calculus CS245, Logic and Computation 1 / 42 Formal deducibility for predicate

More information

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

PHIL 50 INTRODUCTION TO LOGIC 1 FREE AND BOUND VARIABLES MARCELLO DI BELLO STANFORD UNIVERSITY DERIVATIONS IN PREDICATE LOGIC WEEK #8 PHIL 50 INTRODUCTION TO LOGIC MARCELLO DI BELLO STANFORD UNIVERSITY DERIVATIONS IN PREDICATE LOGIC WEEK #8 1 FREE AND BOUND VARIABLES Before discussing the derivation rules for predicate logic, we should

More information

Interpretations of PL (Model Theory)

Interpretations of PL (Model Theory) Interpretations of PL (Model Theory) 1. Once again, observe that I ve presented topics in a slightly different order from how I presented them in sentential logic. With sentential logic I discussed syntax

More information

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

Lecture 10 CS 1813 Discrete Mathematics. Quantify What? Reasoning with Predicates Lecture 10 CS 1813 Discrete Mathematics Quantify What? Reasoning with Predicates 1 More Examples with Forall the Universal Quantifier L predicate about qsort L(n) length(qsort[a 1, a 2,, a n ] ) = n Universe

More information

Analysis/Calculus Review Day 2

Analysis/Calculus Review Day 2 Analysis/Calculus Review Day 2 AJ Friend ajfriend@stanford.edu Arvind Saibaba arvindks@stanford.edu Institute of Computational and Mathematical Engineering Stanford University September 20, 2011 Continuity

More information

MATH 318/Fall, 2007 Notes on reading formulas and Skolem functions

MATH 318/Fall, 2007 Notes on reading formulas and Skolem functions 1. The Tarski machine MATH 318/Fall, 2007 Notes on reading formulas and Skolem functions When we are given a sentence Φ in predicate logic, and a structure M interpreting the relation and operation symbols

More information

*EXAM 1* EECS 203 Spring 2016

*EXAM 1* EECS 203 Spring 2016 *EXAM 1* EECS 203 Spring 2016 Name (Print): uniqname (Print): Instructions. You have 110 minutes to complete this exam. You may have one page of notes (8.5x11.5 two-sided) but may not use any other sources

More information

*EXAM 1 Answer key* EECS 203 Spring 2016

*EXAM 1 Answer key* EECS 203 Spring 2016 *EXAM 1 Answer key* EECS 203 Spring 2016 Name (Print): Key uniqname (Print): Key Instructions. You have 110 minutes to complete this exam. You may have one page of notes (8.5x11.5 two-sided) but may not

More information

Section 4.2 The Mean Value Theorem

Section 4.2 The Mean Value Theorem Section 4.2 The Mean Value Theorem Ruipeng Shen October 2nd Ruipeng Shen MATH 1ZA3 October 2nd 1 / 11 Rolle s Theorem Theorem (Rolle s Theorem) Let f (x) be a function that satisfies: 1. f is continuous

More information

Errata in Modern Logic

Errata in Modern Logic Errata in Modern Logic Modern Logic contains a number of minor typos and slips in its first printing. Most of these are inconsequential or easily spotted by the reader, but some could be misleading, so

More information

7 Classical Quantified Logic

7 Classical Quantified Logic 7 Classical Quantified Logic efore examining quantified modal logic, we review a bare-bones system for first-order predicate or quantificational logic, i.e., that involving the quantifiers x... and x...,

More information

Predicate Logic - Introduction

Predicate Logic - Introduction Outline Motivation Predicate Logic - Introduction Predicates & Functions Quantifiers, Coming to Terms with Formulas Quantifier Scope & Bound Variables Free Variables & Sentences c 2001 M. Lawford 1 Motivation:

More information

Final Exam (100 points)

Final Exam (100 points) Final Exam (100 points) Honor Code: Each question is worth 10 points. There is one bonus question worth 5 points. In contrast to the homework assignments, you may not collaborate on this final exam. You

More information

MA4001 Engineering Mathematics 1 Lecture 15 Mean Value Theorem Increasing and Decreasing Functions Higher Order Derivatives Implicit Differentiation

MA4001 Engineering Mathematics 1 Lecture 15 Mean Value Theorem Increasing and Decreasing Functions Higher Order Derivatives Implicit Differentiation MA4001 Engineering Mathematics 1 Lecture 15 Mean Value Theorem Increasing and Decreasing Functions Higher Order Derivatives Implicit Differentiation Dr. Sarah Mitchell Autumn 2014 Rolle s Theorem Theorem

More information

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7 Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions /19/7 Question 1 Write the following as an integer: log 4 (9)+log (5) We have: log 4 (9)+log (5) = ( log 4 (9)) ( log (5)) = 5 ( log

More information

06 From Propositional to Predicate Logic

06 From Propositional to Predicate Logic Martin Henz February 19, 2014 Generated on Wednesday 19 th February, 2014, 09:48 1 Syntax of Predicate Logic 2 3 4 5 6 Need for Richer Language Predicates Variables Functions 1 Syntax of Predicate Logic

More information

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

Inverse Functions. One-to-one. Horizontal line test. Onto Inverse Functions One-to-one Suppose f : A B is a function. We call f one-to-one if every distinct pair of objects in A is assigned to a distinct pair of objects in B. In other words, each object of the

More information

Math 234 Final Exam (with answers) Spring 2017

Math 234 Final Exam (with answers) Spring 2017 Math 234 Final Exam (with answers) pring 217 1. onsider the points A = (1, 2, 3), B = (1, 2, 2), and = (2, 1, 4). (a) [6 points] Find the area of the triangle formed by A, B, and. olution: One way to solve

More information

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

Proseminar on Semantic Theory Fall 2013 Ling 720 First Order (Predicate) Logic: Syntax and Natural Deduction 1 First Order (Predicate) Logic: Syntax and Natural Deduction 1 A Reminder of Our Plot I wish to provide some historical and intellectual context to the formal tools that logicians developed to study the

More information

Errata for Symbolic Logic: Syntax, Semantics and Proof (2013) by David W. Agler. Last Updated: 4/30/2014

Errata for Symbolic Logic: Syntax, Semantics and Proof (2013) by David W. Agler. Last Updated: 4/30/2014 : Syntax, Semantics and Proof (2013) by David W. Agler Last Updated: 4/30/2014 Below is a list of the typographical errors in Symbolic Logic: Syntax, Semantics and Proof. The publisher ran a 2 nd printing

More information

ROOT FINDING REVIEW MICHELLE FENG

ROOT FINDING REVIEW MICHELLE FENG ROOT FINDING REVIEW MICHELLE FENG 1.1. Bisection Method. 1. Root Finding Methods (1) Very naive approach based on the Intermediate Value Theorem (2) You need to be looking in an interval with only one

More information

Mathematics 426 Robert Gross Homework 9 Answers

Mathematics 426 Robert Gross Homework 9 Answers Mathematics 4 Robert Gross Homework 9 Answers. Suppose that X is a normal random variable with mean µ and standard deviation σ. Suppose that PX > 9 PX

More information

Math 106 Calculus 1 Topics for first exam

Math 106 Calculus 1 Topics for first exam Chapter 2: Limits and Continuity Rates of change and its: Math 06 Calculus Topics for first exam Limit of a function f at a point a = the value the function should take at the point = the value that the

More information

AP Calculus ---Notecards 1 20

AP Calculus ---Notecards 1 20 AP Calculus ---Notecards 1 20 NC 1 For a it to exist, the left-handed it must equal the right sided it x c f(x) = f(x) = L + x c A function can have a it at x = c even if there is a hole in the graph at

More information

CS 323: Numerical Analysis and Computing

CS 323: Numerical Analysis and Computing CS 323: Numerical Analysis and Computing MIDTERM #2 Instructions: This is an open notes exam, i.e., you are allowed to consult any textbook, your class notes, homeworks, or any of the handouts from us.

More information

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

Formal Logic: Quantifiers, Predicates, and Validity. CS 130 Discrete Structures Formal Logic: Quantifiers, Predicates, and Validity CS 130 Discrete Structures Variables and Statements Variables: A variable is a symbol that stands for an individual in a collection or set. For example,

More information

I thank the author of the examination paper on which sample paper is based. VH

I thank the author of the examination paper on which sample paper is based. VH I thank the author of the examination paper on which sample paper is based. VH 1. (a) Which of the following expressions is a sentence of L 1 or an abbreviation of one? If an expression is neither a sentence

More information

and problem sheet 6

and problem sheet 6 2-28 and 5-5 problem sheet 6 Solutions to the following seven exercises and optional bonus problem are to be submitted through gradescope by 2:0AM on Thursday 9th October 207. There are also some practice

More information

HOMEWORK ASSIGNMENT 5

HOMEWORK ASSIGNMENT 5 HOMEWORK ASSIGNMENT 5 DUE 1 MARCH, 2016 1) Let f(x) = 1 if x is rational and f(x) = 0 if x is irrational. Show that f is not continuous at any real number. Solution Fix any x R. We will show that f is

More information

Solutions to Selected Exercises

Solutions to Selected Exercises Solutions to Selected Exercises (A complete solutions manual is available for instructors. Requests should be made on official letterhead directly to the author at the Department of Philosophy, Tulane

More information

120 CHAPTER 1. RATES OF CHANGE AND THE DERIVATIVE. Figure 1.30: The graph of g(x) =x 2/3.

120 CHAPTER 1. RATES OF CHANGE AND THE DERIVATIVE. Figure 1.30: The graph of g(x) =x 2/3. 120 CHAPTER 1. RATES OF CHANGE AND THE DERIVATIVE Figure 1.30: The graph of g(x) =x 2/3. We shall return to local extrema and monotonic functions, and look at them in more depth in Section 3.2. 1.5.1 Exercises

More information

1. Al wrapped a package. 2. No one in the house heard the doorbell. 3. Everyone sang a song to someone. 4. Al nominated himself and someone else, too.

1. Al wrapped a package. 2. No one in the house heard the doorbell. 3. Everyone sang a song to someone. 4. Al nominated himself and someone else, too. Phi 270 F2 test 5 F2 test 5 topics The following are the topics to be covered. The proportion of the test covering each will approximate the proportion of the classes so far that have been devoted to that

More information

Math 250B Midterm II Information Spring 2019 SOLUTIONS TO PRACTICE PROBLEMS

Math 250B Midterm II Information Spring 2019 SOLUTIONS TO PRACTICE PROBLEMS Math 50B Midterm II Information Spring 019 SOLUTIONS TO PRACTICE PROBLEMS Problem 1. Determine whether each set S below forms a subspace of the given vector space V. Show carefully that your answer is

More information

README - Syntax. Skolemization. Skolemization - Example 1. Skolemization - Example 1. Skolemization - Example 1. Skolemization - Example 2

README - Syntax. Skolemization. Skolemization - Example 1. Skolemization - Example 1. Skolemization - Example 1. Skolemization - Example 2 README - Syntax Skolemization Logical implication is commonly included in the syntax of first-order and propositional logical languages. The symbol used to denote logical implication differs from language

More information

Introduction to Logic in Computer Science: Autumn 2007

Introduction to Logic in Computer Science: Autumn 2007 Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Tableaux for First-order Logic The next part of

More information

Syntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2)

Syntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2) Syntax of FOL Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam The syntax of a language defines the way in which

More information

G52DOA - Derivation of Algorithms Predicate Logic

G52DOA - Derivation of Algorithms Predicate Logic G52DOA - Derivation of Algorithms Predicate Logic Venanzio Capretta Predicate Logic So far, we studied propositional logic, in which we started with unspecified propositional variables A, B, C, and combined

More information

EXAMPLES OF PROOFS BY INDUCTION

EXAMPLES OF PROOFS BY INDUCTION EXAMPLES OF PROOFS BY INDUCTION KEITH CONRAD 1. Introduction In this handout we illustrate proofs by induction from several areas of mathematics: linear algebra, polynomial algebra, and calculus. Becoming

More information

d(x n, x) d(x n, x nk ) + d(x nk, x) where we chose any fixed k > N

d(x n, x) d(x n, x nk ) + d(x nk, x) where we chose any fixed k > N Problem 1. Let f : A R R have the property that for every x A, there exists ɛ > 0 such that f(t) > ɛ if t (x ɛ, x + ɛ) A. If the set A is compact, prove there exists c > 0 such that f(x) > c for all x

More information

Derivations in the Predicate Calculus

Derivations in the Predicate Calculus Derivations in the Predicate Calculus The rules of proof for the full predicate calculus are the same as those for the monadic predicate calculus, with only the teeniest changes to accommodate the extra

More information

Math 142 Week-in-Review #4 (Sections , 4.1, and 4.2)

Math 142 Week-in-Review #4 (Sections , 4.1, and 4.2) Math 142 WIR, copyright Angie Allen, Fall 2018 1 Math 142 Week-in-Review #4 (Sections 3.1-3.3, 4.1, and 4.2) Note: This collection of questions is intended to be a brief overview of the exam material (with

More information

Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form.

Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form. Logic as a Tool Chapter 4: Deductive Reasoning in First-Order Logic 4.4 Prenex normal form. Skolemization. Clausal form. Valentin Stockholm University October 2016 Revision: CNF and DNF of propositional

More information

Math 140A - Fall Final Exam

Math 140A - Fall Final Exam Math 140A - Fall 2014 - Final Exam Problem 1. Let {a n } n 1 be an increasing sequence of real numbers. (i) If {a n } has a bounded subsequence, show that {a n } is itself bounded. (ii) If {a n } has a

More information

Logical Entailment A set of premises Δ logically entails a conclusion ϕ (Δ = ϕ) if and only if every interpretation that satisfies Δ also satisfies ϕ.

Logical Entailment A set of premises Δ logically entails a conclusion ϕ (Δ = ϕ) if and only if every interpretation that satisfies Δ also satisfies ϕ. Relational Proofs Logical Entailment A set of premises Δ logically entails a conclusion ϕ (Δ = ϕ) if and only if every interpretation that satisfies Δ also satisfies ϕ. Propositional Truth Assignments

More information

Solution to Set 7, Math 2568

Solution to Set 7, Math 2568 Solution to Set 7, Math 568 S 5.: No. 18: Let Q be the set of all nonsingular matrices with the usual definition of addition and scalar multiplication. Show that Q is not a vector space. In particular,

More information

Chapter 2. Limits and Continuity. 2.1 Rates of change and Tangents to Curves. The average Rate of change of y = f(x) with respect to x over the

Chapter 2. Limits and Continuity. 2.1 Rates of change and Tangents to Curves. The average Rate of change of y = f(x) with respect to x over the Chapter 2 Limits and Continuity 2.1 Rates of change and Tangents to Curves Definition 2.1.1 : interval [x 1, x 2 ] is The average Rate of change of y = f(x) with respect to x over the y x = f(x 2) f(x

More information

Maximum Theorem, Implicit Function Theorem and Envelope Theorem

Maximum Theorem, Implicit Function Theorem and Envelope Theorem Maximum Theorem, Implicit Function Theorem and Envelope Theorem Ping Yu Department of Economics University of Hong Kong Ping Yu (HKU) MIFE 1 / 25 1 The Maximum Theorem 2 The Implicit Function Theorem 3

More information

F10 test 5 questions

F10 test 5 questions Phi 270 F10 test 5 F10 test 5 topics The following are the topics to be covered. The proportion of the test covering each will approximate the proportion of the classes so far that have been devoted to

More information

1 FUNDAMENTALS OF LOGIC NO.10 HERBRAND THEOREM Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical connectives (,,, ) Truth table Tautology

More information

PHIL012. SYMBOLIC LOGIC PREDICATE LOGIC DERIVATIONS. Predicate Derivations: Four Quantifier Rules

PHIL012. SYMBOLIC LOGIC PREDICATE LOGIC DERIVATIONS. Predicate Derivations: Four Quantifier Rules PHIL012 SYMBOLIC LOGIC PREDICATE LOGIC DERIVATIONS Predicate Derivations: Four Quantifier Rules The proof system for RL is RD, which consists of PD+ (the proof system from propositional logic) plus additional

More information

Name: MAT 444 Test 4 Instructor: Helene Barcelo April 19, 2004

Name: MAT 444 Test 4 Instructor: Helene Barcelo April 19, 2004 MAT 444 Test 4 Instructor: Helene Barcelo April 19, 004 Name: You can take up to hours for completing this exam. Close book, notes and calculator. Do not use your own scratch paper. Write each solution

More information

5. Al opened the package. 9. Al called both Bill, who called him back, and Carol, who didn't.

5. Al opened the package. 9. Al called both Bill, who called him back, and Carol, who didn't. Phi 70 F0 test 5 F0 test 5 topics The following are the topics to be covered. The proportion of the test covering each will approximate the proportion of the classes so far that have been devoted to that

More information

Discrete Structures for Computer Science

Discrete Structures for Computer Science Discrete Structures for Computer Science William Garrison bill@cs.pitt.edu 6311 Sennott Square Lecture #4: Predicates and Quantifiers Based on materials developed by Dr. Adam Lee Topics n Predicates n

More information

INF3170 / INF4171 Notes on Resolution

INF3170 / INF4171 Notes on Resolution INF3170 / INF4171 Notes on Resolution Andreas Nakkerud Autumn 2015 1 Introduction This is a short description of the Resolution calculus for propositional logic, and for first order logic. We will only

More information

Symbolising Quantified Arguments

Symbolising Quantified Arguments 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,

More information

1 + x 2 d dx (sec 1 x) =

1 + x 2 d dx (sec 1 x) = Page This exam has: 8 multiple choice questions worth 4 points each. hand graded questions worth 4 points each. Important: No graphing calculators! Any non-graphing, non-differentiating, non-integrating

More information

Strong AI vs. Weak AI Automated Reasoning

Strong AI vs. Weak AI Automated Reasoning Strong AI vs. Weak AI Automated Reasoning George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving Artificial intelligence can be classified into two categories:

More information

Math 115 Second Midterm March 25, 2010

Math 115 Second Midterm March 25, 2010 Math 115 Second Midterm March 25, 2010 Name: EXAM SOLUTIONS Instructor: Section: 1. Do not open this exam until you are told to do so. 2. This exam has 9 pages including this cover. There are 8 problems.

More information

Selected problems from past exams

Selected problems from past exams Discrete Structures CS2800 Prelim 1 s Selected problems from past exams 1. True/false. For each of the following statements, indicate whether the statement is true or false. Give a one or two sentence

More information

1A Logic 2013 Model Answers

1A Logic 2013 Model Answers 1A Logic 2013 Model Answers Section A 1. This is a question about TFL. Attempt all parts of this question. [Note that most of the material in this question has been moved to the metatheory section of the

More information

1 Introduction to Predicate Resolution

1 Introduction to Predicate Resolution 1 Introduction to Predicate Resolution The resolution proof system for Predicate Logic operates, as in propositional case on sets of clauses and uses a resolution rule as the only rule of inference. The

More information

4. We accept without proofs that the following functions are differentiable: (e x ) = e x, sin x = cos x, cos x = sin x, log (x) = 1 sin x

4. We accept without proofs that the following functions are differentiable: (e x ) = e x, sin x = cos x, cos x = sin x, log (x) = 1 sin x 4 We accept without proofs that the following functions are differentiable: (e x ) = e x, sin x = cos x, cos x = sin x, log (x) = 1 sin x x, x > 0 Since tan x = cos x, from the quotient rule, tan x = sin

More information