doc-src/Intro/gate.thy
author ballarin
Mon, 01 Oct 2007 12:24:45 +0200
changeset 24788 f0dba1cda0b5
parent 105 216d6ed87399
permissions -rw-r--r--
unfold_locales workaround

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