doc-src/Tutorial/Misc/Defs.thy
author nipkow
Wed, 15 May 2002 13:50:16 +0200
changeset 13153 4b052946b41c
parent 5377 efb799c5ed3c
permissions -rw-r--r--
arith can now deal with div 2 and mod 2.

Defs = Types +
consts nand, exor :: gate
defs nand_def "nand A B == ~(A & B)"
     exor_def "exor A B == A & ~B | ~A & B"
end