clarify types of terms: use proper set type
authorboehmes
Tue, 25 Oct 2011 08:48:36 +0200
changeset 45263 93ac73160d78
parent 45262 b0cea4362430
child 45264 3b2c770f6631
clarify types of terms: use proper set type
src/HOL/Tools/SMT/z3_proof_methods.ML
--- a/src/HOL/Tools/SMT/z3_proof_methods.ML	Mon Oct 24 16:47:24 2011 +0200
+++ b/src/HOL/Tools/SMT/z3_proof_methods.ML	Tue Oct 25 08:48:36 2011 +0200
@@ -25,11 +25,11 @@
 local
 
 val B = @{typ bool}
-fun mk_univ T = Const (@{const_name top}, T --> B)
+fun mk_univ T = Const (@{const_name top}, HOLogic.mk_setT T)
 fun mk_inj_on T U =
-  Const (@{const_name inj_on}, (T --> U) --> (T --> B) --> B)
+  Const (@{const_name inj_on}, (T --> U) --> HOLogic.mk_setT T --> B)
 fun mk_inv_into T U =
-  Const (@{const_name inv_into}, [T --> B, T --> U, U] ---> T)
+  Const (@{const_name inv_into}, [HOLogic.mk_setT T, T --> U, U] ---> T)
 
 fun mk_inv_of ctxt ct =
   let