doc-src/Intro/gate.thy
author huffman
Tue, 23 Aug 2011 14:11:02 -0700
changeset 44457 d366fa5551ef
parent 105 216d6ed87399
permissions -rw-r--r--
declare euclidean_simps [simp] at the point they are proved; avoid duplicate rule warnings;

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