doc-src/Intro/gate.thy
author berghofe
Sat, 15 Jan 2011 12:49:10 +0100
changeset 41567 72dd2eec64d8
parent 105 216d6ed87399
permissions -rw-r--r--
Added entry for HOL-SPARK

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