doc-src/Intro/gate.thy
author kleing
Sun, 12 Feb 2006 10:42:19 +0100
changeset 19022 0e6ec4fd204c
parent 105 216d6ed87399
permissions -rw-r--r--
* moved ThreeDivides from Isar_examples to better suited HOL/ex * moved 2 summation lemmas from ThreeDivides to SetInterval

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