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

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

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

PROPOSITIONAL CALCULUS

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

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Argument. whenever all the assumptions are true, then the conclusion is true. If today is Wednesday, then yesterday is Tuesday. Today is Wednesday.

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

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

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

CSC Discrete Math I, Spring Propositional Logic

2 Truth Tables, Equivalences and the Contrapositive

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

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference

PHIL 50 - Introduction to Logic

Section 1.2: Propositional Logic

CSE 20 DISCRETE MATH. Fall

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

1. Propositions: Contrapositives and Converses

Packet #1: Logic & Proofs. Applied Discrete Mathematics

CSE 20 DISCRETE MATH. Winter

So, we can say that fuzzy proposition is a statement p which acquires a fuzzy truth value T(p) ranges from(0 to1).

Propositional Logic. Spring Propositional Logic Spring / 32

Valid Reasoning. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing February, Outline Truth and Validity Valid Reasoning

Propositional Logic. Fall () Propositional Logic Fall / 30

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

PHI Propositional Logic Lecture 2. Truth Tables

Predicate Logic. Andreas Klappenecker

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

DISCRETE MATH: LECTURE 3

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

CSCE 222 Discrete Structures for Computing. Review for Exam 1. Dr. Hyunyoung Lee !!!

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall

The Logic of Compound Statements cont.

A Quick Lesson on Negation

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.

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

15414/614 Optional Lecture 1: Propositional Logic

STUDY PROBLEMS FOR EXAM I CMSC 203 DISCRETE STRUCTURES. n (n +1)(2n +1), 6. j 2 = 1(1+1)(2 1+1) 6. k (k +1)(2k +1) 6

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

Propositional logic (revision) & semantic entailment. p. 1/34

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

Logic and Set Notation

Natural Deduction for Propositional Logic

Logic for Computer Science - Week 4 Natural Deduction

Advanced Topics in LP and FP

MAT 243 Test 1 SOLUTIONS, FORM A

Midterm: Sample 3. ECS20 (Fall 2017) 1) Using truth tables, establish for each of the two propositions below if it is a tautology, a contradiction

Propositional Logic: Bottom-Up Proofs

Methods of Proof. 1.6 Rules of Inference. Argument and inference 12/8/2015. CSE2023 Discrete Computational Structures

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

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

Compound Propositions

Review for Midterm 1. Andreas Klappenecker

ANALYSIS EXERCISE 1 SOLUTIONS

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

Inference in Propositional Logic

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

The Process of Mathematical Proof

Manual of Logical Style (fresh version 2018)

DISCRETE MATH: FINAL REVIEW

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

Manual of Logical Style

Inference and Proofs (1.6 & 1.7)

Artificial Intelligence. Propositional logic

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

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

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

Mathematical Induction

AMTH140 Lecture 8. Symbolic Logic

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

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

Language of Propositional Logic

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

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

Logic, Sets, and Proofs

Section 1.3: Valid and Invalid Arguments

03 Propositional Logic II

software design & management Gachon University Chulyun Kim

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

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

Propositional Logic: Review

Announcements. Exam 1 Review

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

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

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

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

DISCRETE MATH: LECTURE 6

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

Chapter 4: Classical Propositional Semantics

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

3 Rules of Inferential Logic

Logical Agents. Outline

Logic for Computer Science - Week 5 Natural Deduction

Homework 3: Solutions

Homework 4 Solutions

HANDOUT AND SET THEORY. Ariyadi Wijaya

Logic: Bottom-up & Top-down proof procedures

Transcription:

The Conditional (IMPLIES) Operator The conditional operation is written p q. The proposition p is called the hypothesis or antecedent. The proposition q is called the conclusion or consequence. The Conditional (IMPLIES) Operator Understanding the conditional operation p q is essential for logical reasoning. The conditional operation p q can be read as p implies q or if p, then q. The semantics of the conditional statement p q is: If p is True, then q is True. (True True) = True In particular, when p is True and q is False the conditional statement is False. (True False) = False What does False Imply? The semantics of the conditional statement p q does not say anything about the truth or falsity of q when p is False. (False q) =? Some value must be assigned to False q. The correct assignment is (False q) = True. Let s see why.there are 4 cases to consider. 1

