doc-src/Intro/gate.thy
author wenzelm
Tue, 02 Sep 2008 22:20:16 +0200
changeset 28092 5886e9359aa8
parent 105 216d6ed87399
permissions -rw-r--r--
no pervasive bindings; removed theory_results and related hook; print_results: ignore empty/internal kind -- like former theory_results;

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