doc-src/Intro/gate.thy
author bulwahn
Sun, 04 Dec 2011 20:05:08 +0100
changeset 45750 17100f4ce0b5
parent 105 216d6ed87399
permissions -rw-r--r--
adding genuine flag to predicate_compile_quickcheck and prolog_quickcheck (cf. 5e46c225370e); adjusting smart quickcheck compilation to new signature of exhaustive generators (cf. 1f5fc44254d7);

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