
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
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
1 / 1
This page cannot be seen from the preview
Don't miss anything!

(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
(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
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 by negation law
= T by disjunction law
(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
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 by Negation law
= T by Conjunction law
(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