prune_params_tac no longer rewrites main goal
authorpaulson
Mon, 30 Sep 1996 10:59:47 +0200
changeset 2043 8de7a0ab463b
parent 2042 33b4c1624e26
child 2044 e8d52d05530a
prune_params_tac no longer rewrites main goal
src/Pure/tactic.ML
--- a/src/Pure/tactic.ML	Thu Sep 26 17:34:36 1996 +0200
+++ b/src/Pure/tactic.ML	Mon Sep 30 10:59:47 1996 +0200
@@ -518,8 +518,10 @@
       else all_tac
   end;
 
-(*Prunes all redundant parameters from the proof state by rewriting*)
-val prune_params_tac = rewrite_tac [triv_forall_equality];
+(*Prunes all redundant parameters from the proof state by rewriting.
+  DOES NOT rewrite main goal, where quantification over an unused bound
+    variable is sometimes done to avoid the need for cut_facts_tac.*)
+val prune_params_tac = rewrite_goals_tac [triv_forall_equality];
 
 (*rotate_tac n i: rotate the assumptions of subgoal i by n positions, from
   right to left if n is positive, and from left to right if n is negative.*)