doc-src/Intro/gate.thy
author chaieb
Sun, 25 Oct 2009 08:57:35 +0100
changeset 33152 241cfaed158f
parent 105 216d6ed87399
permissions -rw-r--r--
Add a quantifier elimination for parametric linear arithmetic over ordered fields (parameters are multivariate polynomials)

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