March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Introduction to Theorem Proving
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
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
CS128 – Discrete Mathematics for Computer Science
Logic 3 Tautological Implications and Tautological Equivalences
CSE (c) S. Tanimoto, 2008 Propositional Logic
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Alpha: Symbolization and Inference Bram van Heuveln Minds and Machines Lab RPI.
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
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
Methods of Proof & Proof Strategies
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.
7.4 Rules of Replacement II Trans, Impl, Equiv, Exp, Taut.
DeMorgan’s Rule DM ~(p v q) :: (~p. ~q)“neither…nor…” is the same as “not the one and not the other” ~( p. q) :: (~p v ~q) “not both…” is the same as “either.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Discrete Structures (DS)
Transposition (p > q) : : ( ~ q > ~ p) Negate both statements when switching order of antecedent and consequent If the car starts, there’s gas in the tank.
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
Chapter Five Conditional and Indirect Proofs. 1. Conditional Proofs A conditional proof is a proof in which we assume the truth of one of the premises.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
assumption procedures
CS6133 Software Specification and Verification
What is Reasoning  Logical reasoning is the process of drawing conclusions from premises using rules of inference.  These inference rules are results.
Proof Tactics, Strategies and Derived Rules CS 270 Math Foundations of CS Jeremy Johnson.
Symbolic Logic ⊃ ≡ · v ~ ∴. What is a logical argument? Logic is the science of reasoning, proof, thinking, or inference. Logic allows us to analyze a.
Invitation to Critical Thinking Chapter 7 Lecture Notes Chapter 7.
Today’s Topics Argument forms and rules (review)
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
1 Propositional Proofs 1. Problem 2 Deduction In deduction, the conclusion is true whenever the premises are true.  Premise: p Conclusion: (p ∨ q) 
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Formal logic The part of logic that deals with arguments with forms.
L = # of lines n = # of different simple propositions L = 2 n EXAMPLE: consider the statement, (A ⋅ B) ⊃ C A, B, C are three simple statements 2 3 L =
2. The Logic of Compound Statements Summary
Discrete Mathematics Logic.
August 31, 2005.
Methods of proof Section 1.6 & 1.7 Wednesday, June 20, 2018
Natural Deduction: Using simple valid argument forms –as demonstrated by truth-tables—as rules of inference. A rule of inference is a rule stating that.
{P} ⊦ Q if and only if {P} ╞ Q
Proof Techniques.
Introduction to Symbolic Logic
6.1 Symbols and Translation
Propositional Calculus: Boolean Algebra and Simplification
Information Technology Department
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.
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
Deductive Reasoning: Propositional Logic
CS 270 Math Foundations of CS
Natural Deduction 1 Hurley, Logic 7.4.
CS 220: Discrete Structures and their Applications
Applied Discrete Mathematics Week 1: Logic
Inference Rules: Tautologies
The Method of Deduction
Malini Sen WESTERN LOGIC Presented by Assistant Professor
Computer Security: Art and Science, 2nd Edition
Discrete Mathematics Logic.
Foundations of Discrete Mathematics
Proof Tactics, Strategies and Derived Rules
Philosophy 1100 Class #9 Title: Critical Reasoning
Valid and Invalid Arguments
Natural Deduction Hurley, Logic 7.3.
Mathematical Reasoning
Transposition (p > q) : : ( ~ q > ~ p) Negate both statements
CS201: Data Structures and Discrete Mathematics I
Chapter 8 Natural Deduction
Conjunctive addition states that if we know that each of two statements is true, we can join them with the conjunction connective and the resulting conjunction.
Presentation transcript:

March 23 rd

Four Additional Rules of Inference

 Constructive Dilemma (CD): (p  q) (r  s) p v r q v s

 Constructive Dilemma (CD): (p  q) (r  s) p v r q v s  Involves two modus ponens steps

 Constructive Dilemma (CD): (p  q) (r  s) p v r q v s  Involves two modus ponens steps ◦ If we have p then we have q; if we have r we have s. ◦ Since it is the case that p or r, it follows by modus ponens that we have either q or s.

 Constructive Dilemma (CD): (p  q) (r  s) p v r q v s

 Constructive Dilemma (CD): (p  q) (r  s) p v r q v s

Simplification (Simp) Also known as “Conjunction Elimination” p qp q pq When a conjunction is true, both conjuncts will be true. From a conjunction pq on one line, we may assert p, or alternatively assert q.

Simplification (Simp) Also known as “Conjunction Elimination” p qp q pq When a conjunction is true, both conjuncts will be true. From a conjunction pq on one line, we may assert p, or alternatively assert q. ◦ Yes, this is a divergence from the book – though the book does admit you can easily derive q the same way by flipping the order of the conjuncts.

Simplification (Simp) Example: 1, Simp

Simplification (Simp) Example: 1, Simp

Conjunction (Conj) AKA “Conjunction Introduction” / “AND Intro” p q. p q From two statements on separate lines, we may assert a conjunction on a new line that conjoins the two statements.

Conjunction (Conj) Example: p q p q 1, 2, Conj

Conjunction (Conj) Example: p q p q 1, 2, Conj

Addition (Add) AKA Disjunction Introduction / OR Intro p p v q From any statement, we may assert on a new line the disjunction of that statement and any additional statement.

Addition (Add) Example: 1, Add

Addition (Add) Example: 1, Add

Addition (Add) Example: 1, Add

Misapplication of Simp (AND Elimination) 1, Simp This is invalid. The problem was that to derive S via Simp, we would first need to put (S ∙ T) on a line by itself.

