doc-src/Intro/gate.thy
author bulwahn
Wed, 20 Jul 2011 08:16:33 +0200
changeset 43910 575bf39e078b
parent 105 216d6ed87399
permissions -rw-r--r--
making messages more informative

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