src/Provers/blast.ML
changeset 11783 aee100a086b1
parent 11754 3928d990c22f
child 12346 e7b1956f4eae
equal deleted inserted replaced
11782:bdd2ac7c75ff 11783:aee100a086b1
   563       (Const "*Goal*" $ G) =>
   563       (Const "*Goal*" $ G) =>
   564 	let val pG = mk_tprop (toTerm 2 G)
   564 	let val pG = mk_tprop (toTerm 2 G)
   565 	    val intrs = List.concat 
   565 	    val intrs = List.concat 
   566 		             (map (fn (inet,_) => Net.unify_term inet pG) 
   566 		             (map (fn (inet,_) => Net.unify_term inet pG) 
   567 			      nps)
   567 			      nps)
   568 	in  map (fromIntrRule vars o #2) (orderlist intrs)  end
   568 	in  map (fromIntrRule vars o #2) (Tactic.orderlist intrs)  end
   569     | _ =>
   569     | _ =>
   570 	let val pP = mk_tprop (toTerm 3 P)
   570 	let val pP = mk_tprop (toTerm 3 P)
   571 	    val elims = List.concat 
   571 	    val elims = List.concat 
   572 		             (map (fn (_,enet) => Net.unify_term enet pP) 
   572 		             (map (fn (_,enet) => Net.unify_term enet pP) 
   573 			      nps)
   573 			      nps)
   574 	in  List.mapPartial (fromRule vars o #2) (orderlist elims)  end;
   574 	in  List.mapPartial (fromRule vars o #2) (Tactic.orderlist elims)  end;
   575 
   575 
   576 
   576 
   577 (*Pending formulae carry md (may duplicate) flags*)
   577 (*Pending formulae carry md (may duplicate) flags*)
   578 type branch = 
   578 type branch = 
   579     {pairs: ((term*bool) list *	(*safe formulae on this level*)
   579     {pairs: ((term*bool) list *	(*safe formulae on this level*)