doc-src/Intro/gate.thy
author wenzelm
Wed, 07 Sep 2011 21:31:50 +0200
changeset 44804 3d9ee91394ce
parent 105 216d6ed87399
permissions -rw-r--r--
no print_state for final proof commands, which return to theory state;

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