Deduction by Daniel Bonevac. Chapter 8 Identity and Functions

Similar documents
Predicates, Quantifiers and Nested Quantifiers

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

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

A Little Deductive Logic

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

LIN1032 Formal Foundations for Linguistics

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

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

A Little Deductive Logic

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

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

Propositional Logic Not Enough

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Introduction to Sets and Logic (MATH 1190)

Chapter 1 Review of Equations and Inequalities

Introduction to first-order logic:

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

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

At least one of us is a knave. What are A and B?

Mat 243 Exam 1 Review

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

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

Introducing Proof 1. hsn.uk.net. Contents

Intermediate Logic. First-Order Logic

Math Lecture 3 Notes

Ling 130 Notes: Predicate Logic and Natural Deduction

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

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

STEP Support Programme. Hints and Partial Solutions for Assignment 17

Predicate in English. Predicates and Quantifiers. Predicate in Logic. Propositional Functions: Prelude. Propositional Function

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

Predicate Calculus lecture 1

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

Logic. Propositional Logic: Syntax

Numbers, proof and all that jazz.

Logic. Propositional Logic: Syntax. Wffs

1 Predicates and Quantifiers

Single-Predicate Derivations

Proofs. Chapter 2 P P Q Q

Section 1.3. Let I be a set. When I is used in the following context,

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Chapter 1. Logic and Proof

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Predicate Logic & Quantification

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

First order Logic ( Predicate Logic) and Methods of Proof

Computer Science 280 Spring 2002 Homework 2 Solutions by Omar Nayeem

PHIL12A Section answers, 16 February 2011

Mathematical Logic Part Three

CSC 125 :: Final Exam December 14, 2011

CSC 125 :: Final Exam May 3 & 5, 2010

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall

Predicate Logic. Predicates. Math 173 February 9, 2010

Review: Potential stumbling blocks

MA103 STATEMENTS, PROOF, LOGIC

Introduction to Logic

irst we need to know that there are many ways to indicate multiplication; for example the product of 5 and 7 can be written in a variety of ways:

MATH 22 INFERENCE & QUANTIFICATION. Lecture F: 9/18/2003

Solving Equations by Adding and Subtracting

Proofs. Chapter 2 P P Q Q

Math 10850, fall 2017, University of Notre Dame

Philosophy 240 Symbolic Logic Russell Marcus Hamilton College Fall 2014

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

Chapter 2: The Logic of Quantified Statements

Overview. 1. Introduction to Propositional Logic. 2. Operations on Propositions. 3. Truth Tables. 4. Translating Sentences into Logical Expressions

Selected problems from past exams

Introduction to Metalogic

Identity. We often use the word identical to simply mean looks the same. For instance:

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

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

G52DOA - Derivation of Algorithms Predicate Logic

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

Proof Techniques (Review of Math 271)

Solutions to Sample Problems for Midterm

A statement is a sentence that is definitely either true or false but not both.

Ling 130 Notes: Syntax and Semantics of Propositional Logic

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

Strong AI vs. Weak AI Automated Reasoning

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

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

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

Math.3336: Discrete Mathematics. Nested Quantifiers

DEPARTMENT OF MATHEMATICS. MA1301 Discrete Mathematics

Propositional Logic: Syntax

Predicate Logic: Syntax

Propositional Logic: Part II - Syntax & Proofs 0-0

Lecture 3 : Predicates and Sets DRAFT

Solutions to Exercises (Sections )

Math 3336: Discrete Mathematics Practice Problems for Exam I

Mathematical Preliminaries. Sipser pages 1-28

MATH 1090 Problem Set #3 Solutions March York University

CS 124 Math Review Section January 29, 2018

Today s Topics. Methods of proof Relationships to logical equivalences. Important definitions Relationships to sets, relations Special functions

PROBLEM SET 3: PROOF TECHNIQUES

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

1.4 Mathematical Equivalence

An Invitation to Mathematics Prof. Sankaran Vishwanath Institute of Mathematical Science, Chennai. Unit - I Polynomials Lecture 1B Long Division

Day 5. Friday May 25, 2012

Transcription:

Deduction by Daniel Bonevac Chapter 8 Identity and Functions

Introduction 1 This chapter introduces two important extensions of Q that make it quite a bit more powerful. The first is the mathematical relation of identity (=). Up until now we would find it difficult to express a simple sentence like: Marilyn Monroe is Norma Mortenson. Both of these terms are names, not predicates, so we could only have translated this as something like Emn Where E is a predicate meaning equals or identical to. There is nothing really wrong with this, but it doesn t allow us to make any inferences based on well known properties of identity. For example, if we know that Marilyn Monroe is Norma Mortenson, then we also know that Norma Mortenson is Marilyn Monroe. But right now we can t prove that.

