doc-src/Intro/gate.thy
author wenzelm
Tue, 19 Jul 2005 17:21:49 +0200
changeset 16877 e92cba1d4842
parent 105 216d6ed87399
permissions -rw-r--r--
tuned interfaces declare, define, finalize, merge: canonical argument order, produce errors; tuned checkT';

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