aboutsummaryrefslogtreecommitdiff
path: root/proofs/tacmach.ml
diff options
context:
space:
mode:
authorherbelin2002-02-01 22:08:39 +0000
committerherbelin2002-02-01 22:08:39 +0000
commit6e78a98aaa51df2975595a6adcbe263febbccadc (patch)
treec37ceecbc5fc2438f60a64e5e31b3eb87a780f6a /proofs/tacmach.ml
parent22656ee48b22b4b34024cd4bf262d0de279540f9 (diff)
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
Diffstat (limited to 'proofs/tacmach.ml')
-rw-r--r--proofs/tacmach.ml5
1 files changed, 5 insertions, 0 deletions
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;