Was given this to figure out. He said its mathematical, no its not homework. More of one guy trying to prove he is smarter than me.
The code:
(!(a&&b)) == |!a||!b| T
!(a||b) == !a&&!b
I think it might be some symbolic logic, but couldn't figure out from reading about symbolic mathematics from google searches. That is only my guess.
The second says not (A or B) = not A and not B. ie) if neither A or B is true, then both A is false, and B is false. As avatar has said, these are de morgan's laws.
– muzzlator Mar 06 '13 at 13:18