By definition a function is said to be a commutative function if f(x, y) = f(y, x).
So commutative functions are:
[0,0,0,0] =x XOR x
[0,0,0,1]=x XOR ((x IMPL y) XOR ((x XOR x) IMPL(x XOR y)))
[0,0,1,1]=x
[0,1,1,1]=y XOR ((x IMPL y) XOR ((x XOR x) IMPL(x XOR y)))
[1,0,0,0]=x XOR(y IMPL x)
[1,0,1,0]=y IMPL(x XOR x)
[1,1,0,0]=x IMPL(x XOR x)
[1,1,1,1]=(x XOR x) IMPL (x XOR y)
No comments:
Post a Comment