doc-src/Intro/gate.thy
author huffman
Thu, 08 Sep 2011 19:35:23 -0700
changeset 44849 41fddafe20d5
parent 105 216d6ed87399
permissions -rw-r--r--
Library/Saturated.thy: number_semiring class instance

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