doc-src/Intro/gate.thy
author wenzelm
Tue, 01 Jun 2010 17:27:38 +0200
changeset 37241 04d2521e79b0
parent 105 216d6ed87399
permissions -rw-r--r--
basic support for sub/superscript token markup -- NB: need to maintain extended token types eagerly, since jEdit occasionally reinstalls a style array that is too short;

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