1 Section 1.5 Rules of Inference. 2 Definitions Theorem: a statement that can be shown to be true Proof: demonstration of truth of theorem –consists of.

Slides:



Advertisements
Similar presentations
Rules of Inference Rosen 1.5.
Advertisements

Discrete Mathematics Math 6A
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
With examples from Number Theory
Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
Discrete Math Methods of proof 1.
Introduction to Proofs
Addition 1’s to 20.
Week 1.
Announcements Grading policy No Quiz next week Midterm next week (Th. May 13). The correct answer to the quiz.
Rules of Inferences Section 1.5. Definitions Argument: is a sequence of propositions (premises) that end with a proposition called conclusion. Valid Argument:
The Foundations: Logic and Proofs
February 26, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1 Addition of Integers Example: Add a = (1110) 2 and b = (1011) 2. a 0 + b.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya
Chapter 3. Mathematical Reasoning 3.1 Methods of proof A theorem is a statement that can be shown to be true. A proof is to demonstrate that a theorem.
CSE115/ENGR160 Discrete Mathematics 01/26/12 Ming-Hsuan Yang UC Merced 1.
Valid Arguments An argument is a sequence of propositions. All but the final proposition are called premises. The last statement is the conclusion. The.
CS128 – Discrete Mathematics for Computer Science
Logic 3 Tautological Implications and Tautological Equivalences
Copyright © Peter Cappello Logical Inferences Goals for propositional logic 1.Introduce notion of a valid argument & rules of inference. 2.Use inference.
Discrete Mathematics and its Applications
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
February 25, 2002Applied Discrete Mathematics Week 5: Mathematical Reasoning 1 Addition of Integers How do we (humans) add two integers? Example: 7583.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 03: PROOFS Section 1.5 Jarek Rossignac CS1050: Understanding.
Deduction, Proofs, and Inference Rules. Let’s Review What we Know Take a look at your handout and see if you have any questions You should know how to.
CS 103 Discrete Structures Lecture 07b
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
Proofs1 Elementary Discrete Mathematics Jim Skon.
Discrete Mathematics CS 2610 August 24, Agenda Last class Introduction to predicates and quantifiers This class Nested quantifiers Proofs.
Section 1.5. Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Proofs1 Advanced Discrete Mathematics Jim Skon. Proofs2  Definition: A theorem is a valid logical assertion which can be proved using other theorems.
Discrete Structures (DS)
Chap 3 –A theorem is a statement that can be shown to be true –A proof is a sequence of statements to show that a theorem is true –Axioms: statements which.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
資訊科學數學 7 : Proof, Number and Orders 陳光琦助理教授 (Kuang-Chi Chen)
Rules of Inference Section 1.6. Arguments in Propositional Logic A argument in propositional logic is a sequence of propositions. All but the final proposition.
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Rules of inference.
CSci 2011 Discrete Mathematics Lecture 4 CSci 2011.
Lecture 1.3: Predicate Logic, and Rules of Inference* CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Proof Techniques Chuck Cusack
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
Chapter 1 Logic and proofs
Copyright © Peter Cappello
Applied Discrete Mathematics Week 5: Mathematical Reasoning
CSE15 Discrete Mathematics 01/30/17
Methods of proof Section 1.6 & 1.7 Wednesday, June 20, 2018
Proof Techniques.
Rules of Inference Section 1.6.
Module #10: Proof Strategies
Logical Inferences: A set of premises accompanied by a suggested conclusion regardless of whether or not the conclusion is a logical consequence of the.
CS201: Data Structures and Discrete Mathematics I
Mathematical Reasoning
Methods of Proof. Methods of Proof Definitions A theorem is a valid logical assertion which can be proved using Axioms: statements which are given.
Week #6 – 30 September / 2/4 October 2002 Prof. Marie desJardins
CS 220: Discrete Structures and their Applications
Applied Discrete Mathematics Week 1: Logic
Inference Rules: Tautologies
Module #10: Proof Strategies
September 9, 2004 Prof. Marie desJardins (for Prof. Matt Gaston)
Foundations of Discrete Mathematics
Mathematical Reasoning
CS201: Data Structures and Discrete Mathematics I
The Foundations: Logic and Proofs
Rules of inference Section 1.5 Monday, December 02, 2019
Presentation transcript:

1 Section 1.5 Rules of Inference

