Section 2.4: Arguments with Quantified Statements

Similar documents
THE LOGIC OF QUANTIFIED STATEMENTS

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

Section 2.2: Introduction to the Logic of Quantified Statements

CPSC 121: Models of Computation. Module 6: Rewriting predicate logic statements

Summary of Course Coverage

CSI30. Chapter 1. The Foundations: Logic and Proofs Rules of inference with quantifiers Logic and bit operations Specification consistency

Practice Problems: All Computer Science majors are people. Some computer science majors are logical thinkers. Some people are logical thinkers.

First Order Predicate Logic CIS 32

IN A NUTSHELL : WHAT IS A VENN DIAGRAM?

Goals: Define the syntax of a simple imperative language Define a semantics using natural deduction 1

CSC Discrete Math I, Spring Sets

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Midterm 1

Thomas Jefferson High School for Science and Technology Program of Studies TJ Math 1

CSE 311: Foundations of Computing. Lecture 8: Predicate Logic Proofs

STABILITY AND PARADOX IN ALGORITHMIC LOGIC

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS

Computation Club: Gödel s theorem

Deduction Rule System vs Production Rule System. Prof. Bob Berwick. Rules Rule

AXIOMS FOR THE INTEGERS

THE PREDICATE CALCULUS

Homework 1 CS 1050 A Due:

(Refer Slide Time 6:48)

First-Order Logic PREDICATE LOGIC. Syntax. Terms

THE FOUNDATIONS OF MATHEMATICS

CPSC 121 Midterm 1 Friday October 14th, Signature: Section (circle one): 11:00 15:30 17:00

Example: NFA to DFA Conversion

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 9 Normal Forms

for all x, the assertion P(x) is false. there exists x, for which the assertion P(x) is true.

Chapter 3. Set Theory. 3.1 What is a Set?

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1

Honors Geometry KEY Review Exercises for the December Exam

Resolution (14A) Young W. Lim 6/14/14

Divisibility Rules and Their Explanations

What is the study of logic?

Lecture 3: Recursion; Structural Induction

CITS2211 Discrete Structures Logic

Hoare Logic. COMP2600 Formal Methods for Software Engineering. Rajeev Goré

To illustrate what is intended the following are three write ups by students. Diagonalization

Honors Geometry KEY Review Exercises for the January Exam

6.001 Notes: Section 4.1

CS103 Spring 2018 Mathematical Vocabulary

Discrete Mathematics and Probability Theory Fall 2015 Rao Midterm 1

Introduction to Axiomatic Semantics

Proofwriting Checklist

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010

Solutions to Selected Exercises

(a) (4 pts) Prove that if a and b are rational, then ab is rational. Since a and b are rational they can be written as the ratio of integers a 1

1 / 43. Today. Finish Euclid. Bijection/CRT/Isomorphism. Fermat s Little Theorem. Review for Midterm.

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

DISCRETE MATHEMATICS

(Refer Slide Time 3:31)

Selection the If Statement Try Catch and Validation

CPSC 121 Midterm 2 Friday November 13th, 2015

Today s Topics. What is a set?

CSE 20 DISCRETE MATH. Fall

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name

LECTURE 11: ARGUMENTATION. An Introduction to Multiagent Systems CISC 7412, Fall 2011

University of Illinois at Chicago Department of Computer Science. Final Examination. CS 151 Mathematical Foundations of Computer Science Fall 2012

An Evolution of Mathematical Tools

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 14

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

This is already grossly inconvenient in present formalisms. Why do we want to make this convenient? GENERAL GOALS

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido

Introduction to Sets and Logic (MATH 1190)

Automated Reasoning PROLOG and Automated Reasoning 13.4 Further Issues in Automated Reasoning 13.5 Epilogue and References 13.

The Size of the Cantor Set

Math 3 Coordinate Geometry Part 2 Graphing Solutions

Topology Homework 3. Section Section 3.3. Samuel Otten

Warm-up and Memoization

Interpretations and Models. Chapter Axiomatic Systems and Incidence Geometry

Today. Finish Euclid. Bijection/CRT/Isomorphism. Review for Midterm.

Math 2300, Section #1; 14:00-15:15 MW P-101; Daily Notes Fall, 2015

6.034 Notes: Section 10.1

4. Write sets of directions for how to check for direct variation. How to check for direct variation by analyzing the graph :

Math 5320, 3/28/18 Worksheet 26: Ruler and compass constructions. 1. Use your ruler and compass to construct a line perpendicular to the line below:

The Addition Formulas in Trigonometry. Scott Fallstrom Faculty Director, Math Learning Center

Section 1.1 Definitions and Properties

Polar Coordinates. 2, π and ( )

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

Basic Foundations of Isabelle/HOL

