src/HOL/Numeral.ML
author berghofe
Tue, 30 May 2000 18:02:49 +0200
changeset 9001 93af64f54bf2
parent 8264 fffae6147cf7
child 10707 9285b4d87d7d
permissions -rw-r--r--
the is now defined using primrec, avoiding explicit use of arbitrary.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8264
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     1
(*  Title:      HOL/Numeral.ML
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     2
    ID:         $Id$
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     3
    Author:     Tobias Nipkow
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     4
*)
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     5
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     6
(*Unfold all "let"s involving constants*)
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     7
Goalw [Let_def] "Let (number_of v) f == f (number_of v)";
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     8
by(Simp_tac 1);
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
     9
qed "Let_number_of";
fffae6147cf7 Added global let-simplification rule.
nipkow
parents:
diff changeset
    10
Addsimps [Let_number_of];