Introduction 2 The second extension of Q is the idea of a function. A function is really just a specific kind of relation, but it is a relation with special properties. Basically, a function relates two objects as input to output. Functions are very important in mathematics, but they are also essential to our understanding of English. For example, until now if we wanted to express a statement like: Mary is the mother of Jesus. We could only have done so like this: Mmj This is fine, but it turns out to be very useful to be able to treat the phrase mother of Jesus as indicating a particular person, just as the phrase square of 10 indicates a particular number.

Identity To introduce the concept of identity, we simply introduce two new symbols: = and. Identity is a binary relation. In Q it does not hold between predicates or sentences. Rather it holds between individual constants and variables. but not a = b x y x y Fa = Gb p = q (where p and q stand for sentences) F = G Also note that while this is a formula: a=a We only use it when we have more than one negation associated with identity. For example: a a

Identity vs. Predication In English, the word is can be used in two importantly different ways. To see this, consider the following statements. Tony Stark is clever. Tony Stark is Iron Man. The first use is what we call the is of predication. It simply predicates the property of cleverness to a person named Tony Stark: Ct The second use is what we call the is of identity. It says that Tony Stark and Iron Man are the same guy: t = s

Identity statements 1 With identity we can now say all sorts of exciting things that we could not say before. For example: Tony is the only one who is having fun. This sentence doesn t just say that Tony is having fun. It says that Tony is having fun, and nobody else is. We can express this as follows: Ft & x (Fx x=t). In English, this says: Tony is having fun, and for all x, if x is having fun, then x is identical to Tony.

Identity statements 2 Pages 227-229 show you ways that we can now characterize certain kinds of quantitative statements. For example: There are at least two apples. can be expressed as x y ((Ax & Ay) & x y) Alternatively There are at most two apples can be expressed as x y x( (Ax & Ay & Az ) (x=y v y=z v x = z)) Notice that the author has here adopted the common convention of dropping parentheses for strings of conjunctions or disjunctions.

Identity statements 3 We can also express superlatives like: Big Brown is the fastest horse. This is essentially to say that Big Brown is faster than every horse not identical to Big Brown. Symbolically: x (x b, then Fbx)

Rules for identity We introduce new rules of inference for identity. The truth tree rules and the natural deduction rules are slightly different, but the basic ideas are the same. There are two new rules for each system. One kind of rule allows you to make inferences from the fact that two things are identical. Specifically, if you know something like Fa and you know that a=b, then you can infer Fb. The other kind or rule allows you to exploit the fact that something is always identical to itself: a=a.

Truth tree rules: identity (=) The first truth tree rule allows you to exploit the identity relation. It can be reused, so you only mark it with a * after you have used it. It works like this. Fab or Fab or Faa *a=b *a=b *a=b Fbb Faa Fba Fbb is simply the result of substituting b for a in the first expression sentence Fab, and it is justified by the fact that a=b. You can created Faa by the same process as shown Importantly, you do not actually have to substitute for every occurrence of the constant, as shown by the third example.

Truth tree rules: negated identity ( ) Negated identity allows you to cancel any line that contains a statement of the form a a. Because it is always the case that a=a, this is tantamount to a mathematical contradiction. Example: *a=b b=c a c *a=c a a x

Natural deduction rules: =I The first natural deduction rule for identity is called identity introduction or (=I). It is the analog of the negated identity rule for truth trees. =I simply allows you to introduce any sentence of the form a=a whenever you like. There will be no line number in the justification. Simply write =I.

Natural deduction: =E The second natural deduction rule for identity is the same as the identity truth tree rule. Here we call it =E. So, if you have a proof that looks like this: n. Fab m. a=b then on some later line you can write o. Fbb =I, n,m. However you can only perform this rule on constants. You can t do this: n. x yfxy m. x y x=y o. xfxx =I, n,m.

An example Let s do a translation example and then prove it using both methods. Brian is the only one who doesn t shower. Only someone who doesn t shower stinks. So, if anyone stinks, it s Brian. We will translate this on the assumption that the domain of discourse is people. This means that every object referred to here is a person, so we don t have to keep using the predicate is a person. On this assumption, the argument translates as follows. y( Sy y=b) x(ts Sx) x (Tx x=b)

Truth tree solution y( Sy y=b) x(tx Sx) x (Tx x=b)

Truth tree solution y( Sy y=b) x(tx Sx) x (Tx x=b) (Ta a=b) Ta a b

Truth tree solution * y( Sy y=b) * x(tx Sx) x (Tx x=b) (Ta a=b) Ta a b Sa a=b Ta Sa

Truth tree solution * y( Sy y=b) * x(tx Sx) * x (Tx x=b) (Ta a=b) Ta a b Sa a=b Ta Sa Ta Sa x Sa a=b x x

Truth tree solution * y( Sy y=b) * x(tx Sx) x (Tx x=b) (Ta a=b) Ta a b Sa a=b Ta Sa Ta Sa x

