doc-src/Intro/gate.thy
author berghofe
Sun, 10 Jan 2010 18:01:04 +0100
changeset 34907 b0aaec87751c
parent 105 216d6ed87399
permissions -rw-r--r--
Added infrastructure for simplifying equality constraints. Option (no_simp) restores old behaviour of induct method.

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