doc-src/Intro/gate.thy
author ballarin
Wed, 03 Dec 2008 15:27:41 +0100
changeset 28951 e89dde5f365c
parent 105 216d6ed87399
permissions -rw-r--r--
Sublocale: removed public after_qed; identifiers private to NewLocale.

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