Logical Equivalences: Proving ¬(p → q) ≡ p ∧ ¬q, ¬(p ∨ ¬p ∧ q) ≡ ¬p ∧ ¬q, + more, Lecture notes of Mathematics

Proofs for various logical equivalences, including ¬(p → q) ≡ p ∧ ¬q, ¬(p ∨ ¬p ∧ q) ≡ ¬p ∧ ¬q, and (p → q) ∧ (q → r) ≡ p → r. These proofs are based on the principles of logic, such as the conditional law, de morgan's laws, the double negation law, and the distributive law.

Typology: Lecture notes

2019/2020

Uploaded on 01/27/2022

ellen-mae-olaguer
ellen-mae-olaguer 🇺🇸

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PROVING LOGICAL EQUIVALENCES
1. Show that
¬
(p
q) and p
¬
q are logically equivalent.
¬
(p
q) =
¬
(
p
q) by Conditional law
=
¬
(
p)
¬
q by the second De Morgan law
= p
¬
q by the double negation law
2. Prove that
¬
(p
(
¬
p
q)) and
¬
p
¬
q.
¬
(p
(
¬
p
q)) =
¬
p
¬
(
¬
p
q) by the second De Morgan law
=
¬
p
[
¬
(
¬
p )
¬
q ] by the first De Morgan law
=
¬
p
(p
¬
q) by the double negation law
= (
¬
p
p )
(
¬
p
¬
q) by the second distributive law
= F
(
¬
p
¬
q) because
p
p = F
= (
¬
p
¬
q)
F by the commutative law for disjunction
=
¬
p
¬
q by the identity law for F
3. Show that (p
q)
(p
q) is a tautology.
(p
q)
(p
q) =
¬
(p
q)
(p
q) by Conditional law
= (
¬
p
¬
q)
(p
q) by the first De Morgan law
= (
¬
p
p)
(
¬
q
q) by the associative and commutative laws for
disjunction
= T
T by negation law
= Tby disjunction law
4. Show that (p
q)
(
p
r)
(q
r) is a tautology.
(p
q)
(
¬
p
r)
(q
r) = (p
q)
¬
(
¬
p
r)
(q
r) by Conditional law
= (p
q)
(
¬
(
¬
p)
¬
r)
(q
r) by De Morgan law
= (p
q)
(p
¬
r)
(q
r) by Double negation law
= (p
p)
(q
q)
(
¬
r
r) by Basic laws simplification
= p
q
T by Negation law
= T
T by ā law
= Tby Conjunction law
5. Show that (p
q)
(q
r)
(p
r) is a tautology.
(p
q)
(q
r)
(p
r)
=
¬
[(
¬
p
q)
(
¬
q
r)]
(
¬
p
r) by Conditional law
= [
¬
(
¬
p
q)
¬
(
¬
q
r)]
(
¬
p
r) by De Morgan law
= (
¬
(
¬
p)
¬
q))
(
¬
(
¬
q)
¬
r))
(
¬
p
r) by De Morgan law
= (p
¬
q)
(q
¬
r)
(
¬
p
r) by Double negation law
= (p
¬
p)
(
¬
q
q)
(
r
r) by Basic laws simplification
= T
T
T by Negation law
= Tby Conjunction law
6. Prove that (p
q)
(q
r)
(p
r) = T
(p
q)
(q
r)
(p
r)
= (
¬
p
q)
¬
(
¬
q
r)
(
p
r) by Conditional law
= (
¬
p
q)
(
¬
(
¬
q)
¬
r)]
(
¬
p
r) by De Morgan law
= (
¬
p
q)
(q
¬
r)]
(
¬
p
r) by Double negation law
= (
¬
p
¬
p)
(q
q)
(
r
r) by Basic laws simplification
=
¬
p
q
T by Idempotent and Negation law
= T
T by ā law
= Tby Conjunction law

Partial preview of the text

Download Logical Equivalences: Proving ¬(p → q) ≡ p ∧ ¬q, ¬(p ∨ ¬p ∧ q) ≡ ¬p ∧ ¬q, + more and more Lecture notes Mathematics in PDF only on Docsity!

PROVING LOGICAL EQUIVALENCES

  1. Show that

(p

q) and p

q are logically equivalent.

(p

q) =

p

q) by Conditional law

p)

q by the second De Morgan law

= p ∧ ¬ q by the double negation law

  1. Prove that ¬ (p ( ¬ p q)) and ¬ p ∧ ¬ q.

(p

p

q)) =

p

p

q) by the second De Morgan law

p

[

p )

q ] by the first De Morgan law

p

(p

q) by the double negation law

= ( ¬ p p ) ( ¬ p ∧ ¬ q) by the second distributive law

= F ( ¬ p ∧ ¬ q) because ¬ p p = F

= ( ¬ p ∧ ¬ q) F by the commutative law for disjunction

= ¬ p ∧ ¬ q by the identity law for F

  1. Show that (p

q)

(p

q) is a tautology.

(p q) (p q) = ¬ (p q) (p q) by Conditional law

= ( ¬ p ∨ ¬ q) (p q) by the first De Morgan law

= ( ¬ p p) ( ¬ q q) by the associative and commutative laws for

disjunction

= T

T by negation law

= T by disjunction law

  1. Show that (p q) ( ¬ p r) (q r) is a tautology.

(p q) ( ¬ p r) (q r) = (p q) ∧ ¬ ( ¬ p r) (q r) by Conditional law

= (p q) ( ¬ ( ¬ p) ∧ ¬ r) (q r) by De Morgan law

= (p

q)

(p

r)

(q

r) by Double negation law

= (p

p)

(q

q)

r

r) by Basic laws simplification

= p q T by Negation law

= T T by ā law

= T by Conjunction law

  1. Show that (p

q)

(q

r)

(p

r) is a tautology.

(p

q)

(q

r)

(p

r)

= ¬ [( ¬ p q) ( ¬ q r)] ( ¬ p r) by Conditional law

= [ ¬ ( ¬ p q) ∨ ¬ ( ¬ q r)] ( ¬ p r) by De Morgan law

= ( ¬ ( ¬ p) ∧ ¬ q)) ( ¬ ( ¬ q) ∧ ¬ r)) ( ¬ p r) by De Morgan law

= (p ∧ ¬ q) (q ∧ ¬ r) ( ¬ p r) by Double negation law

= (p

p)

q

q)

r

r) by Basic laws simplification

= T

T

T by Negation law

= T by Conjunction law

  1. Prove that (p q) (q r) (p r) = T

(p

q)

(q

r)

(p

r)

p

q)

q

r)

p

r) by Conditional law

p

q)

q)

r)]

p

r) by De Morgan law

= ( ¬ p q) (q ∧ ¬ r)] ( ¬ p r) by Double negation law

= ( ¬ p ∨ ¬ p) (q q) ( ¬ r r) by Basic laws simplification

= ¬ p q T by Idempotent and Negation law

= T T by ā law

= T by Conjunction law