doc-src/Intro/gate.thy
author ballarin
Sun, 29 Mar 2009 17:38:01 +0200
changeset 30783 275577cefaa8
parent 105 216d6ed87399
permissions -rw-r--r--
Merged.

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