src/Pure/drule.ML
changeset 52223 5bb6ae8acb87
parent 52131 366fa32ee2a3
child 52224 6ba76ad4e679
--- a/src/Pure/drule.ML	Wed May 29 16:12:05 2013 +0200
+++ b/src/Pure/drule.ML	Wed May 29 18:25:11 2013 +0200
@@ -359,7 +359,9 @@
   with no lifting or renaming!  Q may contain ==> or meta-quants
   ALWAYS deletes premise i *)
 fun compose(tha,i,thb) =
-  distinct Thm.eq_thm (Seq.list_of (Thm.bicompose false (false,tha,0) i thb));
+  distinct Thm.eq_thm
+    (Seq.list_of
+      (Thm.bicompose {flatten = true, match = false, incremented = false} (false, tha, 0) i thb));
 
 fun compose_single (tha,i,thb) =
   (case compose (tha,i,thb) of
@@ -743,7 +745,8 @@
 
 fun comp_no_flatten (th, n) i rule =
   (case distinct Thm.eq_thm (Seq.list_of
-      (Thm.compose_no_flatten false (th, n) i (incr_indexes th rule))) of
+      (Thm.bicompose {flatten = false, match = false, incremented = true}
+        (false, th, n) i (incr_indexes th rule))) of
     [th'] => th'
   | [] => raise THM ("comp_no_flatten", i, [th, rule])
   | _ => raise THM ("comp_no_flatten: unique result expected", i, [th, rule]));