src/Provers/hypsubst.ML
changeset 39297 4f9e933a16e2
parent 36945 9bec62c10714
child 39782 f75381bc46d2
--- a/src/Provers/hypsubst.ML	Fri Sep 10 15:55:09 2010 +0200
+++ b/src/Provers/hypsubst.ML	Fri Sep 10 23:56:35 2010 +0200
@@ -115,11 +115,11 @@
      | (_, Bound i) => if loose(i,t) orelse novars andalso has_vars t
                        then raise Match
                        else false               (*eliminates u*)
-     | (Free _, _) =>  if bnd orelse Logic.occs(t,u) orelse
+     | (t' as Free _, _) => if bnd orelse Logic.occs(t',u) orelse
                           novars andalso has_vars u
                        then raise Match
                        else true                (*eliminates t*)
-     | (_, Free _) =>  if bnd orelse Logic.occs(u,t) orelse
+     | (_, u' as Free _) => if bnd orelse Logic.occs(u',t) orelse
                           novars andalso has_vars t
                        then raise Match
                        else false               (*eliminates u*)