doc-src/Intro/gate.thy
author oheimb
Tue, 24 Mar 1998 15:57:18 +0100
changeset 4755 843b5f159c7e
parent 105 216d6ed87399
permissions -rw-r--r--
added cproj', and therefore extended prj tried to fix polymorphism problem for take_defs. A full solution will require significant changes.

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