Propositional Equivalence (§1.2)

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

Propositional Equivalences
CSE 311: Foundations of Computing Fall 2013 Lecture 3: Logic and Boolean algebra.
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
1 CA 208 Logic Ex1 In your own words, define the following 1. Logic: 2. Valid reasoning/inference (2 equivalent definitions): 3. Propositions/statements:
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
1 CA 208 Logic PQ PQPQPQPQPQPQPQPQ
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Introduction to Logic Logical Form: general rules
Discussion #10 1/16 Discussion #10 Logical Equivalences.
EE1J2 – Discrete Maths Lecture 4 Analysis of arguments Logical consequence Rules of deduction Rules of equivalence Formal proof of arguments See: Anderson,
Proofs Using Logical Equivalences Rosen 1.2 List of Logical Equivalences p  T  p; p  F  pIdentity Laws p  T  T; p  F  FDomination Laws p  p.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
Logical Equivalence & Predicate Logic
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
1 Propositional Logic Rosen 5 th ed., § Foundations of Logic: Overview Propositional logic:Propositional logic: –Basic definitions. –Equivalence.
1.1 CompSci 102© Michael Frank Today’s topics Propositional equivalencesPropositional equivalences Predicate logicPredicate logic Reading: Sections Reading:
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.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
COS 150 Discrete Structures Assoc. Prof. Svetla Boytcheva Fall semester 2014.
Tautologies, contradictions, contingencies
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
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.
Extra slides for Chapter 3: Propositional Calculus & Normal Forms Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
Chapter 1: The Foundations: Logic and Proofs
The Foundations: Logic and Proof, Sets, and Foundations PROPOSITIONS A proposition is a declarative sentence that is either True or False, but not the.
Propositional Equivalence A needed step towards proofs Copyright © 2014 Curt Hill.
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
Mathematics for Computing Lecture 2: Computer Logic and Truth Tables Dr Andrew Purkiss-Trew Cancer Research UK
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Module Code MA0003NI: Computing mathematics Lecture for Week Autumn.
Logic I 권태경 To do so, it should include a language to express statements, a notation to simplify expressions. Logic Mathematical Logic.
2. The Logic of Compound Statements Summary
Propositional Equivalences
The Foundations: Logic and Proofs
Advanced Algorithms Analysis and Design
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
COMP 1380 Discrete Structures I Thompson Rivers University
COT 3100, Spr Applications of Discrete Structures
(CSC 102) Discrete Structures Lecture 2.
Discussion #10 Logical Equivalences
Discrete Mathematics Lecture # 2.
Mathematics for Computing
Administrivia Course Web:
Propositional Equivalences
Information Technology Department
CS 220: Discrete Structures and their Applications
Propositional Equivalences
Discrete Mathematics and its Applications
CSE 311 Foundations of Computing I
CSS 342 Data Structures, Algorithms, and Discrete Mathematics I
Lecture 2: Propositional Equivalences
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
CSE 321 Discrete Structures
Cs Discrete Mathematics
Foundations of Discrete Mathematics
COMP 1380 Discrete Structures I Thompson Rivers University
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.
Discrete Structures Prepositional Logic 2
A THREE-BALL GAME.
Concepts of Computation
LOGICAL EQUIVALENCES - DISCRETE MATHEMATICS.
Presentation transcript:

Propositional Equivalence (§1.2) Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Propositional Equivalence (§1.2) Two syntactically (i.e., textually) different compound propositions may be the semantically identical (i.e., have the same meaning). We call them equivalent. Learn: Various equivalence rules or laws. How to prove equivalences using symbolic derivations. 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Tautologies and Contradictions Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Tautologies and Contradictions A tautology is a compound proposition that is true no matter what the truth values of its atomic propositions are! Ex. p  p [What is its truth table?] A contradiction is a compound proposition that is false no matter what! Ex. p  p [Truth table?] Other compound props. are contingencies. 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Logical Equivalence Compound proposition p is logically equivalent to compound proposition q, written pq, IFF the compound proposition pq is a tautology. Compound propositions p and q are logically equivalent to each other IFF p and q contain the same truth values as each other in all rows of their truth tables. 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Proving Equivalence via Truth Tables Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Proving Equivalence via Truth Tables Ex. Prove that pq  (p  q). F T T T F T T F F T T F T F T T F F F T 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Equivalence Laws These are similar to the arithmetic identities you may have learned in algebra, but for propositional equivalences instead. They provide a pattern or template that can be used to match all or part of a much more complicated proposition and to find an equivalence for it. 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Equivalence Laws - Examples Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Equivalence Laws - Examples Identity: pT  p pF  p Domination: pT  T pF  F Idempotent: pp  p pp  p Double negation: p  p Commutative: pq  qp pq  qp Associative: (pq)r  p(qr) (pq)r  p(qr) 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences More Equivalence Laws Distributive: p(qr)  (pq)(pr) p(qr)  (pq)(pr) De Morgan’s: (pq)  p  q (pq)  p  q Trivial tautology/contradiction: p  p  T p  p  F Augustus De Morgan (1806-1871) 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Defining Operators via Equivalences Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Defining Operators via Equivalences Using equivalences, we can define operators in terms of other operators. Exclusive or: pq  (pq)(pq) pq  (pq)(qp) Implies: pq  p  q Biconditional: pq  (pq)  (qp) pq  (pq) 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences An Example Problem Check using a symbolic derivation whether (p  q)  (p  r)  p  q  r. (p  q)  (p  r) [Expand definition of ]  (p  q)  (p  r) [Expand defn. of ]  (p  q)  ((p  r)  (p  r)) [DeMorgan’s Law]  (p  q)  ((p  r)  (p  r)) cont. 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences Example Continued... (p  q)  ((p  r)  (p  r))  [ commutes]  (q  p)  ((p  r)  (p  r)) [ associative]  q  (p  ((p  r)  (p  r))) [distrib.  over ]  q  (((p  (p  r))  (p  (p  r))) [assoc.]  q  (((p  p)  r)  (p  (p  r))) [trivail taut.]  q  ((T  r)  (p  (p  r))) [domination]  q  (T  (p  (p  r))) [identity]  q  (p  (p  r))  cont. 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Discrete Math - Module #1 - Logic 11/20/2018 Topic #1.1 – Propositional Logic: Equivalences End of Long Example q  (p  (p  r)) [DeMorgan’s]  q  (p  (p  r)) [Assoc.]  q  ((p  p)  r) [Idempotent]  q  (p  r) [Assoc.]  (q  p)  r [Commut.]  p  q  r Q.E.D. (quod erat demonstrandum) (Which was to be shown.) 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank

Review: Propositional Logic (§§1.1-1.2) Discrete Math - Module #1 - Logic 11/20/2018 Topic #1 – Propositional Logic Review: Propositional Logic (§§1.1-1.2) Atomic propositions: p, q, r, … Boolean operators:       Compound propositions: s : (p  q)  r Equivalences: pq  (p  q) Proving equivalences using: Truth tables. Symbolic derivations. p  q  r … 11/20/2018 (c)2001-2004, Michael P. Frank (c)2001-2002, Michael P. Frank