Docsity

Logical Equivalences in Discrete Structures: Important Equivalences and Examples - Prof. S, Study notes of Discrete Structures and Graph Theory

Partial preview of the text

Download Logical Equivalences in Discrete Structures: Important Equivalences and Examples - Prof. S and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

Propositional Equivalences

Section 1.

Example

  • (^) You cannot ride the roller coaster if

you are under 4 feet tall unless

you are older than 16 years old.

Logical Equivalences

  • (^) Two propositions p and q are logically equivalent if they have the same truth values in all possible cases.
  • (^) Two propositions p and q are logically equivalent if p ๏‚ซ q is a tautology.
  • (^) Notation: p ๏ƒ› q or p ๏‚บ q

Determining Logical

Equivalence

  • (^) Use a truth table.
  • (^) Show that ๏ƒ˜(p ๏ƒš q) and ๏ƒ˜p ๏ƒ™ ๏ƒ˜q are

logically equivalent.

  • (^) Not a very efficient method, WHY?
  • (^) Solution: Develop a series of

equivalences.

Important

Equivalences

p ๏ƒš q ๏ƒ› q ๏ƒš p Commutative p ๏ƒ™ q ๏ƒ› q ๏ƒ™ p (p ๏ƒš q) ๏ƒš r ๏ƒ› p ๏ƒš (q ๏ƒš r) Associative (p ๏ƒ™ q) ๏ƒ™ r ๏ƒ› p ๏ƒ™ (q ๏ƒ™ r) p ๏ƒš (q ๏ƒ™ r) ๏ƒ› (p ๏ƒš q) ๏ƒ™ (p ๏ƒš r) Distributive p ๏ƒ™ (q ๏ƒš r) ๏ƒ› (p ๏ƒ™ q) ๏ƒš (p ๏ƒ™ r) ๏ƒ˜(p ๏ƒ™ q) ๏ƒ› ๏ƒ˜p ๏ƒš ๏ƒ˜q De Morganโ€™s ๏ƒ˜(p ๏ƒš q) ๏ƒ› ๏ƒ˜p ๏ƒ™ ๏ƒ˜q

Important

Equivalences

p ๏ƒš (p ๏ƒ™ q) ๏ƒ› p Absorption p ๏ƒ™ (p ๏ƒš q) ๏ƒ› p p ๏ƒš ๏ƒ˜p ๏ƒ› T Negation p ๏ƒ™ ๏ƒ˜p ๏ƒ› F

Important Equivalences Involving Implications p โ†’ q ๏ƒ› ๏ƒ˜p ๏ƒš q p โ†’ q ๏ƒ› ๏ƒ˜ q โ†’ ๏ƒ˜ p (p โ†’ q) ๏ƒ™ (p โ†’ r) ๏ƒ› p โ†’ (q ๏ƒ™ r) (p โ†’ q) ๏ƒš (p โ†’ r) ๏ƒ› p โ†’ (q ๏ƒš r) pโ†” q ๏ƒ› (p โ†’ q) ๏ƒ™ (q โ†’ p)

Example

  • (^) Show that (p ๏ƒ™ q) ๏‚ฎ (p ๏ƒš q) is a

tautology.