The translation is not unique. It assumes certain operator priorities.
To do the translation, the following operators have to be taken into account:
When I run these expressions in a home-grown program, I get the following truth table:
This shows that both expressions are equivalent.
May be, that my assumptions are not true and the result should be a tautology for both expressions (all rows in the truth table have $1$ as result). This could lead to an equivalence proof: Show that both expressions are in fact tautologies.
This is a good example to get to know all boolean operators and to practice operator precedence.
I translated both expressions into boolean
C#expressions:The translation is not unique. It assumes certain operator priorities.
To do the translation, the following operators have to be taken into account:
When I run these expressions in a home-grown program, I get the following truth table:
This shows that both expressions are equivalent.
May be, that my assumptions are not true and the result should be a tautology for both expressions (all rows in the truth table have $1$ as result). This could lead to an equivalence proof: Show that both expressions are in fact tautologies.