doc-src/Intro/gate.thy
author blanchet
Sun, 04 Mar 2012 23:20:43 +0100
changeset 46818 2a28e66e2e4c
parent 105 216d6ed87399
permissions -rw-r--r--
ensure no abstractions leak through after lambda-lifting (for formulas with higher-order occurrences of quantifiers)

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