src/FOLP/simp.ML
changeset 14772 c52060b69a8c
parent 14643 130076a81b84
child 15531 08c8dad8e399
--- a/src/FOLP/simp.ML	Fri May 21 21:17:37 2004 +0200
+++ b/src/FOLP/simp.ML	Fri May 21 21:18:14 2004 +0200
@@ -549,7 +549,7 @@
         let val (Const(_,cT), va, vb) = dest_red(hd(prems_of thm));
             val [P] = add_term_vars(concl_of thm,[]) \\ [va,vb]
             val eqT::_ = binder_types cT
-        in if Type.typ_instance(tsig,T,eqT) then Some(thm,va,vb,P)
+        in if Type.typ_instance tsig (T,eqT) then Some(thm,va,vb,P)
            else find thms
         end
       | find [] = None
@@ -581,7 +581,7 @@
     val tsig = Sign.tsig_of sg;
     fun find_refl(r::rs) =
         let val (Const(eq,eqT),_,_) = dest_red(concl_of r)
-        in if Type.typ_instance(tsig, rT, hd(binder_types eqT))
+        in if Type.typ_instance tsig (rT, hd(binder_types eqT))
            then Some(r,(eq,body_type eqT)) else find_refl rs
         end
       | find_refl([]) = None;