doc-src/Intro/gate.thy
author wenzelm
Wed, 06 Sep 2006 22:48:36 +0200
changeset 20487 6ac7a4fc32a0
parent 105 216d6ed87399
permissions -rw-r--r--
read_instantiate: declare names of TVars as well (temporary workaround for no-freeze feature of type inference);

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