doc-src/Intro/gate.thy
author wenzelm
Tue, 07 Sep 2010 21:06:58 +0200
changeset 39176 b8fdd3ae8815
parent 105 216d6ed87399
permissions -rw-r--r--
Document_View: more precise painting of gutter icons, only if line selection area is sufficiently large;

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