From 6e78a98aaa51df2975595a6adcbe263febbccadc Mon Sep 17 00:00:00 2001 From: herbelin Date: Fri, 1 Feb 2002 22:08:39 +0000 Subject: Ajout tactiques Rename et Pose; modifications pour Inversion git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2449 85f007b7-540e-0410-9357-904b9bb8a0f7 --- proofs/tacmach.ml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proofs/tacmach.ml') diff --git a/proofs/tacmach.ml b/proofs/tacmach.ml index adb4df3d53..362bac2a60 100644 --- a/proofs/tacmach.ml +++ b/proofs/tacmach.ml @@ -260,6 +260,11 @@ let move_hyp with_dep id1 id2 gl = hypspecs = [id1;id2]; terms = []; newids = []; params = []}) gl +let rename_hyp id1 id2 gl = + refiner (Prim { name = Rename; + hypspecs = [id1]; terms = []; + newids = [id2]; params = []}) gl + let mutual_fix lf ln lar pf = refiner (Prim { name = FixRule; newids = lf; hypspecs = []; terms = lar; -- cgit v1.2.3