1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya

Slides:



Advertisements
Similar presentations
Rules of Inference Rosen 1.5.
Advertisements

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.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Logic Use mathematical deduction to derive new knowledge.
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.
John Rosson Thursday February 15, 2007 Survey of Mathematical Ideas Math 100 Chapter 3, Logic.
1 Valid and Invalid Arguments CS 202 Epp Section 1.3 Aaron Bloomfield.
Valid Arguments An argument is a sequence of propositions. All but the final proposition are called premises. The last statement is the conclusion. The.
CS128 – Discrete Mathematics for Computer Science
Chapter 1 The Logic of Compound Statements. Section 1.2 – 1.3 (Modus Tollens) Conditional and Valid & Invalid Arguments.
Logic 3 Tautological Implications and Tautological Equivalences
Logic and Proof. Argument An argument is a sequence of statements. All statements but the first one are called assumptions or hypothesis. The final statement.
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.
Propositional Logic Lecture 1: Sep 2. Content 1.Mathematical proof (what and why) 2.Logic, basic operators 3.Using simple operators to construct any operator.
Propositional Logic Lecture 2: Sep 9. Conditional Statement If p then q p is called the hypothesis; q is called the conclusion “If your GPA is 4.0, then.
EE1J2 – Discrete Maths Lecture 4 Analysis of arguments Logical consequence Rules of deduction Rules of equivalence Formal proof of arguments See: Anderson,
Discrete Mathematics and its Applications
Validity: Long and short truth tables Sign In! Week 10! Homework Due Review: MP,MT,CA Validity: Long truth tables Short truth table method Evaluations!
Propositional Logic.
1 Introduction to Abstract Mathematics The Logic of Compound Statements 2.1 and 2.2 Instructor: Hayk Melikya
Copyright © Curt Hill Rules of Inference What is a valid argument?
MATERI II PROPOSISI. 2 Tautology and Contradiction Definition A tautology is a statement form that is always true. A statement whose form is a tautology.
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.
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)
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
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.
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.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
CS6133 Software Specification and Verification
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
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?
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Rules of inference.
CSci 2011 Discrete Mathematics Lecture 4 CSci 2011.
Symbolic Logic ⊃ ≡ · v ~ ∴. What is a logical argument? Logic is the science of reasoning, proof, thinking, or inference. Logic allows us to analyze a.
Methods of Proof – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Methods of Proof Reading: Kolman, Section 2.3.
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Today’s Topics Argument forms and rules (review)
Lecture 10 Methods of Proof CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
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
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 =
March 23 rd. Four Additional Rules of Inference  Constructive Dilemma (CD): (p  q) (r  s) p v r q v s.
2. The Logic of Compound Statements Summary
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.
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.
CS201: Data Structures and Discrete Mathematics I
CS 270 Math Foundations of CS
Natural Deduction 1 Hurley, Logic 7.4.
Propositional Logic.
The Method of Deduction
Malini Sen WESTERN LOGIC Presented by Assistant Professor
Foundations of Discrete Mathematics
CS201: Data Structures and Discrete Mathematics I
Chapter 8 Natural Deduction
Presentation transcript:

1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya

2 Introduction to Abstract Mathematics Argument An argument is a sequence of propositions (statements ), and propositional forms. All statements but the final one are called assumptions or hypothesis. The final statement is called the conclusion. An argument is valid if: whenever all the assumptions are true, then the conclusion is true. The conclusion is said to be inferred, entails or deduced from the truth of the premises If today is Wednesday, then yesterday is Tuesday. Today is Wednesday. Yesterday is Tuesday.

3 Introduction to Abstract Mathematics Entailment v A collection of statements P 1,…,P n (premises) entails statement Q (conclusion) if and only if: –Whenever all premises hold the conclusion holds –For every interpretation I that makes all P j hold (true), I also makes Q hold (true) v Notations for valid arguments: P 1,…,P n Q or P 1,…,P n ├ Q v Example Premises: P 1 = “If Socrates is human then Socrates is mortal” P 2 = “Socrates is human” Conclusion: Q = “Socrates is mortal”

4 Introduction to Abstract Mathematics Valid Argument Forms To sat that an argument form is valid if no matter what particular propositions are substituted for the propositional variables in its promises if the resulting promises are true then the conclusion is also true pqp → qq TTTT TFFF FTTT F FTF p and p  q then q Modus Ponens Modus ponens is Latin meaning “method of affirming”. If you are a fish, then you drink water. You drink water. You are a fish.

