This is what I want: !A || (A && B && C)
Is this equivalent to the original? !A || A && B && C
why or why not?
Yes, they are the same. So is the simplified !A || B && C
.
The &&
operator has higher precedence than the ||
operator, so the parentheses around the &&
operation are unnecessary.