Drule.add_used;
authorwenzelm
Thu, 07 Apr 2005 09:27:50 +0200
changeset 15671 8df681866dc9
parent 15670 963cd3f7976c
child 15672 32aea1e31eb8
Drule.add_used;
src/Pure/tactic.ML
--- a/src/Pure/tactic.ML	Thu Apr 07 09:27:33 2005 +0200
+++ b/src/Pure/tactic.ML	Thu Apr 07 09:27:50 2005 +0200
@@ -229,8 +229,7 @@
 	    and rts = types_sorts rule and (types,sorts) = types_sorts st
 	    fun types'(a,~1) = (case assoc(params,a) of NONE => types(a,~1) | sm => sm)
 	      | types'(ixn) = types ixn;
-	    val used = add_term_tvarnames
-	                  (prop_of st $ prop_of rule,[])
+	    val used = Drule.add_used rule (Drule.add_used st []);
 	in read_insts sign rts (types',sorts) used sinsts end;
 
 (*Lift and instantiate a rule wrt the given state and subgoal number *)