doc-src/Intro/gate.thy
author paulson
Thu, 03 Sep 1998 16:40:02 +0200
changeset 5426 566f47250bd0
parent 105 216d6ed87399
permissions -rw-r--r--
A new approach, using simp_of_act and simp_of_set to activate definitions when necessary

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