doc-src/Intro/gate.thy
author kleing
Mon, 14 Jul 2003 14:44:06 +0200
changeset 14110 c45c94fa16f4
parent 105 216d6ed87399
permissions -rw-r--r--
use Library.Some/None instead of just Some/None in generated quickcheck code

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