doc-src/Intro/gate.thy
author blanchet
Mon, 04 Apr 2011 18:53:35 +0200
changeset 42227 662b50b7126f
parent 105 216d6ed87399
permissions -rw-r--r--
if "monomorphize" is enabled, mangle the type information in the names by default

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