Let us use laws of logic solve the following compound propositions.
[pβ§(Β¬pβ¨q)]β¨[qβ§Β¬(pβ§q)]
| use the distributive law |
=[(pβ§Β¬p)β¨(pβ§q)]β¨[qβ§Β¬(pβ§q)]
| use de Morgan law |
=[(pβ§Β¬p)β¨(pβ§q)]β¨[qβ§(Β¬pβ¨Β¬q)]
| use the law of contradiction |
=[Fβ¨(pβ§q)]β¨[qβ§(Β¬pβ¨Β¬q)]
| use the distributive law |
=[Fβ¨(pβ§q)]β¨[(qβ§Β¬p)β¨(qβ§Β¬q)]
| use the constant law |
=(pβ§q)β¨[(qβ§Β¬p)β¨(qβ§Β¬q)]
| use the law of contradiction |
=(pβ§q)β¨[(qβ§Β¬p)β¨F]
| use the constant law |
=(pβ§q)β¨(qβ§Β¬p)
| use the commutative law |
=(qβ§p)β¨(qβ§Β¬p)
| use the distributive law |
=qβ§(pβ¨Β¬p)
| use the law of the excluded third |
=qβ§T
| use the constant law |
=q