doc-src/Tutorial/Misc/Defs.thy
author paulson
Mon, 22 Oct 2001 12:01:35 +0200
changeset 11870 181bd2050cf4
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Numerals now work for the integers: the binary numerals for 0 and 1 rewrite to their abstract counterparts, while other binary numerals work correctly.

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