WOLFRAM|DEMONSTRATIONS PROJECT

Boolean Primitives as Symmetric Boolean Functions

​
function
And
Or
Xor
Xnor
Nand
Nor
Equivalent
Majority
variables
1
2
3
4
5
6
7
8
9
10
The Boolean functions And, Nand, Or, Nor, Xor, Xnor, Equivalent, and Majority are all special cases of the general symmetric function BooleanCountingFunction. This explores the equivalence by giving the implementation of the primitives in terms of arguments to BooleanCountingFunction and truth tables.