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.

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

Propositional Equivalences
With examples from Number Theory
Geometry 2.2 Big Idea: Analyze Conditional Statements
CSE 311: Foundations of Computing Fall 2013 Lecture 3: Logic and Boolean algebra.
Chapter 2 Geometric Reasoning
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
Laws of , , and  Excluded middle law Contradiction law P   P  T P   P  F NameLaw Identity laws P  F  P P  T  P Domination laws P  T  T P.
Discussion #12 1/22 Discussion #12 Deduction, Proofs and Proof Techniques.
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 CA 208 Logic Ex4 Commutativity (P  Q)  Associativity P  (Q  R)  (P  Q)  R Distributivity P  (Q  R)  Idempotency.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
1 CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng 4/26/2011.
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.
Introduction to Logic Logical Form: general rules
Discussion #10 1/16 Discussion #10 Logical Equivalences.
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.
CSci 2011 Discrete Mathematics Lecture 3 CSci 2011.
Algebra 1 Chapter 1 Section Properties of Real Numbers The commutative and associate properties of addition and multiplication allow you to rearrange.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
1 Propositional Logic Rosen 5 th ed., § Foundations of Logic: Overview Propositional logic:Propositional logic: –Basic definitions. –Equivalence.
Chapter 1-4: Properties Commutative Property: the order in which you add or multiply numbers does not change the sum or product Ex = * 8.
1 Methods of Proof CS/APMA 202 Epp, chapter 3 Aaron Bloomfield.
Review I Rosen , 3.1 Know your definitions!
CSci 2011 Discrete Mathematics Lecture 6
10/17/2015 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(1) Dr.Saad Alabbad Department of Computer Science
COS 150 Discrete Structures Assoc. Prof. Svetla Boytcheva Fall semester 2014.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
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.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
Chapter 1: The Foundations: Logic and Proofs
Propositional Equivalence A needed step towards proofs Copyright © 2014 Curt Hill.
UMBC CMSC 203, Section Fall CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
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.
CSci 2011 Discrete Mathematics Lecture 4 CSci 2011.
2.3 Methods of Proof.
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
CS104:Discrete Structures Chapter 2: Proof Techniques.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
Discrete Mathematics Lecture # 7. Bi conditional  If p and q are statement variables, the bi conditional of p and q is  “ p if, and only if, q ” and.
Mathematics for Computing Lecture 2: Computer Logic and Truth Tables Dr Andrew Purkiss-Trew Cancer Research UK
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.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Logic and Truth Tables Winter 2012 COMP 1380 Discrete Structures I Computing Science Thompson Rivers University.
CSci 2011 Discrete Mathematics Lecture 5 CSci 2011.
Sound Arguments and Derivations. Topics Sound Arguments Derivations Proofs –Inference rules –Deduction.
2. The Logic of Compound Statements Summary
Propositional Equivalences
The Foundations: Logic and Proofs
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
Methods of proof Section 1.6 & 1.7 Wednesday, June 20, 2018
COT 3100, Spr Applications of Discrete Structures
(CSC 102) Discrete Structures Lecture 2.
Methods of Proof A mathematical theorem is usually of the form pq
Propositional Equivalences
Information Technology Department
Propositional Equivalence (§1.2)
CS 220: Discrete Structures and their Applications
Lecture 2: Propositional Equivalences
1.8 – Algebraic Proofs Objective:
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:

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  p; p  p  p Idempotent Laws  (  p)  pDouble Negation Law p  q  q  p; p  q  q  pCommutative Laws (p  q)  r  p  (q  r); (p  q)  r  p  (q  r) Associative Laws

List of Equivalences p  (q  r)  (p  q)  (p  r)Distribution Laws p  (q  r)  (p  q)  (p  r)  (p  q)  (  p   q)De Morgan’s Laws  (p  q)  (  p   q) Miscellaneous p   p  TOr Tautology p   p  FAnd Contradiction (p  q)  (  p  q)Implication Equivalence p  q  (p  q)  (q  p)Biconditional Equivalence

The Proof Process Assumptions Logical Steps Conclusion (That which was to be proved) -Definitions -Already-proved equivalences -Statements (e.g., arithmetic or algebraic)

Prove: (p  q)  q  p  q (p  q)  q Left-Hand Statement  q  (p  q) Commutative  (q  p)  (q  q) Distributive  (q  p)  TOr Tautology  q  p Identity  p  q Commutative Begin with exactly the left-hand side statement End with exactly what is on the right Justify EVERY step with a logical equivalence

Prove: (p  q)  q  p  q (p  q)  q Left-Hand Statement  q  (p  q) Commutative  (q  p)  (q  q) Distributive Why did we need this step? Our logical equivalence specified that  is distributive on the right. This does not guarantee the equivalence works on the left! Ex.: Matrix multiplication is not always commutative (Note that whether or not  is distributive on the left is not the point here.)

Prove: p  q   q   p p  q   p  q Implication Equivalence  q   p Commutative   (  q)   p Double Negation   q   p Implication Equivalence Contrapositive

Prove: p  p  q is a tautology Must show that the statement is true for any value of p,q. p  p  q   p  (p  q) Implication Equivalence  (  p  p)  q Associative  (p   p)  q Commutative  T  q Or Tautology  q  T Commutative  T Domination This tautology is called the addition rule of inference.

Why do I have to justify everything? Note that your operation must have the same order of operands as the rule you quote unless you have already proven (and cite the proof) that order is not important. 3+4 = 4+3 3/4  4/3 A*B  B*A for everything (for example, matrix multiplication)

Prove: (p  q)  p is a tautology (p  q)  p   (p  q)  p Implication Equivalence  (  p  q)  pDeMorgan’s  (  q  p)  pCommutative   q  (  p  p)Associative   q  (p   p)Commutative   q  TOr Tautology  TDomination

Prove or Disprove p  q  p   q ??? To prove that something is not true it is enough to provide one counter-example. (Something that is true must be true in every case.) pqp  qp  q FTTFFTTF The statements are not logically equivalent

Prove:  p  q  p   q  p  q  (  p  q)  (q  p)Biconditional Equivalence  (  p  q)  (  q  p)Implication Equivalence (x2)  (p  q)  (  q  p)Double Negation  (q  p)  (  p  q)Commutative  (  q  p)  (  p  q)Double Negation  (  q  p)  (p  q)Implication Equivalence (x2)  p   q Biconditional Equivalence