doc-src/Intro/gate.thy
author huffman
Wed, 08 Nov 2006 00:34:15 +0100
changeset 21238 c46bc715bdfd
parent 105 216d6ed87399
permissions -rw-r--r--
generalized types of of_nat and of_int to work with non-commutative types

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