doc-src/Intro/gate.thy
author berghofe
Tue, 01 Jun 2004 15:00:26 +0200
changeset 14860 e9e0d8618043
parent 105 216d6ed87399
permissions -rw-r--r--
Adapted to new name mangling function in code generator.

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