doc-src/Intro/gate.thy
author nipkow
Fri, 01 Aug 1997 09:42:19 +0200
changeset 3584 8f9ee0f79d9a
parent 105 216d6ed87399
permissions -rw-r--r--
Corected bug in def of dropWhile (also present in Haskell lib!)

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