Xor is a logical binary operation which takes two values of the set of and applies the “exclusive or” function which only returns 1 if both operands are different and will otherwise return 0.
The operation is noted as throughout my work. \otimes in LaTeX.
| Arg 1 | Arg 2 | Return |
|---|---|---|
Truth table of Xor Note that this is an inversion of
Decomposition of Xor
see also Decomposition of Biconditional = = =
Self-Cancellation Property
Xor is a fascinating operation because for any elements , This is because in the monoid , you have that and
This principle abides by the Law requirements therefore any monoid in the Variety generated by exhibits this. This is why we see it in Binary Numbers at scale and in programming.