doc-src/Intro/gate.thy
author huffman
Tue, 24 Feb 2009 11:12:58 -0800
changeset 30082 43c5b7bfc791
parent 105 216d6ed87399
permissions -rw-r--r--
make more proofs work whether or not One_nat_def is a simp rule

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