doc-src/Intro/gate.thy
author haftmann
Mon, 20 Apr 2009 09:32:40 +0200
changeset 30954 cf50e67bc1d1
parent 105 216d6ed87399
permissions -rw-r--r--
power operation on functions in theory Nat; power operation on relations in theory Transitive_Closure

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