doc-src/Intro/gate.thy
author krauss
Tue, 06 Jun 2006 09:28:24 +0200
changeset 19782 48c4632e2c28
parent 105 216d6ed87399
permissions -rw-r--r--
HOL/Tools/function_package: imporoved handling of guards, added an example

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