doc-src/Intro/gate.thy
author haftmann
Fri, 21 Jul 2006 14:47:22 +0200
changeset 20177 0af885e3dabf
parent 105 216d6ed87399
permissions -rw-r--r--
hooks now take string list as arguments (mutual datatypes); some nice combinators in datatype_codegen

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