Misapplication of Add (Addition, AKA Disjunction Introduction / OR Intro) 1, Add This is an improper use of Add. J must be added to the whole line – we can’t just add it to the consequent. ◦ Note: The above inference is still valid, but we can’t get it using Add in this manner.

Common strategies involving the additional rules of inference

◦ If the conclusion contains a letter that appears in a conjunctive statement in the premises, consider obtaining that letter via simplification. ◦ If the conclusion is a conjunctive statement, consider obtaining it via conjunction by first obtaining the individual conjuncts.

◦ If the conclusion is a disjunctive statement, consider obtaining it via constructive dilemma or addition. ◦ If the conclusion contains a letter not found in the premises, addition must be used to introduce that letter. ◦ Conjunction can be used to set up constructive dilemma.

NOTE: There are also RULES OF REPLACEMENT, expressed as pairs of logically equivalent statement forms, either of which can replace each other in a proof sequence. ◦ Underlying the use of rules of replacement are Axioms of Replacement, which assert that within the context of a proof, logically equivalent expressions may replace each other. ◦ By Axioms of Replacement, the rules of replacement may be applied to an entire line or to any part of a line.

 A double colon (::) is used to designate logical equivalence. ◦ e.g., p v q :: q v p

DeMorgan’s Rule (DM) ~(p q) :: (~p v ~q) ~(p v q) :: (~p ~q)

Commutativity (Com) (p v q) :: (q v p) (p q) :: (q p)

Associativity (Assoc): [p v (q v r) ] :: [ (p v q) v r) ] [p (q r) ] :: [ (p q) r) ]

Distribution (Dist): [p (q v r) ] :: [ (p q ) v (p r) ] [p v (q r) ] :: [ (p v q ) (p v r) ]

Double Negation (DN): p :: ~ ~p

Transposition (Trans): (p  q) :: (~q  ~p) - You can use this to set up hypothetical syllogisms and constructive dilemmas. Material Implication (Impl): (p  q) :: (~q v p) - Material implication can be used to set up hypothetical syllogisms.

Material Equivalence (Equiv): (p ≡ q) :: [(p  q) (q  p)] (p ≡ q) :: [(p q) v (~q ~p) Exportation (Exp): [(p q)  r] :: [(p  (q  r)] - You can use this to set up modus ponens or modus tollens.

Tautology (Taut): p :: ( p v p ) p :: ( p p )

 Conditional Proof is a method for deriving a conditional statement (either the conclusion or some intermediate line) that offers the usual advantage of being both shorter and simpler than the direct method. For example: 1.A  (B C) 2.( B V D)  E / A  E We want to show that A  E…

To Construct a Conditional Proof: ◦ Begin by assuming the antecedent of the desired conditional statement on one line.

To Construct a Conditional Proof: ◦ Begin by assuming the antecedent of the desired conditional statement on one line. 1. A  (B C) 2. ( B V D)  E / A  E

To Construct a Conditional Proof: ◦ Begin by assuming the antecedent of the desired conditional statement on one line. 1. A  (B C) 2. ( B V D)  E / A  E 3. AACP (“assumption for conditional proof”)

To Construct a Conditional Proof: ◦ Derive the consequent on a subsequent line, showing the justification for each step.

To Construct a Conditional Proof: ◦ Derive the consequent on a subsequent line, showing the justification for each step. 1. A  (B C) 2. ( B V D)  E / A  E 3. AACP (“assumption for conditional proof”) 4. B C1, 3, MP

To Construct a Conditional Proof: ◦ Derive the consequent on a subsequent line, showing the justification for each step. 1. A  (B C) 2. ( B V D)  E / A  E 3. AACP (“assumption for conditional proof”) 4. B C1, 3, MP 5. B4, Simp

To Construct a Conditional Proof: ◦ Derive the consequent on a subsequent line, showing the justification for each step. 1. A  (B C) 2. ( B V D)  E / A  E 3. AACP (“assumption for conditional proof”) 4. B C1, 3, MP 5. B4, Simp 6. B V D5, Add

To Construct a Conditional Proof: ◦ Derive the consequent on a subsequent line, showing the justification for each step. 1. A  (B C) 2. ( B V D)  E / A  E 3. AACP (“assumption for conditional proof”) 4. B C1, 3, MP 5. B4, Simp 6. B V D5, Add 7. E2, 6, MP

To Complete a Conditional Proof: ◦ “Discharge” these lines in the desired conditional statement.  Every conditional proof must be discharged, otherwise any conclusion can be derived from any premises.

To Complete a Conditional Proof: ◦ “Discharge” these lines in the desired conditional statement.  Every conditional proof must be discharged, otherwise any conclusion can be derived from any premises. 1. A  (B C) 2. ( B V D)  E / A  E 3. AACP (“assumption for conditional proof”) 4. B C1, 3, MP 5. B4, Simp 6. B V D5, Add 7. E2, 6, MP 8. A  E 3-7, CP (“conditional proof”)

 Indirect proof is a technique similar to conditional proof that can be used on any argument to derive either the conclusion or some intermediate line leading to the conclusion.

To construct an indirect proof: 1.Begin by assuming the negation of the statement to be obtained. 2.Use this assumption to derive a contradiction. 3.From this contradiction, conclude that the original statement is false. 4.As in conditional proofs, every indirect proof must be discharged, otherwise any conclusion can be derived from any premises.

 Indirect and conditional proofs can be combined to derive either a line in a proof sequence or the conclusion of a proof.