Natural Deduction Solution 1. y ( Sy y=b) A 2. x (Tx Sx) A 3. Show: x (Tx x=b) 4. Show: Ta a=b 5. Ta ACP 6. Ta Sa E,2 7. Sa a=b E,1 8. Sa E, 5,6 9. a=b E, 7,8 Cancel show lines.

Example 2 Here is a proof that requires the use of identity exploitation. Whatever is pooping on the porch is big. Marty is not big. So, Marty is not the one pooping on the porch. Translation: Let P stand for pooping on the porch x(px Bx) Bm Therefore, x(px x m)

Truth tree solution * x(px Bx) Bm x(px x m) (Pa a m) Pa a m *a=m (Pm Bm) Pm Pm x Bm Ba x

Natural deduction solution 1. x(px Bx) A 2. Bm A 3. Show x(px x m) 4. Show Pa a m 5. Pa ACP 6. Show a m 7. a=m AIP 8. Ba =E 2,7 9. Pa Ba E, 1 10. Pa E* 8,9 11. Pa R, 5

Functions It is surprisingly easy to introduce functions into Q, and they actually require no new rules. You probably remember that in mathematics we sometimes represent a function as follows f(x) For example, we might say that f(x) = x 2 This would allow us to write, for example that f(3) = 9 We basically do the same thing in Q, with the provision that variable be bound. So, suppose we let f(x) = father of x Now suppose we know that the father of Sarah is Michael. We can represent this as: f(s) = m

Understanding function symbolism As we noted in the beginning, functions are basically just certain kinds of relations, and function symbolism is just a way of representing a relation that is conducive to certain kinds of inferences. The statement: Michael is the father of Sarah can be represented as Fms or f(s) = m By representing the statement in the latter form we can combine function statements with the rules of identity to produce inferences we could not produce before. If you recall the distinction between identity and predication, you may note that it s not entirely correct to say that the two expressions above mean exactly the same thing. To preserve the distinction, we can say that ms means Michael fathered Sarah, so that the father-offspring relation is being predicated of Michael and Sarah. On the other hand f(s) = m says that the Michael is identical to the father of Sarah

Understanding function symbolism 2 Because function symbols go in the place of constants and variables, they are treated in the same manner. This is why we don t need any new rules for them. For example, if we say something like: Billy s father loves Sarah s mother. We would write this as: Lf(b)m(s) Read as: The father of Billy loves the mother of Sarah. If we knew that Billy s father is Alvin and that Sarah s mother is Denise, then we would write this as f(b) = a m(s) = d We can then use =E to show that. Lad

Understanding function symbolism 3 The other interesting thing about functions is that they can be iterated. Again, you may remember from mathematics that we can say things like this. f(g(x)) Suppose f(x) = x 2 and g(x) = 1/x then f(g(2))= ¼. In logic we can represent functions of functions in the same way. For example, we can represent paternal grandfather as g(x) or as f(f(x)). Hence, we can write g(x) = f(f(x)) Hence, if we know that Alvin is the paternal grandfather of Betty, we ll be able to easily prove that Alvin is the father of the father of Betty.

Function conditions It s important to understand that functions are special kinds of relations. There are two conditions they must meet. The first is called the existence condition. The second is called the uniqueness conditions.

The existence condition The existence condition on functions requires that every input produces an output. The relation father of (understood as biological father) is reasonably construed as a function because every human has a biological father. On the other hand brother of is not a function, because not every person has a brother.

The uniqueness condition The uniqueness condition requires that a function have exactly one output for every input. Again, father of (biological) is reasonably construed as a function because everyone has exactly one father. But even though grandfather of meets the existence condition, it does not meet the uniqueness condition, because everyone has two biological grandfathers.

Perils of ignoring existence and uniqueness We can get into a lot of trouble ignoring these two conditions. It s a lot like ignoring the fact that you can t divide by zero. Division is technically not a function because the fact that you can t divide by zero means it fails the existence condition, at least if division is defined on the set of integers. Here s the proof in case you have forgotten it: 1. a=b A (a and b not equal to 0) 2. Show: 2 = 1 3. a 2 =ab multiplying both sides equally. 4. a 2 b 2 = ab - b 2 subtracting from both sides equally. 5. (a b)(a +b) = b(a b) distributive property of multiplication 6. (a + b) = b dividing both sides by (a-b) 7. (b+b) = b =E, 1,6 8. 2b=b addition 9. 2 = 1 divide both sides equally

Bogus function proofs In the same way, you can do bogus function proofs if you ignore these conditions. For example, if you ignore the uniqueness condition you can prove the folowing: Juan s dog is his pet. Juan s cat is his pet. Therefore, Juan s dog is Juan s cat. This inference would never go through if dog of and cat of and pet of were translated as binary predicates. But if they are allowed to pose as functions, we would translate the argument and prove it as follows: 1. d(j) = p(j) A 2. c(j) = p(j) A 3. Show d(j) = p(j) 4. d(j) = c(j) =E, 1,2