doc-src/Intro/gate.thy
author wenzelm
Fri, 03 Sep 2010 10:58:11 +0200
changeset 39049 423b72f2d242
parent 105 216d6ed87399
permissions -rw-r--r--
prefer regular Proof.context over background theory; misc tuning and simplification;

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