doc-src/Tutorial/Misc/Defs.thy
author berghofe
Tue, 01 Jun 2004 15:00:26 +0200
changeset 14860 e9e0d8618043
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Adapted to new name mangling function in code generator.

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