Now uses eta_contract_atom for greater speed
authorpaulson
Wed, 05 Mar 1997 10:08:32 +0100
changeset 2728 df3a269b6f34
parent 2727 230f2643107e
child 2729 44cbfeebd0fe
Now uses eta_contract_atom for greater speed
src/FOLP/hypsubst.ML
--- a/src/FOLP/hypsubst.ML	Wed Mar 05 10:07:04 1997 +0100
+++ b/src/FOLP/hypsubst.ML	Wed Mar 05 10:08:32 1997 +0100
@@ -42,7 +42,7 @@
   It's not safe to substitute for a variable free in the premises,
     but how could we check for this?*)
 fun inspect_pair bnd (t,u) =
-  case (Pattern.eta_contract t, Pattern.eta_contract u) of
+  case (Pattern.eta_contract_atom t, Pattern.eta_contract_atom u) of
        (Bound i, _) => if loose(i,u) then raise Match 
                        else sym         (*eliminates t*)
      | (_, Bound i) => if loose(i,t) then raise Match