·¡Ý£µ
´ðËÜÏÀÍý±é»»¤ÎAND (ÏÀÍýÀÑ)¡¢OR (ÏÀÍýÏÂ)¡¢NOT (ÈÝÄê) ¤òÍѤ¤¤Æ¹½À®¤·¤¿¼¡¤Î¼°¤Î¤¦¤Á¡¢ÇÓ¾ŪÏÀÍýÏ (XOR) ¤È¤Ê¤ë¼°¤È¤·¤Æ¡¢ºÇ¤âŬÀڤʤâ¤Î¤Ï¤É¤ì¤«¡£
¤Ê¤ª¡¢
¡¡a AND b ¤ò AND (a, b)¡¢
¡¡a OR b ¤ò OR (a, b)¡¢
¡¡NOT a ¤ò NOT (a)
¤Èɽ¸½¤¹¤ë¡£
¡¡¡XOR(a, b) = AND(OR(a, NOT(b)), OR(NOT(a), b))
¢¡¡XOR(a, b) = OR(AND(a¡¢NOT(b)), AND(NOT(a)¡¢b))
£¡¡XOR(a, b) = AND(OR(a, b)¡¢OR(a, b))
¤¡¡XOR(a, b) = OR(AND(a, b), AND(a, b))
¥¡¡XOR(a, b) = NOT(AND(a, OR(a, b)))