doc-src/Intro/gate.thy
author huffman
Tue, 13 Dec 2011 13:21:48 +0100
changeset 45851 19f7ac6cf3cc
parent 105 216d6ed87399
permissions -rw-r--r--
add simp rules for bin_rest and bin_last applied to numerals

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