I have a proposition:
((x v y) <=> (~x => ~y))
When I solve this, I end up getting True but the answer is False. Here's how I solved it:
when we have a <=> b, we can write it as ~a.~b + a.b and a => b becomes ~a+b
So the above equation becomes:
=> ~(x + y).~(~x => ~y) + (x + y).(~x => ~y)
=> ~(x+y).~(x+~y) + (x+y).(x+~y)
Using De Morgan's law (~(a+b) = ~a.~b and ~(a.b) = ~a+~b)
=> (~x.~y).(~x.y) + (x+y).(x+~y)
=> (~x.~x + ~x.y + ~y.~x + ~y.y) + (x.x + x.~y + y.x + y.~y)
=> (~x + ~x(y+~y) + 0) + (x + x(~y + y) + 0)
=> (~x + ~x) + (x + x)
=> ~x + x which is always True
But, according to another solution, <=> is only True when both sides result in the same solution, So, if we go by this:
=> LHS = x+y and RHS is (x + ~y), which can never be equal and hence, False.
So what am I doing wrong?
EDIT:
PS: This is where I got the question from.
I did apply the distributive property. But that's valid, right?
– Sarvagya Gupta Jun 30 '20 at 16:15