src/HOL/Tools/datatype_aux.ML
changeset 21021 6f19e5eb3a44
parent 19841 f2fa72c13186
child 21420 8b15e5e66813
--- a/src/HOL/Tools/datatype_aux.ML	Fri Oct 13 18:15:18 2006 +0200
+++ b/src/HOL/Tools/datatype_aux.ML	Fri Oct 13 18:18:58 2006 +0200
@@ -138,7 +138,7 @@
     fun abstr (t1, t2) = (case t1 of
         NONE => let val [Free (s, T)] = add_term_frees (t2, [])
           in absfree (s, T, t2) end
-      | SOME (_ $ t' $ _) => Abs ("x", fastype_of t', abstract_over (t', t2)))
+      | SOME (_ $ t') => Abs ("x", fastype_of t', abstract_over (t', t2)))
     val cert = cterm_of (Thm.sign_of_thm st);
     val Ps = map (cert o head_of o snd o getP) ts;
     val indrule' = cterm_instantiate (Ps ~~