doc-src/Intro/gate.thy
author clasohm
Thu, 08 Dec 1994 12:46:25 +0100
changeset 764 b60e77395d1a
parent 105 216d6ed87399
permissions -rw-r--r--
changed Pure's grammar and the way types are converted to nonterminals

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