doc-src/Intro/gate.thy
author wenzelm
Tue, 24 Aug 2010 21:34:38 +0200
changeset 38661 f1ba2ae8e58a
parent 105 216d6ed87399
permissions -rw-r--r--
Markup_Tree.+: new info tends to sink to bottom, where it is prefered by select;

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