EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.

Slides:



Advertisements
Similar presentations
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
Advertisements

With examples from Number Theory
Introduction to Proofs
PROOF BY CONTRADICTION
Chapter 3 Elementary Number Theory and Methods of Proof.
Possible World Semantics for Modal Logic
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.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
(CSC 102) Discrete Structures Lecture 14.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 3 Syntax of Propositional Logic Parse trees revised Construction of parse trees Semantics of propositional.
1 Discrete Structures CS Johnnie Baker Comments on Early Term Test.
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.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
TR1413: INTRO TO DISCRETE MATHEMATICS LECTURE 2: MATHEMATICAL INDUCTION.
So far we have learned about:
Copyright © Zeph Grunschlag,
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
EE1J2 – Discrete Maths Lecture 5
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 6 Limitations of propositional logic Introduction to predicate logic Symbols, terms and formulae, Parse.
EE1J2 – Discrete Maths Lecture 4 Analysis of arguments Logical consequence Rules of deduction Rules of equivalence Formal proof of arguments See: Anderson,
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
WARM UP EXERCSE Consider the right triangle below with M the midpoint of the hypotenuse. Is MA = MC? Why or why not? MC B A 1.
Methods of Proof & Proof Strategies
Introduction to Proofs
Methods of Proof involving  Symbolic Logic February 19, 2001.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
Conditional Statements CS 2312, Discrete Structures II Poorvi L. Vora, GW.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
F22H1 Logic and Proof Week 6 Reasoning. How can we show that this is a tautology (section 11.2): The hard way: “logical calculation” The “easy” way: “reasoning”
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Discrete Structures (DS)
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
1 Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 2: Logic & Incidence Geometry Back To the Very Basic Fundamentals.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
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.
assumption procedures
CS6133 Software Specification and Verification
Proof By Contradiction Chapter 3 Indirect Argument Contradiction Theorems and pg. 171.
CSE 311 Foundations of Computing I Lecture 9 Proofs and Set Theory Autumn 2012 CSE
Methods of Proof for Boolean Logic Chapter 5 Language, Proof and Logic.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
2.3 Methods of Proof.
CS104:Discrete Structures Chapter 2: Proof Techniques.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
1 Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 2: Logic & Incidence Geometry Back To the Very Basic Fundamentals.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Uniqueness Quantifier ROI for Quantified Statement.
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Proof Techniques CS160/CS122 Rosen: 1.5, 1.6, 1.7.
Chapter 7. Propositional and Predicate Logic
CSE15 Discrete Mathematics 02/01/17
Advanced Algorithms Analysis and Design
Chapter 3 The Real Numbers.
The Foundations: Logic and Proofs
Propositional Logic.
CS 220: Discrete Structures and their Applications
Computer Security: Art and Science, 2nd Edition
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction

Logical Consequence Let  be a set of formulae and f a formula f is a logical consequence of  if for any assignment of truth values to atomic propositions for which all of the members of  true, f is also true If f is a logical consequence of , write  ⊨ f Note: this is consistent with ⊨ f when f is a tautology

Arguments An argument consists of: A set  of formulae, called the assumptions or hypotheses A formula f, called the conclusion If  ⊨ f then the argument is a valid argument In other words, an argument is valid if its conclusion is a logical consequence of its assumptions.

Notation An intuitive way to write an argument with a set of hypotheses  and conclusion f is as follows:  ---  f hypotheses conclusion

Example proof 4 Show that: is a valid argument (p  q)  (p  r) r  q

Proof 4 (1) (p  q) (2)  (p  r) (3) r (4)  p   r (from (2)) (5)   r   p (from (4)) (6) r   p (from (5)) (7)  p  q (from (1)) (8) r  q (from (6) and (7)) (9) q (from (8) and (3))

Alternative proof Assume that the conclusion is false i.e q is False Therefore p must be true (from (1)) But p and r cannot both be true, by (2) Therefore r is false But this contradicts (3), so assumption must have been wrong (p  q)  (p  r) r  q (1) (2) (3)

Proof by Contradiction This is an example of proof by contradiction Basic idea is: Assume that the conclusion is false Use this to deduce a contradiction Hence the conclusion must be true

Proof by Contradiction Proof by contradiction is another powerful technique to show that an argument is valid ‘Proof by contradiction’ is also known as reductio ad absurdum

Reductio ad Absurdum You’ve already met ‘proof by contradiction’ as a rule of deduction: This is also known as ‘Reductio ad Absurdum’  p  (r  r)  p

