A nand gate can be represented as a polynomial (over a binary ring) as
result = (x+y)*(1-xy) = x+y-xy
A nand gate can be represented as a polynomial (over a binary ring) as
result = (x+y)*(1-xy) = x+y-xy