Excerpt from "Art of Problem Solving Volume 1: the Basics" 2014 AoPS Inc.

(Refer Slide Time: 02.06)

Lecture Notes 15 Number systems and logic CSS Data Structures and Object-Oriented Programming Professor Clark F. Olson

CSC 501 Semantics of Programming Languages

CS Bootcamp Boolean Logic Autumn 2015 A B A B T T T T F F F T F F F F T T T T F T F T T F F F

Notes on Predicate Calculus

Induction and Semantics in Dafny

Foundations of Computation

More Non-logical Features of Prolog

CSE 20 DISCRETE MATH. Winter

Geometry Note-Sheet Overview

Connecting Statements. Today. First there was logic jumping forward.. ..and then proofs and then induction...

Today s Lecture 4/13/ WFFs/ Free and Bound Variables 9.3 Proofs for Pred. Logic (4 new implicational rules)!

Quantification. Using the suggested notation, symbolize the statements expressed by the following sentences.

A Brief Introduction to Truth-Table Logic. Kent Slinker Pima Community College

AIMMS Function Reference - Error Handling Related Identifiers

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Axiomatic Specification. Al-Said, Apcar, Jerejian

1.2 Real Numbers. Objectives In this section, you will learn to:

Transcription:

Section 2.4: Arguments with Quantified Statements In this section, we shall generalize the ideas we developed in Section 1.3 to arguments which involve quantified statements. Most of the concepts we shall consider are direct generalizations of ideas from this section, so a thorough understanding of that section will really help out in this section. 1. Universal Instantiation The rule of instantiation is the fundamental of deductive reasoning and it reads as follows: Result 1.1. If some property is true of everything in a given domain, then it is true of any particular thing from that domain. In formal language, this says x D, P(x) a D P(a) Most of the arguments we shall build up in deductive reasoning will hinge upon this rule. The following are classic examples of applications of the rule of instantiation. Example 1.2. All of the following are examples of the rule of instantiation: (i) All men are mortal Socrates is a man Therefore, Socrates is mortal (ii) All integers are rational numbers 2 is an integer Therefore, 2 is a rational number We shall now consider how the arguments we developed can be modified to quantified statements through the use of the rule of instantiation. For each argument, we shall state both the formal and the informal versions. 1

2 2. Universal Modus Ponens and Modus Tollens The first arguments we shall generalize are modus ponens and modus tollens. Result 2.1. (Universal Modus Ponens) P(a) a makes P(x) true Q(a) Therefore, a makes Q(x) true Result 2.2. (Universal Modus Tollens) Q(a) a makes P(x) false P(a) Therefore, a makes P(x) false We consider a couple of examples of how to recognize and use modus ponens and modus tollens. Example 2.3. Rewrite the following argument in formal logic and determine if it is valid. All people who work hard in this class will get a good grade in this class I worked hard in this class Therefore, I will get a good grade in this class. Let P(x) := x worked hard in this class, let Q(x) := x will get a good grade in this class and let D be the set of all people in this class. Then this argument translates to: x, P(x) Q(x) P(me) Q(me) This argument is universal modus ponens and is therefore a valid argument. Example 2.4. Determine the conclusion which can be inferred from the following argument: If n is an even integer, then n 2 is an even integer 3 2 = 9 is not an even integer This has the argument form of modus tollens. Specifically, let P(x) := x is an even integer, Q(x) := x 2 is an even integer. Then the in formal logic, the statements above become:

3 x, P(x) Q(x) Q(3) Using modus tollens, the conclusion of this argument is P(3), or 3 is not an even integer. We shall now use formal logic to prove a mathematical fact. We shall include most details to illustrate the power of the arguments we have discussed. Example 2.5. Use logic to prove that n Z, n is even n 2 is even. To prove this conditional statement, we need to show that any n which satisfies n is even also satisfies n 2 is even. (i) Assume n is an even integer. The definition of an even integer is: x Z, x is even y Z, x = 2y. Since n is an even integer,, n = 2m for some integer m (modus tollens). Note that the definition of something is a biconditional statement! (ii) From the rules of arithmetic, we know x R, y R, a R +, (xy) a = x a y a m, 2, and 2 are all particular real numbers, so (2m) 2 = 2 2 m 2 using universal instantiation. (iii) From the rules of arithmetic, we know x R, x 2 = x x 2 is a particular real number, so 2 2 = 2 2 using universal instantiation. (iv) We conclude that n 2 = 2 (2m 2 ). However, we know that x Z, x is even y Z, x = 2y. Since this is a biconditional. it can be read in both directions. In particular, since y = 2m 2 is an integer and n = 2 y, it follows that n 2 is an even integer. Note that there we actually excluded a number of steps in this argument (because they were similar to the ones we already stated coming from the elementary rules of arithmetic). In order to make a completely formal argument, we should really have justified every single step, but the idea of this example was to give a general gist of how the arguments we have considered can be used in mathematical proof. 3. Testing the Validity of an Argument We take the definition of an argument the same as our original definition - it is a list of statements, all except the last we call premises, and

