Propositions and Connectives Conditionals and Bi-conditionals Quantifiers.

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

Propositional Equivalences
Section 1.3. More Logical Equivalences Constructing New Logical Equivalences We can show that two expressions are logically equivalent by developing.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 1: (Part 2): The Foundations: Logic and Proofs.
Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
From Chapter 4 Formal Specification using Z David Lightfoot
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Discrete Mathematics Math 6A Instructor: M. Welling.
First Order Logic. Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not.
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
Predicates and Quantifiers
Chapter 1: The Foundations: Logic and Proofs
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
CSci 2011 Discrete Mathematics Lecture 3 CSci 2011.
The Foundations: Logic and Proofs
Logical Equivalence & Predicate Logic
The Foundations: Logic and Proofs
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
MATH 213 A – Discrete Mathematics for Computer Science Dr. (Mr.) Bancroft.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
1 Logic Logic is a discipline that studies the principles and methods used in correct reasoning It includes: A formal language for expressing statements.
Review I Rosen , 3.1 Know your definitions!
Propositional Equivalences
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Fall 2002CMSC Discrete Structures1 Let’s get started with... Logic !
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Chapter 1, Part II With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
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.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
Lecture 9 Conditional Statements CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Section 1.2: Propositional Equivalences In the process of reasoning, we often replace a known statement with an equivalent statement that more closely.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Chapter 1: The Foundations: Logic and Proofs
Lecture Predicates and Quantifiers 1.4 Nested Quantifiers.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
CSci 2011 Recap ^Propositional operation summary not andorconditionalBi-conditional pq ppqqpqpqpqpqpqpqpqpq TTFFTTTT TFFTFTFF FTTFFTTF FFTTFFTT.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
Discrete Mathematics Mathematical reasoning: think logically; know how to prove Combinatorial analysis: know how to count Discrete structures: represent.
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
رياضيات متقطعة لعلوم الحاسب MATH 226. Text books: (Discrete Mathematics and its applications) Kenneth H. Rosen, seventh Edition, 2012, McGraw- Hill.
Spring 2003CMSC Discrete Structures1 Let’s get started with... Logic !
3/6/20161 Let’s get started with... Logic !. 3/6/20162 Logic Crucial for mathematical reasoningCrucial for mathematical reasoning Used for designing electronic.
Mathematics for Comter I Lecture 3: Logic (2) Propositional Equivalences Predicates and Quantifiers.
 To combine propositions using connectives  To construct the truth table of a given compound proposition  To define de Morgan Law for logic  To define.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
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.
2. The Logic of Compound Statements Summary
CSE15 Discrete Mathematics 01/23/17
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
6/20/2018 Arab Open University Faculty of Computer Studies M131 - Discrete Mathematics 6/20/2018.
CMSC Discrete Structures
Chapter 1 The Foundations: Logic and Proofs
Propositional Equivalences
Information Technology Department
Propositional Equivalence (§1.2)
1.4 Predicates and Quantifiers
CS 220: Discrete Structures and their Applications
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
Cs Discrete Mathematics
Predicates and Quantifiers
1.2 Propositional Equivalences
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Presentation transcript:

Propositions and Connectives Conditionals and Bi-conditionals Quantifiers

 A proposition is a sentence that is either true or false.  Give some examples?  A compound proposition is a expression formed from propositional variables (e.g., P, Q ), values (T and F) and logical operators (e.g., ~ negation,, ^ conjunction, v disjunction, etc. )  Give some examples?

 A tautology is a compound proposition that is always true.  A contradiction is a compound proposition that is always false.  A contingency is neither a tautology nor a contradiction.  Classify the following as tautology, contradiction, contingency P ν ~p, pΛ~P, p→~P, P ↔ ~P

TFTF FTTF

 Two compound propositions, p and q, are logically equivalent if is a tautology.  Notation:  De Morgan’s Laws:  Let’s build a truth table!

pq~p pqpq ~pνq TTFTT FTTTT TFFFF FFTTT

pqr p˅qp˅q q˄rq˄rp˅rp˅rp ˅ (q ˄ r)(p ˅ q) ˄ (p ˅ r) TTTTTTTT FTTTTTTT TFTTFTTT FFTFFFFF TTFTFTTT FTFTFFFF TFFTFTTT FFFFFFFF

 Conditionals  Bi-conditionals

TTTFF TFFTT FTFTT FFTFF

 By 2nd DeMorgan’s  By 1st DeMorgan’s  By double negation  By 2nd distributive  By definition of ^  By commutative law  By identity law for F

 Some statements cannot be expressed in propositional logic, such as:  All men are mortal.  Some trees have needles.  X > 3.  Predicate logic can express these statements and make inferences on them.

P(x,y)  Two parts:  Predicate P describes a relation or property,  Variables (x,y) can take arbitrary values from some domain ( Truth Set ).  Still have two truth values for statements (T and F)  When we assign values to x and y, then P has a truth value.

 Let Q(x,y) denote “ x=y+3 ”.  What are truth values of:  Q(1,2)  Q(3,0)  Let R(x,y) denote x beats y in Roshambo with 2 players with following rules:  Rock smashes scissors, Scissors cuts paper, Paper covers rock.  What are the truth values of:  R(rock, paper)  R(scissors, paper)

 Quantification expresses the extent to which a predicate is true over a set of elements.  Two forms:  Universal  Existential

 P(x) is true for all values in the domain For every x in D, P(x) is true.  An element x for which P(x) is false is called a counterexample.  Given P(x) as “ x+1>x ” and the domain of R, what is the truth value of:

 Let P(x) be that x>0 and x is in domain of R.  Give a counterexample for:

 P(x) is true for at least one value in the domain.  For some x in D, P(x) is true.  Let the domain of x be “animals”, M(x) be “x is a mammal” and E(x) be “x lays eggs”, what is the truth value of:

 Statements are logically equivalent iff they have the same truth value under all possible bindings.  For example:  In English, given domain of students in Math3313, all students have passed Math 2413 course (P) and are registered at TAMUCC (Q); hence, all students have passed Math 2413 and all students are registered at TAMUCC.

Someone likes skiing (P) or likes swimming (Q); hence, there exists someone who likes skiing or there exists someone who likes skiing. Not everyone likes to go to the dentist; hence there is someone who does not like to go to the dentist. There does not exist someone who likes to go to the dentist; hence everyone does not like to go to the dentist.

 Some person in this class has visited the Grand Canyon.  For every one there is someone to love.  No one in this class is wearing shorts and a ski parka.