doc-src/Intro/gate.thy
author berghofe
Fri, 21 Jul 2006 14:11:14 +0200
changeset 20173 c8f791af9a60
parent 105 216d6ed87399
permissions -rw-r--r--
Some cases in "case ... of ..." expressions may now be omitted (internally, these cases are assigned the "undefined" value).

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