This is (almost) DeMorgan's laws written in C-language syntax (though other languages use the same syntax, too). Writing it a bit more tidily, it would be:
!(a && b) = (!a) || (!b)
!(a || b) = (!a) && (!b)
That's not exactly what you wrote, but I expect it's what you meant to write.
I don't know anything about symbolic logic notation, but in set-theoretic notation, the equivalent laws would be:
$$ (A \cap B)^c = A^c \cup B^c $$
$$ (A \cup B)^c = A^c \cap B^c $$
Or, in English (almost):
not(A and B) = (not A) or (not B)
not(A or B) = (not A) and (not B)