doc-src/Intro/gate.thy
author krauss
Sat, 25 Dec 2010 22:18:55 +0100
changeset 41403 7eba049f7310
parent 105 216d6ed87399
permissions -rw-r--r--
partial_function (tailrec) replaces function (tailrec); dropped unnecessary domain reasoning; curried polydivide_aux

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