doc-src/Tutorial/CodeGen/value
author berghofe
Wed, 10 Jul 2002 18:39:15 +0200
changeset 13342 915d4d004643
parent 5377 efb799c5ed3c
permissions -rw-r--r--
expand_proof now also takes an optional term describing the proposition of the theorem to be expanded (to avoid problems with different theorems having the same names).

consts value :: ('a => 'v) => ('a,'v)expr => 'v
primrec
"value env (Cex v) = v"
"value env (Vex a) = env a"
"value env (Bex f e1 e2) = f (value env e1) (value env e2)"