Masimatutu@lemm.ee to Programmer Humor@lemmy.ml · 10 months agotrick OR treatmedia.infosec.exchangeimagemessage-square22fedilinkarrow-up11.14Karrow-down19
arrow-up11.13Karrow-down1imagetrick OR treatmedia.infosec.exchangeMasimatutu@lemm.ee to Programmer Humor@lemmy.ml · 10 months agomessage-square22fedilink
minus-squarewvstolzing@lemmy.mllinkfedilinkarrow-up1·10 months agoNAND and XOR aren’t equivalent, though | X | Y | X NAND Y | | 0 | 0 | 1 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 | | X | Y | X XOR Y | | 0 | 0 | 0 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 | & XOR can be reduced to NAND; not sure if NAND can be reduced to XOR
minus-squaremyslsl@mastodon.sociallinkfedilinkarrow-up2·10 months ago@walthervonstolzing @AntiOutsideAktion If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete. https://en.m.wikipedia.org/wiki/Functional_completeness
minus-squareAntiOutsideAktion [he/him]@hexbear.netlinkfedilinkEnglisharrow-up1arrow-down1·edit-210 months agopretty sure I meant to say nor
NAND and XOR aren’t equivalent, though
| X | Y | X XOR Y | | 0 | 0 | 0 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 |
& XOR can be reduced to NAND; not sure if NAND can be reduced to XOR
@walthervonstolzing @AntiOutsideAktion
If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete.
https://en.m.wikipedia.org/wiki/Functional_completeness
pretty sure I meant to say nor