src/HOL/Tools/SMT/smt_builtin.ML
changeset 67149 e61557884799
parent 66551 4df6b0ae900d
child 70387 35dd9212bf29
--- a/src/HOL/Tools/SMT/smt_builtin.ML	Wed Dec 06 19:34:59 2017 +0100
+++ b/src/HOL/Tools/SMT/smt_builtin.ML	Wed Dec 06 20:43:09 2017 +0100
@@ -180,8 +180,8 @@
 
 fun dest_builtin_eq ctxt t u =
   let
-    val aT = TFree (Name.aT, @{sort type})
-    val c = (@{const_name HOL.eq}, aT --> aT --> @{typ bool})
+    val aT = TFree (Name.aT, \<^sort>\<open>type\<close>)
+    val c = (\<^const_name>\<open>HOL.eq\<close>, aT --> aT --> \<^typ>\<open>bool\<close>)
     fun mk ts = Term.list_comb (HOLogic.eq_const (Term.fastype_of (hd ts)), ts)
   in
     dest_builtin_fun ctxt c []
@@ -193,10 +193,10 @@
     dest_builtin_fun ctxt c ts
   else NONE
 
-fun dest_builtin_pred ctxt = special_builtin_fun (equal @{typ bool} o fst) ctxt
+fun dest_builtin_pred ctxt = special_builtin_fun (equal \<^typ>\<open>bool\<close> o fst) ctxt
 
 fun dest_builtin_conn ctxt =
-  special_builtin_fun (forall (equal @{typ bool}) o (op ::)) ctxt
+  special_builtin_fun (forall (equal \<^typ>\<open>bool\<close>) o (op ::)) ctxt
 
 fun dest_builtin ctxt c ts =
   let val t = Term.list_comb (Const c, ts)