doc-src/Intro/gate.thy
author haftmann
Wed, 06 Feb 2008 08:34:32 +0100
changeset 26041 c2e15e65165f
parent 105 216d6ed87399
permissions -rw-r--r--
locales ACf, ACIf, ACIfSL and ACIfSLlin have been abandoned in favour of the existing algebraic classes ab_semigroup_mult, ab_semigroup_idem_mult, lower_semilattice (resp. uper_semilattice) and linorder

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