doc-src/IsarAdvanced/Codegen/Thy/examples/integers.ML
author urbanc
Fri, 17 Nov 2006 17:32:30 +0100
changeset 21405 26b51f724fe6
parent 21178 c3618fc6a6f7
child 21993 4b802a9e0738
permissions -rw-r--r--
added an intro lemma for freshness of products; set up the simplifier so that it can deal with the compact and long notation for freshness constraints (FIXME: it should also be able to deal with the special case of freshness of atoms)

structure ROOT = 
struct

structure Codegen = 
struct

fun double_inc a =
  IntInf.+ ((IntInf.* ((2 : IntInf.int), a)), (1 : IntInf.int));

end; (*struct Codegen*)

end; (*struct ROOT*)