Example 1.1.4
Testing For Logical Equivalence
of Exclusive Or
Truth values for p xor q and (p q) ~(p q) are the same, so the 2 expressions are logically equivalent.