doc-src/Intro/gate.thy
author aspinall
Sun Dec 31 15:34:21 2006 +0100 (2006-12-31)
changeset 21973 e7c9b0d3ce82
parent 105 216d6ed87399
permissions -rw-r--r--
Quote arguments in PGIP exceptions. Tune comment.
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