src/HOL/Tools/Quotient/quotient_def.ML
changeset 45826 67110d6c66de
parent 45797 977cf00fb8d3
child 45929 d7d6c8cfb6f6
--- a/src/HOL/Tools/Quotient/quotient_def.ML	Mon Dec 12 23:06:41 2011 +0100
+++ b/src/HOL/Tools/Quotient/quotient_def.ML	Tue Dec 13 14:04:20 2011 +0100
@@ -65,7 +65,7 @@
       | _ => raise Match)
 
     val absrep_trm = Quotient_Term.absrep_fun lthy Quotient_Term.AbsF (fastype_of rhs, lhs_ty) $ rhs
-    val prop = Logic.mk_equals (lhs, Syntax.check_term lthy absrep_trm)
+    val prop = Syntax.check_term lthy (Logic.mk_equals (lhs, absrep_trm))
     val (_, prop') = Local_Defs.cert_def lthy prop
     val (_, newrhs) = Local_Defs.abs_def prop'