FAQ Database Discussion Community


Logical Boolean Negation Operator Precedence and Association

php,boolean-logic,negation,boolean-algebra
here's my first question(s) on StackOverflow, and as such I imagine it has been asked here before, but everything I type into the search bar gives me different questions. (Or sometimes "no" results at all!) I am learning on w3Schools, but I saw this seemingly simple code snippet which stirred...

Which laws simplify this boolean expression?

boolean-expression,simplification,boolean-algebra
Which laws do I need to use to simplify !X + (!Y + !Z)*(Y + Z) to !X + (Y*!Z) + (!Y*Z) ...