This verifies the first version of DeMorgan's Law below and the idempotent law (~~x = x)
~(x & y) = ~x | ~y ~(x | y) = ~x & ~y ~~x = x