doc-src/Tutorial/Ifexpr/value
author wenzelm
Fri, 04 Aug 2000 22:56:52 +0200
changeset 9529 d9434a9277a4
parent 5377 efb799c5ed3c
permissions -rw-r--r--
lemmas atomize = all_eq imp_eq; setup hypsubst_setup;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5377
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     1
consts value :: boolex => (nat => bool) => bool
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     2
primrec
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     3
"value (Const b) env = b"
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     4
"value (Var x)   env = env x"
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     5
"value (Neg b)   env = (~ value b env)"
efb799c5ed3c *** empty log message ***
nipkow
parents:
diff changeset
     6
"value (And b c) env = (value b env & value c env)"