doc-src/Intro/gate.thy
author wenzelm
Thu, 21 Sep 2006 19:04:29 +0200
changeset 20665 7e54c7cc72a5
parent 105 216d6ed87399
permissions -rw-r--r--
member (op =); ThmDatabase.is_ml_reserved; tuned oracle name;

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