Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.

Similar documents
Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference)

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

(ÀB Ä (A Â C)) (A Ä ÀC) Á B. This is our sample argument. Formal Proofs

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

PROPOSITIONAL CALCULUS

Packet #1: Logic & Proofs. Applied Discrete Mathematics

PHI Propositional Logic Lecture 2. Truth Tables

Section 1.1 Propositions

Section 1.2: Propositional Logic

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Propositional Logic. Spring Propositional Logic Spring / 32

2.2: Logical Equivalence: The Laws of Logic

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

Discrete Structures of Computer Science Propositional Logic III Rules of Inference

Chapter 1, Logic and Proofs (3) 1.6. Rules of Inference

Introduction Logic Inference. Discrete Mathematics Andrei Bulatov

Formal Logic 2. This lecture: Standard Procedure of Inferencing Normal forms Standard Deductive Proofs in Logic using Inference Rules

Proofs. Example of an axiom in this system: Given two distinct points, there is exactly one line that contains them.

DERIVATIONS AND TRUTH TABLES

1.1 Statements and Compound Statements

Proof Tactics, Strategies and Derived Rules. CS 270 Math Foundations of CS Jeremy Johnson

Logical Form 5 Famous Valid Forms. Today s Lecture 1/26/10

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33

Manual of Logical Style

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

CSC Discrete Math I, Spring Propositional Logic

CHAPTER 10: SYMBOLIC TRAILS AND FORMAL PROOFS OF VALIDITY, PART 2

Manual of Logical Style (fresh version 2018)

Readings: Conjecture. Theorem. Rosen Section 1.5

3 The Semantics of the Propositional Calculus

Section 1.2 Propositional Equivalences. A tautology is a proposition which is always true. A contradiction is a proposition which is always false.

The Logic of Compound Statements cont.

3.0. OBJECTIVES 3.1.INTRODUCTION

Review. Propositions, propositional operators, truth tables. Logical Equivalences. Tautologies & contradictions

Review The Conditional Logical symbols Argument forms. Logic 5: Material Implication and Argument Forms Jan. 28, 2014

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Rules Build Arguments Rules Building Arguments

15414/614 Optional Lecture 1: Propositional Logic

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

Propositional Logic: Syntax

THE LOGIC OF COMPOUND STATEMENTS

What is Logic? Introduction to Logic. Simple Statements. Which one is statement?

Analyzing Arguments with Truth Tables

A Quick Lesson on Negation

The proposition p is called the hypothesis or antecedent. The proposition q is called the conclusion or consequence.

For a horseshoe statement, having the matching p (left side) gives you the q (right side) by itself. It does NOT work with matching q s.

A. Propositional Logic

Propositional Logic. Argument Forms. Ioan Despi. University of New England. July 19, 2013

Compound Propositions

Inference in Propositional Logic

Natural Deduction for Propositional Logic

Logic Overview, I. and T T T T F F F T F F F F

i.e. The conclusion to the following argument says If you had an A, then you d have a ~(B v Z).

What is the decimal (base 10) representation of the binary number ? Show your work and place your final answer in the box.

Chapter 1 Elementary Logic

Advanced Topics in LP and FP

In this chapter, we specify a deductive apparatus for PL.

Proof Worksheet 2, Math 187 Fall 2017 (with solutions)

Proving Things. Why prove things? Proof by Substitution, within Logic. Rules of Inference: applying Logic. Using Assumptions.

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

software design & management Gachon University Chulyun Kim

PHIL012. SYMBOLIC LOGIC PROPOSITIONAL LOGIC DERIVATIONS

Language of Propositional Logic

Propositional natural deduction

Computational Intelligence Lecture 13:Fuzzy Logic

Chapter 1: The Logic of Compound Statements. January 7, 2008

Part Two: The Basic Components of the SOFL Specification Language

Logic, Sets, and Proofs

KP/Worksheets: Propositional Logic, Boolean Algebra and Computer Hardware Page 1 of 8

Artificial Intelligence: Knowledge Representation and Reasoning Week 2 Assessment 1 - Answers

10/13/15. Proofs: what and why. Proposi<onal Logic Proofs. 1 st Proof Method: Truth Table. A sequence of logical arguments such that:

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

4 Derivations in the Propositional Calculus

1 The Foundation: Logic and Proofs

CS 512, Spring 2016, Handout 02 Natural Deduction, and Examples of Natural Deduction, in Propositional Logic

Propositional Logic. Chrysippos (3 rd Head of Stoic Academy). Main early logician. AKA Modern Logic AKA Symbolic Logic. AKA Boolean Logic.

Four Basic Logical Connectives & Symbolization

Propositional Logic Arguments (5A) Young W. Lim 10/11/16

Boolean Algebra and Proof. Notes. Proving Propositions. Propositional Equivalences. Notes. Notes. Notes. Notes. March 5, 2012

Math 3336: Discrete Mathematics Practice Problems for Exam I

Discrete Structures & Algorithms. Propositional Logic EECE 320 // UBC

It rains now. (true) The followings are not propositions.

Propositional Logic. Logical Expressions. Logic Minimization. CNF and DNF. Algebraic Laws for Logical Expressions CSC 173

Propositional Logic Arguments (5A) Young W. Lim 11/30/16

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

CSE 20: Discrete Mathematics

02 Propositional Logic

Outline. Rules of Inferences Discrete Mathematics I MATH/COSC 1056E. Example: Existence of Superman. Outline

KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) RULES OF INFERENCE. Discrete Math Team

2. Use quantifiers to express the associative law for multiplication of real numbers.

Proofs. Introduction II. Notes. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

EECS 1028 M: Discrete Mathematics for Engineers

First-Degree Entailment

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION B Sc (MATHEMATICS) I Semester Core Course. FOUNDATIONS OF MATHEMATICS (MODULE I & ii) QUESTION BANK

COMP Intro to Logic for Computer Scientists. Lecture 6

1 The Foundation: Logic and Proofs

Transcription:

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.

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

Modus Tollens (MT): p q ~q ~p

Pure Hypothetical Syllogism (HS): p q q r p r

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

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.

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.

Four Additional Rules of Inference: Constructive Dilemma (CD): (p q) (r s) p v r q v s

Simplification (Simp): p q p

Conjunction (Conj): p q p q

Addition (Add): p p v q

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.

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.

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.

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)

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

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.

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)

Exportation (Exp): [(p q) r] :: [(p (q r)] Tautology (Taut): p :: (p v p) p :: (p p)

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.

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.

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

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.

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.

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

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.