doc-src/Intro/gate.thy
author wenzelm
Thu, 03 Jun 2010 23:56:05 +0200
changeset 37310 96e2b9a6f074
parent 105 216d6ed87399
permissions -rw-r--r--
do not open Proofterm, which is very ould style;

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