doc-src/Intro/gate.thy
author paulson
Fri, 18 Sep 1998 16:04:44 +0200
changeset 5509 c38cc427976c
parent 105 216d6ed87399
permissions -rw-r--r--
Now defines "int" as a linear order; basic derivations moved to IntDef

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