turned bicompose_no_flatten into compose_no_flatten, without elimination;
authorwenzelm
Fri, 23 Dec 2005 15:16:52 +0100
changeset 18501 915105af2e80
parent 18500 8b1a4e8ed199
child 18502 24efc1587f9d
turned bicompose_no_flatten into compose_no_flatten, without elimination;
src/Pure/thm.ML
--- a/src/Pure/thm.ML	Fri Dec 23 15:16:49 2005 +0100
+++ b/src/Pure/thm.ML	Fri Dec 23 15:16:52 2005 +0100
@@ -124,7 +124,7 @@
   val rotate_rule: int -> int -> thm -> thm
   val permute_prems: int -> int -> thm -> thm
   val rename_params_rule: string list * int -> thm -> thm
-  val bicompose_no_flatten: bool -> bool * thm * int -> int -> thm -> thm Seq.seq
+  val compose_no_flatten: bool -> thm * int -> int -> thm -> thm Seq.seq
   val bicompose: bool -> bool * thm * int -> int -> thm -> thm Seq.seq
   val biresolution: bool -> (bool * thm) list -> int -> thm -> thm Seq.seq
   val invoke_oracle: theory -> xstring -> theory * Object.T -> thm
@@ -1456,11 +1456,11 @@
  end;
 end;
 
-fun bicompose0 flatten match arg i state =
-    bicompose_aux flatten match (state, dest_state(state,i), false) arg;
+fun compose_no_flatten match (orule, nsubgoal) i state =
+  bicompose_aux false match (state, dest_state (state, i), false) (false, orule, nsubgoal);
 
-val bicompose_no_flatten = bicompose0 false;
-val bicompose = bicompose0 true;
+fun bicompose match arg i state =
+  bicompose_aux true match (state, dest_state (state,i), false) arg;
 
 (*Quick test whether rule is resolvable with the subgoal with hyps Hs
   and conclusion B.  If eres_flg then checks 1st premise of rule also*)