doc-src/Intro/gate.thy
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 105 216d6ed87399
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
lcp@105
     1
Gate = FOL +
lcp@105
     2
consts  nand,xor :: "[o,o] => o"
lcp@105
     3
rules   nand_def "nand(P,Q) == ~(P & Q)"
lcp@105
     4
        xor_def  "xor(P,Q)  == P & ~Q | ~P & Q"
lcp@105
     5
end