Quot/quotient_def.ML
changeset 833 129caba33c03
parent 830 89d772dae4d4
child 850 3c6f8a4074c4
child 854 5961edda27d7
--- a/Quot/quotient_def.ML	Sat Jan 09 09:38:34 2010 +0100
+++ b/Quot/quotient_def.ML	Mon Jan 11 00:31:29 2010 +0100
@@ -40,7 +40,7 @@
 let
   val Free (lhs_str, lhs_ty) = lhs; (* FIXME/TODO: this throws an excpt., if the const is already def.*)
   val qconst_bname = Binding.name lhs_str;
-  val absrep_trm = Syntax.check_term lthy (absrep_fun absF lthy (fastype_of rhs, lhs_ty) $ rhs)
+  val absrep_trm = (absrep_fun_chk absF lthy (fastype_of rhs, lhs_ty)) $ rhs
   val prop = Logic.mk_equals (lhs, absrep_trm)
   val (_, prop') = LocalDefs.cert_def lthy prop
   val (_, newrhs) = Primitive_Defs.abs_def prop'