5 Introduction to Abstract Mathematics Modus Tollens P  Q, ~ Q ├ ~ P If p then q. ~q ~p pqp → q~q~p Modus tollens is Latin meaning "method of denying”. If you are a fish, then you drink water. You are not a fish. You do not drink water.

6 Introduction to Abstract Mathematics Equivalence A student is trying to prove that propositions P, Q, and R are all true. She proceeds as follows. First, she proves three facts: P implies Q Q implies R R implies P. Then she concludes, ``Thus P, Q, and R are all true.'' Proposed argument: Is it valid?

7 Introduction to Abstract Mathematics Valid Argument? Conclusion true whenever all assumptions are true. assumptions conclusion To prove an argument is not valid, we just need to find a counterexample.

8 Introduction to Abstract Mathematics Exercises

9 Introduction to Abstract Mathematics More Exercises

10 Introduction to Abstract Mathematics Contradiction If you can show that the assumption that the statement p is false leads logically to a contradiction, then you can conclude that p is true. You are working as a clerk. If you have won Mark 6, then you would not work as a clerk. You have not won Mark 6.

11 Introduction to Abstract Mathematics Propositional Logic v Method #1: –Go through all possible interpretations and check the definition of valid argument v Method #2: –Use derivation rules to get from the premises to the conclusion in a logically sound way u “derive the conclusions from premises”

12 Introduction to Abstract Mathematics Method #1 v Section 1.3 in the text proves many arguments/inference rules using truth tables v Suppose the argument is: P 1,…,P N therefore Q Create a truth table for formula F=(P 1 & … & P N  Q) Check if F is a tautology

13 Introduction to Abstract Mathematics But Why? v Formula A entails formula B iff (A  B) is a tautology v In general: –premises P 1,…,P N entail Q Iff formula F=(P 1 & … & P N  Q) is a tautology P 1 P 2. P N Q

14 Introduction to Abstract Mathematics Examples P v Q v R ~R P v Q P v Q v R ~R Q valid/invalid? (example in the book, p. 30)

15 Introduction to Abstract Mathematics Examples v P  Q v Q v entails v P v valid/invalid?

16 Introduction to Abstract Mathematics Example P v Q ~P  ~Q P  Q v valid/invalid? v Any argument with a contradiction in its premises is valid by default…

17 Introduction to Abstract Mathematics Method #2 : Derivations v To prove that an argument is valid: –Begin with the premises –Use valid/sound inference rules –Arrive at the conclusion

18 Introduction to Abstract Mathematics Inference Rules (Logic Rules) v But what are these “inference rules”? They are simply… - valid arguments! v Example: –X  Y –X  Y  Z  W –therefore –Z  W by modus ponens

19 Introduction to Abstract Mathematics Example v (X  Y  Z  W)  K v X  Y v therefore v Z  W v How? v (X  Y  Z  W)  K v X  Y  Z  Wby conjunctive simplification v X  Y v Z  W by modus ponens

20 Introduction to Abstract Mathematics Derivations v The chain of inference rules that starts with the premises and ends with the conclusion is called a derivation: –The conclusion is derived from the premises Such a derivation makes a proof of argument’s validity

21 Introduction to Abstract Mathematics Example v (X  Y  Z  W)  K v X  Y v therefore v Z  W v How? v (X  Y  Z  W)  K v X  Y  Z  Wby conjunctive simplification v X  Y v Z  W by modus ponens derivation

22 Introduction to Abstract Mathematics Definition Let H 1, H 2, … H k and Q be propositional expressions. A propositional expression Q is sad to be logical consequence of H 1, H 2, … H k if Q is true whenever all H 1, H 2, … H k are evaluated to be true. This relationship is expressed symbolically by writing H 1, H 2, … H k Q. Or H 1, H 2, … H k ├ Q This is, what is called rule of inference or valid argument. It is normally read as H 1, H 2, …, and H k yield Q H 1, H 2, …, and H k entails Q.

23 Introduction to Abstract Mathematics Example: PQP  Q P  ( P  Q)(P  (P  Q))  Q TTTTT TFFFT FTTFT FFTFT The following truth table shows P, P  Q ├ Q since it proves that (P  (P  Q))  Q is a tautology

24 Introduction to Abstract Mathematics Not a valid arguments If for some propositional forms H 1, H 2, … H k and Q we have all H 1, H 2, … H k are evaluated to be true and Q false, then we say that Q does not logically follow from H 1, H 2, … H k. We will use the following notation to indicate that by H 1, H 2, … H k ├ ? Q (we call this invalid argument). PQP  Q Q  ( P  Q)(P  (P  Q))  P TTTTT TFFFT FTTTF FFTFT Example: Show that Q, P  Q ├? P ( is not valid argument).