4 the last we call the conclusion. Likewise, we give a similar definition for the validity of an argument. Specifically, we define validity as follows: Definition 3.1. To say that an argument form is valid means the following: No matter what predicates are substituted for the predicate symbols in the premises, if the resulting premise statements are true, then the conclusion is also true. Alternatively, an argument is valid if and only if whenever all of the premises are true, the conclusion is true In general, showing that an argument is valid is a fairly difficult thing to do (as we have seen in previous sections). In arguments with quantifiers, one technique you can use to try to determine whether an argument is invalid is through the use of diagrams which shows how the objects in the argument are related. For the statement x, x D Q(x) means that if x is in D, then Q(x) must be true. Specifically, this means that the set of all things in D will be a subset of all the things for which Q(x) is true. To represent this, we draw two circles, one inside the other. In the inner circle, we write D and on the outer circle, we write Q as illustrated below. D Q This then tells us that everything in D must be in Q since the circle of all things in D is contained in Q. Notice however, that it does not tell us whether something in Q is in D (indeed it would be wrong to assume so). In a similar theme, if we have an expression such as x, x D Q(x), we would draw two circles representing the domain of D and all the things for which Q is true, and in this case, the two circles would be drawn apart from each other. Q D Finally, if a given relation between two properties is not given, or we know that some of one domain share properties with some of another domain, then we may need to draw circles which intersect. To determine the validity of an argument, we draw all possible diagrams which satisfy the truth values of the premisses, and then consider whether any

of these diagrams violate the conclusion. We illustrate with a couple of examples. 5 Example 3.2. Use diagrams to determine if the following arguments are valid or invalid. (i) All people are mice All mice are mortal Therefore, all peopl are mortal. Since all people are mice, we draw a circle representing people inside a circle representing mice. Next, since all mice are mortal, we draw a third circle representing mortals around the circle containing mice. Note that the only possible diagram is the following: People Mice Mortal (ii) Since the circle containing people is in the circle containing mortals, it follows that all people are mortals, and thus the argument is valid. Every person who uses math in their jobs makes mathematical errors No historian uses math Therefore, no historians make mathematical errors Since every person who uses math in their jobs makes mathematical mistakes, we draw a circle representing people who use math in their job inside the circle of people who make mathematical mistakes. Since a historian does not use math, the circle representing all historians does not intersect the circle of people who use math. However, nothing is said about the intersection of the people who make mathematical mistakes, so there are three possible diagrams: Makes Math Mistakes Historians Makes Math Mistakes Makes Math Mistakes Historians Uses Math Uses Math Uses Math Historian In the first case, the conclusion is true. However, in the second and third diagrams, the conclusion is not necessarily true.

6 Thus this argument is not valid since the truth of the conclusion does not follow from the truth of the premises. Warning. When using diagrams to check for validity, make sure you consider all possible diagrams, else your proof may not be valid. 4. Inverse and Converse Errors For the last example we considered, we saw an invalid argument. As we mentioned in Section 1.3, there are many different types of invalid arguments (far too numerous to mention). However, there are a couple of invalid arguments which are often considered valid by mistake - these are the quantified forms of the converse and inverse errors. We summarize. Result 4.1. (Converse Error) Q(a) a makes Q(x) true P(a) Therefore, a makes P(x) true Result 4.2. (Inverse Error) P(a) a makes Q(x) false Q(a) Therefore, a makes Q(x) false Invalid arguments like the above are often used in advertising, politics, law etc. to endorse products or justify examples. We illustrate with some examples. Example 4.3. Determine the validity of the following arguments. (i) (ii) (iii) All the people who are in this class are good at math Fred is good at math Therefore, Fred is in his class This is a case of the converse error - just because Fred is good at math does not mean he is in the class (it is the other way around). Anyone who thinks raising taxes helps the economy doesn t understand economics I understand economics Therefore, I don t think that raising taxes will help the economy This is a valid argument (modus tollens). Anyone who was not present in the room could not have committed the crime The defendant was present in the room Therefore, you must have committed the crime

This is a case of the inverse error - just because the defendant was present does not mean the defendant committed the crime. 5. Creating Additional Forms of Argument Just as we generalized modus ponens and modus tollens to quantified statements, we can also do it with many of the other argument forms we introduced in Section 1.3 (see the text for examples). Homework (i) From the book, pages 122-124: Questions: 2, 3, 5, 11, 13, 14, 18, 19, 22, 26, 31, 33 7