no 'nat' is needed for Bound in reification
authorchaieb
Fri, 27 Jul 2007 16:04:26 +0200
changeset 24000 467e77e4e276
parent 23999 393dd64d0d04
child 24001 067d8e589c58
no 'nat' is needed for Bound in reification
src/HOL/ex/coopereif.ML
--- a/src/HOL/ex/coopereif.ML	Fri Jul 27 10:18:56 2007 +0200
+++ b/src/HOL/ex/coopereif.ML	Fri Jul 27 16:04:26 2007 +0200
@@ -92,7 +92,7 @@
       term_of_i vs t1 $ term_of_i vs t2
   | Mul (i, t2) => Const (@{const_name "HOL.times"}, HOLogic.intT --> HOLogic.intT --> HOLogic.intT) $
       HOLogic.mk_number HOLogic.intT i $ term_of_i vs t2
-  | Cn (n,i, t') => term_of_i vs (Add (Mul (i, Bound (nat n)), t'));
+  | Cn (n,i, t') => term_of_i vs (Add (Mul (i, Bound n), t'));
 
 fun term_of_qf ps vs t = case t
  of T => HOLogic.true_const