diff options
| -rw-r--r-- | tactics/extratactics.ml4 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tactics/extratactics.ml4 b/tactics/extratactics.ml4 index e4bcf658ba..436e3bd5be 100644 --- a/tactics/extratactics.ml4 +++ b/tactics/extratactics.ml4 @@ -321,8 +321,19 @@ END (**********************************************************************) (* Refine *) +open Genredexpr +open Locus + +let refine c = + Proofview.tclTHEN + (Tactics.New.refine c) + (Proofview.V82.tactic (Tactics.reduce + (Lazy {rBeta=true;rIota=false;rZeta=false;rDelta=false;rConst=[]}) + {onhyps=None; concl_occs=AllOccurrences } + )) + TACTIC EXTEND refine - [ "refine" casted_open_constr(c) ] -> [ Tactics.New.refine c ] + [ "refine" casted_open_constr(c) ] -> [ refine c ] END let refine_tac = Tactics.New.refine |
