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.

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
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.
Discrete Mathematics and its Applications
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.
Mathematical Structures for Computer Science Chapter 1.2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Discrete Structures (DS)
Chapter Four Proofs. 1. Argument Forms An argument form is a group of sentence forms such that all of its substitution instances are arguments.
Natural Deduction Proving Validity. The Basics of Deduction  Argument forms are instances of deduction (true premises guarantee the truth of the conclusion).
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
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.
Symbolic Logic ⊃ ≡ · v ~ ∴. What is a logical argument? Logic is the science of reasoning, proof, thinking, or inference. Logic allows us to analyze a.
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) 
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
Chapter 1 Logic and proofs
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 =
Lecture 1-2: Propositional Logic. Propositional Logic Deriving a logical conclusion by combining many propositions and using formal logic: hence, determining.
March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.
Making Inferences with Propositions (Rules of Inference)
2. The Logic of Compound Statements Summary
Advanced Algorithms Analysis and Design
Discrete Mathematics Logic.
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.
Demonstrating the validity of an argument using syllogisms.
Proof Techniques.
Introduction to Symbolic Logic
6.1 Symbols and Translation
Chapter 8 Logic Topics
Information Technology Department
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
Logic Use mathematical deduction to derive new knowledge.
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
Natural Deduction Hurley, Logic 7.1.
1. (H . S) > [ H > (C > W)]
Computer Security: Art and Science, 2nd Edition
Discrete Mathematics Logic.
CSNB234 ARTIFICIAL INTELLIGENCE
Foundations of Discrete Mathematics
Proof Tactics, Strategies and Derived Rules
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
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
Presentation transcript:

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. The method consists of using sets of Rules of Inference (valid argument forms) to derive either a conclusion or a series of intermediate conclusions that link the premises of an argument with the stated conclusion.

7.1 Continued The First Four Rules of Inference: Modus Ponens (MP): p  q p q

7.1 Continued Modus Tollens (MT): p  q ~q ~p

7.1 Continued Pure Hypothetical Syllogism (HS): p  q q  r p  r

7.1 Continued Disjunctive Syllogism (DS): p v q ~p q

7.1 Continued Common strategies for constructing a proof involving the first four rules: Always begin by attempting to find the conclusion in the premises. If the conclusion is not present in its entirely in the premises, look at the main operator of the conclusion. This will provide a clue as to how the conclusion should be derived. If the conclusion contains a letter that appears in the consequent of a conditional statement in the premises, consider obtaining that letter via modus ponens.

7.1 Continued If the conclusion contains a negated letter and that letter appears in the antecedent of a conditional statement in the premises, consider obtaining the negated letter via modus tollens. If the conclusion is a conditional statement, consider obtaining it via pure hypothetical syllogism. If the conclusion contains a letter that appears in a disjunctive statement in the premises, consider obtaining that letter via disjunctive syllogism.

7.2 Rules of Implication II Four Additional Rules of Inference: Constructive Dilemma (CD): (p  q) • (r  s) p v r q v s

7.2 Continued Simplification (Simp): p • q p

7.2 Continued Conjunction (Conj): p q p • q

7.2 Continued Addition (Add): p p v q

7.2 Continued Common Misapplications 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.

7.2 Continued 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.

7.3 Rules of Replacement I The ten rules of replacement are expressed in terms of pairs of logically equivalent statement forms, either of which can replace each other in a proof sequence. A double colon (::) is used to designate logical equivalence. Underlying the use of rules of replacement are Axioms of Replacement, which asserts 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.

7.3 Continued The First Five Rules of Replacement: 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)

7.3 Continued Associativity (Assoc): Distribution (Dist): [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

7.3 Continued Common strategies involving the first five rules of replacement: Conjunction can be used to set up DeMorgan’s rule. Constructive dilemma can be used to set up DeMorgan’s rule. Addition can be used to set up DeMorgan’s rule. Distribution can be used in two ways to set up disjunctive syllogism. Distribution can be used in two ways to set up simplification. If inspection of the premises does not reveal how the conclusion should be derived, consider using the rules of replacement to deconstruct the conclusion.

7.4 Rules of Replacement II The Remaining Five Rules of Replacement: Transposition (Trans): (p  q) :: (~q  ~p) Material Implication (Impl): (p  q) :: (~q  p) Material Equivalence (Equiv): (p ≡ q) :: [(p  q) • (q  p)] (p ≡ q) :: [(p • q) v (~q • ~p)

7.4 Continued Exportation (Exp): Tautology (Taut): [(p • q)  r] :: [(p  (q  r)] Tautology (Taut): p :: (p v p) p :: (p • p)

7.4 Continued Common strategies involving the remaining five rules of replacement: Material implication can be used to set up hypothetical syllogism. Exportation can be used to set up modus ponens. Exportation can be used to set up modus tollens. Addition can be used to set up material implication. Transposition can be used to set up hypothetical syllogism. Transposition can be used to set up constructive dilemma.

7.4 Continued Constructive dilemma can be used to set up tautology. Material implication can be used to set up tautology. Material implication can be used to set up distribution.

7.5 Conditional Proof 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: a  (b • c) ( b v d)  e / a  e

7.5 Continued To Construct a Conditional Proof: Begin by assuming the antecedent of the desired conditional statement on one line. Derive the consequent on the subsequent line. “Discharge” these lines in the desired conditional statement. Every conditional proof must be discharged, otherwise any conclusion can be derived from any premises.

7.6 Indirect 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: Begin by assuming the negation of the statement to be obtained. Use this assumption to derive a contradiction. Conclude that the original statement is false. As in conditional proofs, every indirect proof must be discharged, otherwise any conclusion can be derived from any premises.

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

7.7 Proving Logical Truths Both conditional and indirect proof can be used to establish the truth of a logical truth, or tautology. You can treat tautologies as if they were the conclusions of arguments having no premises. This is suggested by the fact that any argument having a tautology for its conclusion is valid regardless of its premises.