Modus Ponens The following valid arguments show us how to apply the modus ponens (Rule of Detachment). a) 1) Lydia wins a ten-million-dollar lottery.

Slides:



Advertisements
Similar presentations
Rules of Inference Rosen 1.5.
Advertisements

Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
PROOF BY CONTRADICTION
Rules of Inferences Section 1.5. Definitions Argument: is a sequence of propositions (premises) that end with a proposition called conclusion. Valid Argument:
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.
Introduction to Theorem Proving
Chapter 2 Fundamentals of Logic Dept of Information management National Central University Yen-Liang Chen.
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
Use a truth table to determine the validity or invalidity of this argument. First, translate into standard form “Martin is not buying a new car, since.
IX Conjunctions of Premises & Conclusions Working with more than two premises.
CSE115/ENGR160 Discrete Mathematics 01/26/12 Ming-Hsuan Yang UC Merced 1.
Chapter 1 The Logic of Compound Statements. Section 1.3 Valid & Invalid Arguments.
CS128 – Discrete Mathematics for Computer Science
Logic 3 Tautological Implications and Tautological Equivalences
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Introduction to Logic Logical Form: general rules
EE1J2 – Discrete Maths Lecture 4 Analysis of arguments Logical consequence Rules of deduction Rules of equivalence Formal proof of arguments See: Anderson,
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
1.5 Rules of Inference.
3.6 Analyzing Arguments with Truth Tables
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
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.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
10/17/2015 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(1) Dr.Saad Alabbad Department of Computer Science
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Discrete Structures (DS)
2.3Logical Implication: Rules of Inference From the notion of a valid argument, we begin a formal study of what we shall mean by an argument and when such.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
What is Reasoning  Logical reasoning is the process of drawing conclusions from premises using rules of inference.  These inference rules are results.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
Today’s Topics Argument forms and rules (review)
The Logic of Conditionals Chapter 8 Language, Proof and Logic.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Chapter 1 Logic and proofs
2. The Logic of Compound Statements Summary
Advanced Algorithms Analysis and Design
CSE15 Discrete Mathematics 01/30/17
Discrete Mathematics Logic.
Methods of proof Section 1.6 & 1.7 Wednesday, June 20, 2018
Proof Techniques.
Rules of Inference Section 1.6.
7.1 Rules of Implication I Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.
CS201: Data Structures and Discrete Mathematics I
Mathematical Reasoning
3.5 Symbolic Arguments.
CS 270 Math Foundations of CS
CS 220: Discrete Structures and their Applications
Applied Discrete Mathematics Week 1: Logic
Inference Rules: Tautologies
The Method of Deduction
Computer Security: Art and Science, 2nd Edition
Discrete Mathematics Logic.
Chapter 7. Propositional and Predicate Logic
Foundations of Discrete Mathematics
COMP 1380 Discrete Structures I Thompson Rivers University
Valid and Invalid Arguments
Mathematical Reasoning
CS201: Data Structures and Discrete Mathematics I
Rules of inference Section 1.5 Monday, December 02, 2019
Presentation transcript:

Modus Ponens The following valid arguments show us how to apply the modus ponens (Rule of Detachment). a) 1) Lydia wins a ten-million-dollar lottery. p 2) If Lydia wins a ten-million-dollar lottery, then Kay will quit her job. p  q 3) Therefore Kay will quit her job. q b) 1) If Allison vacations in Paris, then she will have to win a scholarship. p  q 2) Allison is vacationing in Paris. p 3) Therefore Allison won a scholarship. q

Law of Syllogism (transitivity) Example 2.23 A second rule of inference is given by the logical implication [(p  q)  (q  r)]  (p  r), where p, q, and r are any statements. In tabular form it is written p  q q  r p  r This rule is referred to as transitivity (Law of the Syllogism). For example, we may use it as follows: 1) If the integer 35244 is divisible by 396, then the integer 35244 is divisible by 66. p  q 2) If the integer 35244 is divisible by 66, then the integer 35244 is divisible by 3. q  r 3) Therefore, if the integer 35244 is divisible by 396, then the integer 35244 is divisible by 3. p  r

Transitivity Example 2.24 Consider the following argument. Rita is baking a cake. (p) If Rita is baking a cake, then she is not practicing her flute. If Rita is not practicing her flute, then her father will not buy her a car. Therefore Rita’s father will not buy her a car. Concentrating on the forms of the statements in the preceding argument, we may write the argument as q : she is practicing her flute r: her father will buy her a car p p  q q  r r

Transitivity Establish the validity of the argument as follows: Steps Reasons 1) p  q Premise 2) q  r Premise 3) p  r This follows from steps (1) and (2) and transitivity 4) p Premise 5) r This follows from steps (4) and (3) and the Rule of Modus Ponens

Modus Tollens Example 2.25 Modus Tollens is given by p  q q p This follows from the logical implication [(p  q)  q]  p. Modus Tollens can be translated as “method of denying.” This is appropriate because we deny the conclusion, q, so as to prove p.

