The Foundations: Logic and Proofs

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.
Uses for Truth Tables Determine the truth conditions for any compound statementDetermine the truth conditions for any compound statement Determine whether.
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 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Chapter 9: Boolean Algebra
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
The Foundations: Logic and Proofs
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Propositional Equivalences
The Foundations Logic and Proofs by raedRASHEED 2014.
September1999 CMSC 203 / 0201 Fall 2002 Week #1 – 28/30 August 2002 Prof. Marie desJardins.
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)
Chapter 1: The Foundations: Logic and Proofs
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.
1 Section 6.2 Propositional Calculus Propositional calculus is the language of propositions (statements that are true or false). We represent propositions.
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.
Thinking Mathematically Logic 3.4 Truth Tables for the Conditional and Biconditional.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Law of logic Lecture 4.
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
2. The Logic of Compound Statements Summary
Propositional Equivalences
Propositional Equivalence
CSE15 Discrete Mathematics 01/23/17
DISCRETE MATHEMATICS CHAPTER I.
Thinking Mathematically
Truth Tables and Equivalent Statements
Citra Noviyasari, S.Si, MT
Logical Equivalence of Propositions
CSE 311 Foundations of Computing I
Classwork/Homework Classwork – Page 90 (11 – 49 odd)
How do I show that two compound propositions are logically equivalent?
(CSC 102) Discrete Structures Lecture 2.
Discussion #10 Logical Equivalences
Discrete Mathematics Lecture # 2.
Mathematics for Computing
Discrete Structures for Computer Science
1.2 Propositional Equivalences
Propositional Equivalences
Information Technology Department
Propositional Equivalence (§1.2)
CS 220: Discrete Structures and their Applications
Propositional Equivalences
CSE 311 Foundations of Computing I
CSS 342 Data Structures, Algorithms, and Discrete Mathematics I
Lecture 2: Propositional Equivalences
CSE 321 Discrete Structures
Logical Truth To show a statement A is a logic truth (tautology) ...
1.2 Propositional Equivalences
Section 3.7 Switching Circuits
Foundations of Discrete Mathematics
1.2 Propositional Equivalences
Section 3.3 Truth Tables for the Conditional and Biconditional
The Foundations: Logic and Proofs
Truth Tables for the Conditional and Biconditional
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.
The Foundations: Logic and Proofs
The Foundations: Logic and Proofs
Concepts of Computation
Presentation transcript:

The Foundations: Logic and Proofs 1.3 Propositional Equivalences

Section Summary Tautologies, Contradictions, and Contingencies. Logical Equivalence Important Logical Equivalences Showing Logical Equivalence

Tautologies, Contradictions, and Contingencies A tautology is a proposition which is always true. Example: p ∨¬p A contradiction is a proposition which is always false. Example: p ∧¬p A contingency is a proposition which is neither a tautology nor a contradiction, such as p P ¬p p ∨¬p p ∧¬p T F

Logically Equivalent Two compound propositions p and q are logically equivalent if p↔q is a tautology. We write this as p⇔q or as p≡q where p and q are compound propositions. Two compound propositions p and q are equivalent if and only if the columns in a truth table giving their truth values agree. This truth table show ¬p ∨ q is equivalent to p → q. p q ¬p ¬p ∨ q p→ q (¬p ∨ q) ↔ (p→ q) T F

Logically Equivalent Prove that [r(q(r  p ))]  r(pq) by using a truth table.

De Morgan’s Laws Augustus De Morgan 1806-1871 This truth table shows that De Morgan’s Second Law holds. p q ¬p ¬q (p∨q) ¬(p∨q) ¬p∧¬q T F

Use De Morgan’s law to express the negation of “Ahmed has a mobile and he has a laptop” p: “Ahmed has a mobile” q: “Ahmed has a laptop” p  q (pq)  p q  p: “Ahmed does not have a mobile”  q: “Ahmed does not have a laptop” “Ahmed does not have a mobile or he does not have a laptop”

Key Logical Equivalences Identity Laws: , Domination Laws: , Idempotent laws: , Double Negation Law: Negation Laws: ,

Key Logical Equivalences (cont) Commutative Laws: , Associative Laws: Distributive Laws: Absorption Laws:

More Logical Equivalences

Constructing New Logical Equivalences We can show that two expressions are logically equivalent by developing a series of logically equivalent statements. To prove that we produce a series of equivalences beginning with A and ending with B. Keep in mind that whenever a proposition (represented by a propositional variable) occurs in the equivalences listed earlier, it may be replaced by an arbitrarily complex compound proposition.

Equivalence Proofs p q p  q T F p  q Show that p  q and p  q are logically equivalent p q p  q p  q T F Because the truth values of p  q and p  q agree, they are logically equivalence

Equivalence Proofs Show that (p  q)  p  q (p  q)   ( p  q) by the previous example   ( p)  ( q) by De Morgan law 2  p   q by the double negation law

Equivalence Proofs Example: Show that is logically equivalent to Solution:

Equivalence Proofs Example: Show that is a tautology. Solution: