I got screwed when trying to understand this expression. I've thought several times but I cant get the meaning.
! (p || q) is equivalent to !p && !q For this one, somehow I can comprehend a little bit. My understanding is " Not (p q) = not p and not q" which is understandable
! (p && q) is equivalent to !p || !q For the second, I'm totally got screwed. How come
My understanding is " Not (p q) = Not p or Not q " . How come and and or can be equivalent each other? as for the rule in the truth table between && and || is different.
That's how I comprehend each expression, perhaps I have the wrong method in understand the expression. Could you tell me how to understand those expressions?