Modus Tollens Use of Modus Tollens in making a valid inference: 1) If Connie is elected president of Phi Delta sorority, then Helen will pledge that sorority. p  q 2) Helen did not pledge Phi Delta sorority. q 3) Therefore Connie was not elected president of Phi Delta sorority. p

Use of Modus Tollens & Transitivity p  r , r  s, t  s, t  u, u p Steps Reasons 1) p  r, r  s Premises 2) p  s Step (1) and transitivity 3) t  s Premise 4) s  t Step (3) and the Commutative Law of  5) s  t Step (4) and the fact that s  t ≡ s  t 6) p  t Steps (2) and (5) and the transitivity 7) t  u Premise 8) t  u Step (7) and the fact that t  u ≡ t  u 9) p  u Steps (6) and (8) and transitivity 10)  u Premise 11) p Steps (9) and (10) and Modus Tollens

Rule of conjunction Example 2.26 Arises from the observation that if p, q are true statements, then p  q is a true statement. We call this rule the rule of conjunction and write it in tabular form as p q  p  q

Elimination (Rule of Disjunctive Syllogism) Example 2.27 The following rule of inference is called the Rule of Elimination. This rule comes about from the logical implication [(p v q)   p] → q In tabular form we write p v q  p q

Rule of Elimination The following illustrates one such application of this rule. 1) Bart’s wallet is in his back pocket or it is on his desk. p v q 2) Bart’s wallet is not in his back pocket.  p 3) Therefore Bart’s wallet is on his desk.  q

Rule of Contradiction Example 2.28 Let p denote an arbitrary statement, and F0 a contradiction. The implication (p  F0)  p is a tautology, and this provides us with the Rule of Contradiction. In tabular form this rule is written as p  F0  p

Proof by Contradiction This rule tells us that if p is a statement and p  F0 is true, then p must be false because F0 is false. So then we have p true. The Rule of Contradiction is the basis of a method for establishing the validity of an argument  the method of Proof by Contradiction. The idea behind the method of Proof by Contradiction is to establish a statement (namely, the conclusion of an argument) by showing that, if this statement were false, then we would be able to deduce a contradiction (p ¬p). In general, when we want to establish the validity of the argument (p1  p2  ...  pn) → q, we can establish the validity of the logically equivalent argument (p1  p2  ... pn  ¬q) → F0.

Proof by Contradiction When we apply the method of Proof by Contradiction, we first assume that what we are trying to validate (or prove) is actually false. Then we use this assumption as an additional premise in order to produce a contradiction (or impossible situation) of the form s  s, for some statement s. Once we have derived this contradiction we may then conclude that the statement we were given was in fact true  and this validates the argument (or completes the proof).

Rules of Inference 1 p p → q  q Modus Ponens (Rules of Detachment) 2 q → r  p → r Transitivity (Law of the Syllogism) 3 ¬q  ¬p Modus Tollens 4 q  p ^ q Rule of Conjunction

Rules of Inferences 5 p v q ¬q  q Elimination 6 ¬p → F0  p Rule of Contradiction 7 p ^ q Specialization (Rule of Conjunctive Simplification) 8 p  p v q Generalization (Rule of Disjunctive Amplification)

Rules of Inferences 9 p → r q → r  (p v q) → r Rule for Proof by Cases

Validity of Argument Example 2.29 Our first example demonstrates the validity of the argument p → r p → q q → s ¬r → s Steps Reasons 1) p  r Premise 2) r  p Step (1) and p  r  r  p 3) p  q Premise 4) r  q Steps (2) and (3) and transitivity 5) q  s Premise 6) r  s Steps (4) and (5) and the transitivity

Validity of the argument Example 2.30 Establish the validity of the argument p  q q  (r  s) r  (t  u) p Ù t  u Steps Reasons 1) p  q Premise 2) q  (r  s) Premise 3) p  (r  s) Steps (1) and (2) and transitivity 4) p  t Premise 5) p Step (4) and the specialisation 6) r  s Steps (5) and (3) and the modus ponens 7) r Step (6) and the specialisation 8) r  (t  u) Premise 9) (r  t)  u Step (8), the Associative Law of , and DeMorgan’s Laws 10) t Step (4) and specialisation 11) r  t Steps (7) and (10) and the Rule of Conjunction 12) u Steps (9) and (11) and elimination

Questions ?

Summary What you have learned: Construct wffs Evaluate wffs (truth table) Determine the equivalence of formulas (law of logic) Validity of arguments (inference rules)

Class Activity Example 2.31 If the band could not play rock music or the refreshments were not delivered on time, then the New Year’s party would have been canceled and Alicia would have been angry. If the party were canceled, then refunds would have had to be made. No refunds were made. Therefore the band could play rock music. First we convert the given argument into symbolic form by using the following statement assignments: p: The band could play rock music. q: The refreshments were delivered on time. r: The New Year’s party was canceled. s: Alicia was angry. t: Refunds had to be made. The argument above now becomes (p  q)  (r  s) r  t t p

Activity (cont.) Use the method of Proof by contradiction to establish the validity of the argument: p ↔ q q  r r p