doc-src/Intro/gate.thy
author huffman
Wed, 10 Mar 2010 14:57:13 -0800
changeset 35700 951974ce903e
parent 105 216d6ed87399
permissions -rw-r--r--
new theory Library/Nat_Bijection.thy

Gate = FOL +
consts  nand,xor :: "[o,o] => o"
rules   nand_def "nand(P,Q) == ~(P & Q)"
        xor_def  "xor(P,Q)  == P & ~Q | ~P & Q"
end