doc-src/Intro/gate.thy
author haftmann
Thu, 10 Sep 2009 14:07:58 +0200
changeset 32553 bf781ef40c81
parent 105 216d6ed87399
permissions -rw-r--r--
cleanedup theorems all_nat ex_nat

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