src/Tools/nbe.ML
changeset 74295 9a9326a072bb
parent 74282 c2ee8d993d6a
child 74561 8e6c973003c8
--- a/src/Tools/nbe.ML	Sat Sep 11 22:02:12 2021 +0200
+++ b/src/Tools/nbe.ML	Sat Sep 11 22:07:43 2021 +0200
@@ -589,7 +589,7 @@
 fun mk_equals ctxt lhs raw_rhs =
   let
     val ty = Thm.typ_of_cterm lhs;
-    val eq = Thm.cterm_of ctxt (Term.Const (\<^const_name>\<open>Pure.eq\<close>, ty --> ty --> propT));
+    val eq = Thm.cterm_of ctxt \<^Const>\<open>Pure.eq ty\<close>;
     val rhs = Thm.cterm_of ctxt raw_rhs;
   in Thm.mk_binop eq lhs rhs end;