x || !x == true # Tautology
x && !x == false # Contradiction
true && x == x # Identity law
false || x == x # Identity law
true || x == true # Nullification law
false && x == false # Nullification law
x && x == x # Idempotent law
x || x == x # Idempotent law
x || y == y || x # Commutative law
x && y == y && x # Commutative law
x || (y || z) == (x || y) || z # Associative law
x && (y && z) == (x && y) && z # Associative law
(!x || !y) == !(x && y) # De Morgan's law
(!x && !y) == !(x || y) # De Morgan's law
x && (y || z) == (x && y) || (x && z) # Distributive Law
x || (y && z) == (x || y) && (x || z) # Distributive Law
(!x || !y) == !(x && y)
(!x && !y) == !(x || y)
x && y == !(!x || !y)
x || y == !(!x && !y)
Source