Analysis of an Argument “The meeting can take place if all members are informed in advance, and it is quorate. It is quorate provided that there are at least 15 members present, and members will have been informed in advance if there is not a postal strike. Therefore, if the meeting was cancelled, there were fewer than 15 members present or there was a postal strike”

Identification of atomic propositions Atomic propositions are: m – the meeting takes place a – all members have been informed in advance t - there are at least 15 members present q – the meeting is quorate p – there is a postal strike

Formalisation of assumptions The meeting can take place if all members are informed in advance, and it is quorate becomes (a  q )  m It is quorate provided that there are at least 15 members present, and members will have been informed in advance if there is not a postal strike becomes ( t  q)  (  p  a)

Formalisation of assumptions (continued) So,  = { (a  q )  m, ( t  q)  (  p  a) } These are the assumptions

Formalisation of conclusion The argument concludes: Therefore, if the meeting was cancelled, there were fewer than 15 members present or there was a postal strike which becomes:  m  (  t  p ) So f =  m  (  t  p ) Is f a logical consequence of  ?

Formal notation In our formal notation, the argument becomes: (a  q )  m ( t  q)  (  p  a)   m  (  t  p )

Is this argument valid? 2 assumptions (a  q )  m ( t  q)  (  p  a) 1 conclusion  m  (  t  p ) 5 atomic propositions implies 2 5 = 32 different allocations of truth values to atomic propositions

Proof by Contradiction Proof by contradiction Assume  ⊨ f is false Then there is an allocation of truth values to atomic propositions for which all of the formulae in  are true but f is false – called a counter-example Show that the existence of a counter-example leads to a contradiction (e.g. that one of the formulae in  must be false)

Proof by contradiction is NOT “…where you prove that something is true by proving that it is false” Anon., EE2F1 exam 2002

Example Proof that is not a rational number

Example Proof by Contradiction 1.Suppose there exists an assignment of truth values to m, a, t, q and p such that (a  q )  m, and ( t  q)  (  p  a) are both true, but  m  (  t  p ) is false 2.If  m  (  t  p ) is false, then  m must be true, and (  t  p ) must be false

Proof continued… 3.It follows that m is false, t is true and p is false 4.Now consider the first formula in , namely ( t  q)  (  p  a) 5.Since this is true, t  q and  p  a must both be true 6.Hence a and q are true, because t and  p are true (from above)

Proof continued… 7. Finally consider the second formula in , namely (a  q )  m 8. Since q is true and a is true (from 6 on the previous slide), a  q is true, 9. Hence m must be true 10. But this contradicts the assertion that m is false in part 3 on the previous slide

Summary In summary, we have shown that the existence of an assignment of truth values for which  is true and f is false leads to a contradiction. Hence such an assignment cannot exist. Hence  ⊨ f

Example 2 If the Big Bang theory is correct, then either there was a time before anything existed, or the world will come to an end. The world will not come to an end. Therefore, if there was no time before anything existed, the Big Bang theory is incorrect.

Identification of atomic propositions Atomic propositions b – the big bang theory is correct t – there was a time before anything existed w – the world will come to an end Formal statement of premises: b  (t  w) ww Formal statement of conclusion:  t   b

Proof by contradiction Formally, if  = {b  (t  w),  w}, f is  t   b Is it the case that  ⊨ f ? Assume that f is not a logical consequence of  Then there is an assignment of T and F to the atomic propositions such that each formula in  is true and f is false

Proof (continued) 1.If  t   b is false, then  t is true and  b is false Hence t is false and b is true 2.Now use the fact that, by assumption, b  (t  w) is true 3.Since b is true, (t  w) must be true 4.But t is false. Hence w must be true. This contradicts assertion that  w is true 5.Hence  ⊨ f

Summary In summary, we have shown that the existence of an assignment of truth values for which  is true and f is false leads to a contradiction. Hence such an assignment cannot exist. Hence  ⊨ f

Adequacy A set of propositional connectives is adequate if For any set of atomic propositions p 1,…,p N and For any truth table for these propositions, There is a formula involving only the given connectives, which has the given truth table.

Adequacy The goal of the next lecture will be to show that the set { , , ,  } is adequate and contains redundancy, in the sense that it contains subsets which are themselves adequate We shall also introduce other sets of adequate connectives

Summary More analysis of arguments Proof by contradiction