25 Introduction to Abstract Mathematics Theorem (LR): Let P, Q, R, and S be propositional expressions then the followings are valid arguments (rules of logic or inference rules ) 1. P  Q, P├ Q Modus Ponens [MP] 2. P  Q,  Q ├  P Modus Tolens [MT] 3. (P  Q)  (R  S), P  R ├ Q  S Constructive Dilemma [CD] 4. P  Q ├ P Simplification [Simp] 5. P├ P  Q or Q ├ P  Q Addition (Generalization) [Add] 6. P, Q ├ P  Q Conjunction [Conj] 7. P  Q,  P ├ Qor P  Q,  Q ├ P Disjunctive Syllogism [DS](Ellimination) 8. (P  Q)  ( R  S),  Q   S ├  P   R Destructive Dilemma [DD] 9. P  Q, Q  R├ P  RTransitivity [Tr]

26 Introduction to Abstract Mathematics Definition of proof A proof of Q from H 1, H 2, … H k is finite sequence of propositional forms Q 1, Q 2, … Q n such that Q n is same as Q and every Q j is either one of Hi, (i = 1, 2, …, k) or it follows from the proceedings by the logic rules. Note: In these proofs we will follow the following formats: We begin with by listing all the hypotheses (marked as Hyp), then the sequence of propositional forms followed by the reason (short description of rules) that allowed that proposition to be included in proof in the same line and end with the conclusion. To make referencing easier we will number the lines and use abbreviated names of logic rules specified in the Theorem (RL1).

27 Introduction to Abstract Mathematics Example: Prove (P  Q)  (Q  R), P ├ Q Proof: 1. (P  Q)  (Q  R) Hyp 2. PHyp 3. P  Q 3 Add 4. Q  R 3, 1 MP 5. Q 4 S. END

28 Introduction to Abstract Mathematics Example: (P  Q), P  (R  S),  Q ├ (R  S) Proof: 1. (P  Q) Hyp 2. P  (R  S) Hyp 3.  Q Hyp 4.  P 1,3 MT 5. (R  S) 2,4 DS END

29 Introduction to Abstract Mathematics Second Type of Logic rules (Rules of Replacement) v Recall that if two propositional expressions P and Q are logically equivalent P  Q if they have same truth tables. v Now suppose P  Q and P appears in a propositional expression R. If in R some of the appearances of P is replaced by Q then the new resulting propositional expression R’ is logically equivalent to R. v To make proof writing more flexible we will extend rules of logic by adding some simple rules of replacement listed in the following theorem.

30 Introduction to Abstract Mathematics Theorem RR ( See theorem 1.1.1) ( replacement rules) 1. Commutative Law [Com] 2. Associative Law [Assoc] P  Q  Q  P, (P  Q )  R  P  (Q  R) P  Q  Q  P (P  Q )  R  P  (Q  R) 3. Distributive Law [Dist] 4. Contrapositive Law [Contr] P  (Q  R)  (P  Q)  (P  R) (P  Q)  (~ Q  P) P  (Q  R)  (P  Q)  (P  R) 5. DeMorgan Law [DeM] 6. Double Negation [DN] ~ ( P  Q)  (~ P  ~ Q ) ~ ~ (P)  P ~ ( P  Q)  (~ P  ~ Q ) 7. Implication Law [Impl] 8. Equivalence Law [Equiv] (P  Q)  (~ P  Q) P  Q  ( P  Q)  (Q  P) P  Q  (P  Q)  (~ Q  ~ P) 9. Exportation [Exp] 10. Tautology (Identity) [ Taut] (P  Q)  R  P  (Q  R) P  P  P or P  P  P 11. P  t  P and P  c  c 12 P  t  t and P  c  P t-tautolagy and c-contradiction

31 Introduction to Abstract Mathematics Eample: Prove (P  Q), (R  Q) ├ (P  R)  Q Proof: 1. P  Q Hyp 2. R  QHyp 3.  P  Q1 Impl 4.  R  Q2 Impl 5. (  P  Q)  (  R  Q)3,4 Conj 6. (Q   P)  (Q   R) 5 Com 7. Q  (  P   R) 6 Dist 8. Q   (P  R) 7 DeM 9.  (P  R)  Q8 Com 10. (P  R)  Q9 Impl END

32 Introduction to Abstract Mathematics Practice problems 1. Study the Sections 2.3 from your textbook. 2. Be sure that you understand all the examples discussed in class and in textbook. 3. Only after you complete the proof of the Theorem LR from the notes 4. Do the following problems from the textbook: Exercise 2.3, # 2, 3, 7, 8, 15, 26, 36, 43, 44, 46, 51.