doc-src/Intro/gate.thy
author berghofe
Fri, 22 Jul 2005 11:54:29 +0200
changeset 16900 e294033d1c0f
parent 105 216d6ed87399
permissions -rw-r--r--
Rewrote function remove_suc, since it failed on some equations produced by recdef.

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