doc-src/Intro/gate.thy
author wenzelm
Fri, 02 Oct 2009 21:41:57 +0200
changeset 32857 394d37f19e0a
parent 105 216d6ed87399
permissions -rw-r--r--
Refute.refute_goal: canonical goal addresses from 1 (renamed from refute_subgoal to clarify change in semantics); command 'refute': Proof.flat_goal provides standard view on internally structured Isar goal, suitable for (semi)automated tools;

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