doc-src/Intro/gate.thy
author bulwahn
Fri, 21 Oct 2011 11:17:14 +0200
changeset 45231 d85a2fdc586c
parent 105 216d6ed87399
permissions -rw-r--r--
replacing code_inline by code_unfold, removing obsolete code_unfold, code_inline del now that the ancient code generator is removed

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