2 Definitions Theorem: a statement that can be shown to be true Proof: demonstration of truth of theorem –consists of series of arguments called axioms or postulates –these are statements of underlying assumptions about mathematical structures, hypotheses of theorem to be proved, and previously proved theorems

3 More Definitions Lemma: simple theorem used in proof of other theorems Corollary: proposition that can be established directly from a proved theorem Conjecture: statement whose truth value is unknown

4 Rules of Inference Means to draw conclusions from other assertions Rules of inference provide justification of steps used to show that a conclusion follows from a set of hypotheses The next several slides illustrate specific rules of inference

5 Addition A true hypothesis implies that the disjunction of that hypothesis and another are true p  p  q or p  (p  q)

6 Simplification If the conjunction of 2 propositions is true, then each proposition is true p  q  p or (p  q)  p

7 Conjunction If p is true and q is true, then p  q is true p q  p  q or ((p)  (q))  p  q

8 Modus Ponens If a hypothesis and implication are both true, then the conclusion is true p p  q  q or (p  (p  q))  q

9 Modus Tollens If a conclusion is false and its implication is true, then the hypothesis must be false  q p  q  p or [  q  (p  q)]   p

10 Hypothetical Syllogism If an implication is true, and the implication formed using its conclusion as the hypothesis is also true, then the implication formed using the original hypothesis and the new conclusion is also true p  q q  r  p  r or [(p  q)  (q  r)]  (p  r)

11 Disjunctive Syllogism If a proposition is false, and the disjunction of it and another proposition is true, the second proposition is true p  q  p  q or, [(p  q)   p]  q

12 Using rules of inference We can use the rules of inference to form the basis for arguments A valid argument is an implication in which, when all hypotheses are true, the conclusion is true: (p 1  p 2  …  p n )  q When several premises are involved, several rules of inference my be needed to show that an argument is valid

13 Example Let p = “It is Monday” and p  q = “If it is Monday, I have Discrete Math today” Since these statements are both true, then by Modus Ponens: (p  (p  q))  q we can conclude “I have Discrete Math today” (q)

14 Another Example Let  q = “I don’t have Discrete Math today” and p  q = “If it is Monday, I have Discrete Math today” If both of the above are true, then by Modus Tollens: [  q  (p  q)]   p we can conclude “It is not Monday” (  p)

15 Yet Another Example Let p  q = “If I am taking this class, I passed the test” and q  r = “If I passed the test, I’m a happy camper” If both of the above are true, then by hypothetical syllogism: [(p  q)  (q  r)]  (p  r) we can conclude “If I am taking this class, I’m a happy camper” (p  r)

16 A More Complicated Example Randy works hard If Randy works hard, then he is a dull boy If Randy is a dull boy, then he will not get the job Construct an argument using rules for inference to show that the hypotheses: Imply the conclusion: Randy will not get the job

17 Example Continued Let p = Randy works hard, q = He is a dull boy, r = He will get the job So we want to prove: (p  (p  q)  (q   r))   r 1.Applying modus ponens to the first part: p p  q  q 2. We now have: (q  (q   r))   r 3. Applying modus ponens again, substituting q for p and  r for q: q q   r  r 4. We have a valid argument!

18 Fallacies A fallacy is an argument based on contingencies rather than tautologies; some examples: –Fallacy of affirming the conclusion: [(p  q)  q]  p This is not a tautology because it’s false when p is false and q is true –Fallacy of denying the hypothesis: [(p  q)  p]   q Like the previous fallacy, this is not a tautology because it is false when p is false and q is true

19 Rules of Inference for Quantified Statements Universal instantiation:  xP(x)  P(c) if c  U Universal generalization: P(c) for arbitrary c  U   xP(x) Note: c must be arbitrary

20 Rules of Inference for Quantified Statements Existential instantiation:  xP(x)  P(c) for some c  U Note that value of c is not known; we only know it exists Existential generalization: P(c) for some c  U   xP(x)

21 Example Let P(x) = “A man is mortal”; then  xP(x) = “All men are mortal” Assuming p = “Socrates is a man” is true, show that q = “Socrates is mortal” is implied This is an example of universal instantiation: P(Socrates) = “Socrates is mortal”; Since  xP(x)  P(c) Also, by modus ponens: (p  (p  q))  q

22 Section 1.5 Rules of Inference - ends -