I am trying to do a question which goes like this:
Show that (P ∨((P∧( P ∨~Q)) ∧~Q)) ∧(Q →(Q∧~P)) ≡ (P ∧~Q), using the logical equivalence.
So this is how i went about doing it:
(Q →(Q∧~P)) = (~Q ∨ (Q ^ ~P)) using implication equivalence
(P∧( P ∨~Q) ∧~Q) = (P^P) ∨ (P^~Q) ^ ~Q using distributive law
(P^P) ∨ (P^~Q) ^ ~Q = p ∨ p^(~Q^~Q) using idempotent law and associative law
p^(~Q^~Q) = P^~Q using idempotent law
(~Q ∨ (Q ^ ~P)) = (~Q ∨ Q) ^ (~Q ∨~P) using distributive law
(~Q ∨ Q) ^ (~Q ∨~P) = t ^ (~Q ∨ ~P) using negation property
t ^ (~Q ∨ ~P) = identity property
After this i have problem solving it. My equation stacks up like this:
(P ∨ p ∨ (P^~Q) ^ (~Q ∨ ~P)
Now i can combine P ∨ P tom make it P using idempotent law
So now it becomes like this:
P ∨ (P^~Q) ^ (~Q ∨ ~P) // i can still apply distributive law but it leads me to nowhere. I believe i have messed up something using the laws.
SE community please point me in the right direction.