Negation of "Either X is true, or Y is true, but not both"
My attempt:
If seems that let X be true and Y be true, not X for X is false and not Y for Y is false. In order for the above statement to be True, we need:
The negation of both X and Y to be true: negate(X and Y) -> not X or not Y
For "Either X is true, or Y is true, but not both" is equivalent to below:
((X or Y) and (not X or not Y))
The negation of the above (negation turns "and" into "or", and turns "or" into "and"):
((not X and not Y) or (X and Y))
Is this logical or? I am pretty lost...
A basic approach is to see there only are 4 possibilities:
Your statement was (2) or (3), so its negation is (1) or (4).