defs: beta/eta contract lhs;
authorwenzelm
Fri, 02 Dec 2005 22:54:47 +0100
changeset 18338 ed2d0e60fbcc
parent 18337 5d24dbd5e93d
child 18339 64cb06a0bb50
defs: beta/eta contract lhs;
src/Pure/theory.ML
--- a/src/Pure/theory.ML	Fri Dec 02 22:54:45 2005 +0100
+++ b/src/Pure/theory.ML	Fri Dec 02 22:54:47 2005 +0100
@@ -260,7 +260,7 @@
 
     val (lhs, rhs) = Logic.dest_equals (Logic.strip_imp_concl tm)
       handle TERM _ => err "Not a meta-equality (==)";
-    val (head, args) = Term.strip_comb lhs;
+    val (head, args) = Term.strip_comb (Pattern.beta_eta_contract lhs);
     val (c, T) = Term.dest_Const head
       handle TERM _ => err "Head of lhs not a constant";