doc-src/Intro/gate.thy
author huffman
Sat, 20 Aug 2011 15:19:35 -0700
changeset 44350 63cddfbc5a09
parent 105 216d6ed87399
permissions -rw-r--r--
replace lemma realpow_two_diff with new lemma square_diff_square_factored

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