doc-src/Intro/gate.thy
author wenzelm
Sun, 07 Sep 2008 22:19:46 +0200
changeset 28157 0435d23deccc
parent 105 216d6ed87399
permissions -rw-r--r--
added change_result;

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