Should False IMPLIES Q be False? 1. What if, when p is False,the conditional operation is False. (False False) = False (False True) = False But then the input-output behavior of the conditional is identical with AND. p q p q? p q 0 0 0 0 0 1 0 0 This is the not semantics we want for the conditional statement. Should False IMPLIES False be True? 2. What if, when p isfalse, the conditional operation is True when q is False, and False when q is True. (False False) = True (False True) = False But then the input-output behavior of the conditional is identical with EQUIV. p q p q? p q 0 0 1 1 0 1 0 0 This is the not semantics we want for the conditional statement. 2

Should False IMPLIES True be True? 3. What if, when p is False, the conditional operation is False when q is False, and True when q is True. (False False) = False (False True) = True But then the input-output behavior of the conditional is identical with IDENTITY(Q). p q p q? q 0 0 0 0 0 1 1 1 This is the not semantics we want for the conditional statement. Should False IMPLIES Anything be True? 4. What if, when p is False, the conditional operation is True (independent of the value of q). (False False) = True (False True) = True This input-output behavior does not conflict with any other operator. p q p q 0 0 1 0 1 1 1 0 0 1 1 1 This does not contradict the semantics we want for the conditional statement. 3

The Conditional (IMPLIES) Operator The four potential ways in which truth values can be assigned to the conditional operation p q when p = False are summarized in the table below. Input Functions P IMPLIES Q Q EQUIV AND p q p q q p q p q 0 0 1 0 1 0 0 1 1 1 0 0 0 0 1 1 13 5 9 1 If p is False, q can have any value, and p q will be True. A Natural Language Example To better understand the conditional operator, consider the conditional statement (1) If Ed scored 90+ on the final, then Ed earned an A. Let p name the proposition Ed scored 90+ on the final. Let q name the proposition Ed earned an A. Statement (1) above can be written as the conditional p q Consider a Natural Language Example 1. If Ed scored 90+ and Ed s grade is A, then statement (1) is True. 2. If Ed scored 90+ and Ed s grade is less than an A, then statement (1) is False. 3. If Ed scored less than 90 and Ed s grade is A, then statement (1) not patently False, so it must be True. 4. If Ed scored less than 90 and Ed s grade is below an A, then statement (1) is not patently False, so it must be True. 4

IMPLIES Written in Terms of NOT and OR The conditional statement can be written using the NOT and OR operators. (p q) ( p q) This can be seen by examining the truth tables for the two expressions. Input Expressions P IMPLIES Q NOT (P OR Q) p q (p q) ( p q) 0 0 1 1 0 1 1 1 13 13 IMPLIES Written as a CONTRAPOSITIVE The conditional statement can be written as a contrapositive. (p q) ( q p) This can be seen by examining the truth tables for the two expressions. Input Operations P IMPLIES Q NOT Q IMPLIES NOT P p q (p q) ( q p) 0 0 1 1 0 1 1 1 13 13 5

Direct Proofs (Modus Ponens) The conditional statement is the basis for direct proofs. If p and p q are both True, then q is True. Input Modus Ponens p q (p (p q)) q 0 0 0 0 1 1 0 0 1 0 0 1 1 1 1 0 1 0 0 1 0 1 1 1 1 st 3 rd 2 nd 5 th 4 th Indirect Proofs (Modus Tollens) The contrapositive of a conditional statement is the basis for indirect proofs. If p and q p are both True, then q is True. Input Modus Tollens p q (p ( q p)) q 0 0 0 0 1 1 0 0 1 0 0 1 1 1 1 0 1 0 0 1 0 1 1 1 1 st 3 rd 2 nd 5 th 4 th 6