doc-src/Intro/gate.thy
author blanchet
Sun, 01 May 2011 18:37:25 +0200
changeset 42578 1eaf4d437d4c
parent 105 216d6ed87399
permissions -rw-r--r--
define type system in ATP module so that ATPs can suggest a type system

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