doc-src/Intro/gate.thy
author wenzelm
Mon, 29 Nov 1993 12:27:29 +0100
changeset 164 43506f0a98ae
parent 105 216d6ed87399
permissions -rw-r--r--
added SCANNER; changed scan_any: no longer uses take_prefix;

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