Discrete Mathematics CS 2610 August 24, 2006. 2 Agenda Last class Introduction to predicates and quantifiers This class Nested quantifiers Proofs.

Slides:



Advertisements
Similar presentations
Rules of Inference Rosen 1.5.
Advertisements

Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
Announcements Grading policy No Quiz next week Midterm next week (Th. May 13). The correct answer to the quiz.
Rules of Inferences Section 1.5. Definitions Argument: is a sequence of propositions (premises) that end with a proposition called conclusion. Valid Argument:
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.
The Foundations: Logic and Proofs
Chapter 2 Fundamentals of Logic Dept of Information management National Central University Yen-Liang Chen.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
CSE115/ENGR160 Discrete Mathematics 01/26/12 Ming-Hsuan Yang UC Merced 1.
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
Logic 3 Tautological Implications and Tautological Equivalences
Discrete Mathematics Math 6A Instructor: M. Welling.
Copyright © Peter Cappello Logical Inferences Goals for propositional logic 1.Introduce notion of a valid argument & rules of inference. 2.Use inference.
Discrete Mathematics and its Applications
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
Harper Langston New York University Summer 2015
CSCI2110 – Discrete Mathematics Tutorial 9 First Order Logic Wong Chung Hoi (Hollis)
CSci 2011 Discrete Mathematics Lecture 3 CSci 2011.
Copyright © Curt Hill Rules of Inference What is a valid argument?
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
1 Logic Logic is a discipline that studies the principles and methods used in correct reasoning It includes: A formal language for expressing statements.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 1 The Foundations: Logic and Proofs 歐亞書局.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 03: PROOFS Section 1.5 Jarek Rossignac CS1050: Understanding.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
Section 1.5. Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Discrete Structures (DS)
Fallacies The proposition [(p  q)  q]  p is not a tautology, because it is false when p is false and q is true. This type of incorrect reasoning is.
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.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Discrete Mathematics. Predicates - the universal quantifier 11/28/2015 Suppose P(x) is a predicate on some universe of discourse. Ex. B(x) = “x is carrying.
CompSci 102 Discrete Math for Computer Science January 24, 2012 Prof. Rodger Slides modified from Rosen.
Discrete Mathematics CS 2610 August 22, Agenda Last class Propositional logic Logical equivalences This week Predicate logic & rules of inference.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
Rules of Inference Section 1.6. Arguments in Propositional Logic A argument in propositional logic is a sequence of propositions. All but the final proposition.
2007 D iscrete The foundations C ounting theory N umber theory G raphs & trees structure s
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
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.
Lecture 1.3: Predicate Logic, and Rules of Inference* CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Cinda Heeren.
Proof Techniques Chuck Cusack
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems.
Chapter 1 Logic and proofs
2. The Logic of Compound Statements Summary
CSE15 Discrete Mathematics 01/30/17
Discrete Mathematics Logic.
Rules of Inference Section 1.6.
Chapter 1 The Foundations: Logic and Proofs
Module #10: Proof Strategies
CS201: Data Structures and Discrete Mathematics I
Logical Inferences: A set of premises accompanied by a suggested conclusion regardless of whether or not the conclusion is a logical consequence of the.
Mathematical Reasoning
Methods of Proof. Methods of Proof Definitions A theorem is a valid logical assertion which can be proved using Axioms: statements which are given.
CMSC Discrete Structures
CS 220: Discrete Structures and their Applications
First Order Logic Rosen Lecture 3: Sept 11, 12.
Inference Rules: Tautologies
The Method of Deduction
Discrete Mathematics Logic.
Module #10: Proof Strategies
CS201: Data Structures and Discrete Mathematics I
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Mathematical Reasoning
The Foundations: Logic and Proofs
Rules of inference Section 1.5 Monday, December 02, 2019
Presentation transcript:

Discrete Mathematics CS 2610 August 24, 2006

2 Agenda Last class Introduction to predicates and quantifiers This class Nested quantifiers Proofs

3 Overview of last class A predicate P, or propositional function, is a function that maps objects in the universe of discourse to propositions Predicates can be quantified using the universal quantifier (“for all”)  or the existential quantifier (“there exists”)  Quantified predicates can be negated as follows  x P(x)   x  P(x)  x P(x)   x  P(x) Quantified variables are called “bound” Variables that are not quantified are called “free”

