doc-src/Intro/gate.thy
author haftmann
Tue, 08 Dec 2009 13:41:37 +0100
changeset 34031 f7480c5a34e8
parent 105 216d6ed87399
permissions -rw-r--r--
commit

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