doc-src/Intro/gate.thy
author ballarin
Mon, 24 Nov 2008 18:03:48 +0100
changeset 28879 db2816a37a34
parent 105 216d6ed87399
permissions -rw-r--r--
Read/cert_statement for theorem statements.

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