doc-src/Intro/gate.thy
author berghofe
Wed, 21 Sep 2005 12:02:56 +0200
changeset 17551 2a747fc49a8c
parent 105 216d6ed87399
permissions -rw-r--r--
Simplified code generator for numerals.

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