doc-src/Tutorial/Ifexpr/value
author berghofe
Wed, 10 Jul 2002 18:37:51 +0200
changeset 13341 f15ed50d16cf
parent 5377 efb799c5ed3c
permissions -rw-r--r--
- Moved abs_def to drule.ML - elim_defs now takes a boolean argument which controls the automatic expansion of theorems mentioning constants whose definitions are eliminated

consts value :: boolex => (nat => bool) => bool
primrec
"value (Const b) env = b"
"value (Var x)   env = env x"
"value (Neg b)   env = (~ value b env)"
"value (And b c) env = (value b env & value c env)"