4 Predicate Logic and Propositions An expression with zero free variables is an actual proposition Ex. Q(x) : x > 0, R(y): y < 10  x Q(x)   y R(y)

5 Nested Quantifiers When dealing with polyadic predicates, each argument may be quantified with its own quantifier. Each nested quantifier occurs in the scope of another quantifier. Examples: (L=likes, UoD(x)=kids, UoD(y)=cars)  x  y L(x,y) reads  x(  y L(x,y))  x  y L(x,y) reads  x(  y L(x,y))  x  y L(x,y) reads  x(  y L(x,y))  x  y L(x,y) reads  x(  y L(x,y)) Another example  x (P(x)   y R(x,y))

6 Examples If L(x,y) means x likes y, how do you read the following quantified predicates?  y L(Alice,y)  y  x L(x,y)  x  y L(x,y)  x LUV(x, Raymond) Alice likes some car There is a car that is liked by everyone Everyone likes some car Everyone loves Raymond Order matters!!!

7 Negation of Nested Quantifiers To negate a quantifier, move negation to the right, changing quantifiers as you go. Example:  x  y  z P(x,y,z)   x  y  z  P(x,y,z).

8 Proofs (or Fun & Games Time) Assume that the following statements are true: I have a total score over 96. If I have a total score over 96, then I get an A in the class. What can we claim? I get an A in the class. How do we know the claim is true? Elementary my dear Watson! Logical Deduction.

9 Proofs A theorem is a statement that can be proved to be true. A proof is a sequence of statements that form an argument.

10 Proofs: Inference Rules An Inference Rule: “  ” means “therefore” premise 1 premise 2 …  conclusion

11 Proofs: Modus Ponens I have a total score over 96. If I have a total score over 96, then I get an A for the class.  I get an A for this class p p  q  q Tautology: (p  (p  q))  q

12 Proofs: Modus Tollens If the power supply fails then the lights go out. The lights are on.  The power supply has not failed. Tautology: (  q  (p  q))   p  q p  q  p p

13 Proofs: Addition I am a student.  I am a student or I am a visitor. p  p  q Tautology: p  (p  q)

14 Proofs: Simplification I am a student and I am a soccer player.  I am a student. p  q  p p Tautology: (p  q)  p

15 Proofs: Conjunction I am a student. I am a soccer player.  I am a student and I am a soccer player. pqpq  p  q Tautology: ((p)  (q))  p  q

16 Proofs: Disjunctive Syllogism I am a student or I am a soccer player. I am a not soccer player.  I am a student. p  q  q  p Tautology: ((p  q)   q)  p

17 Proofs: Hypothetical Syllogism If I get a total score over 96, I will get an A in the course. If I get an A in the course, I will have a 4.0 semester average.   If I get a total score over 96 then  I will have a 4.0 semester average. p  q q  r  p  r Tautology: ((p  q)  (q  r))  (p  r)

18 Proofs: Resolution I am taking CS1301 or I am taking CS2610. I am not taking CS1301 or I am taking CS  I am taking CS2610 or I am taking CS p  q  p  r  q  r Tautology: ((p  q )  (  p  r))  (q  r)

19 Proofs: Proof by Cases I have taken CS2610 or I have taken CS1301. If I have taken CS2610 then I can register for CS2720 If I have taken CS1301 then I can register for CS2720  I can register for CS2720 p  q p  r q  r  r Tautology: ((p  q )  (p  r)  (q  r))  r

20 Fallacy of Affirming the Conclusion If you have the flu then you’ll have a sore throat. You have a sore throat.  You must have the flu. Fallacy: (q  (p  q))  p q p  q  p Abductive reasoning

21 Fallacy of Denying the Hypothesis If you have the flu then you’ll have a sore throat. You do not have the flu.  You do not have a sore throat. Fallacy: (  p  (p  q))   q  p p  q  q q

22 Inference Rules for Quantified Statements x P(x)  P(c) x P(x)  P(c) x P(x)  P(c) x P(x)  P(c) P(c)___   x P(x) Universal Instantiation (for an arbitrary object c from UoD) Universal Generalization (for any arbitrary element c from UoD) Existential Instantiation (for some specific object c from UoD) P(c)__   x P(x) Existential Generalization (for some object c from UoD)