doc-src/Intro/gate.thy
author wenzelm
Thu Jul 14 19:28:24 2005 +0200 (2005-07-14)
changeset 16842 5979c46853d1
parent 105 216d6ed87399
permissions -rw-r--r--
tuned;
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