aboutsummaryrefslogtreecommitdiff
path: root/tactics/hiddentac.ml
diff options
context:
space:
mode:
authorfilliatr1999-11-23 17:39:25 +0000
committerfilliatr1999-11-23 17:39:25 +0000
commit6c28c8f38c6f47cc772d42e5cc54398785d63bc0 (patch)
treed162202001373eb29b57646aa8275fc9f44ad8ba /tactics/hiddentac.ml
parentcf59b39d44a7a765d51b0a426ad6d71678740195 (diff)
modules Indrec, Tacentries, Hiddentac
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@131 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/hiddentac.ml')
-rw-r--r--tactics/hiddentac.ml40
1 files changed, 40 insertions, 0 deletions
diff --git a/tactics/hiddentac.ml b/tactics/hiddentac.ml
new file mode 100644
index 0000000000..07ef757a56
--- /dev/null
+++ b/tactics/hiddentac.ml
@@ -0,0 +1,40 @@
+
+(* $Id$ *)
+
+open Term
+open Proof_trees
+open Tacmach
+open Tacentries
+
+(* These tactics go through the interpreter. They left a trace in the proof
+ tree when they are called. *)
+
+let h_clear ids = v_clear [(Clause ids)]
+let h_move dep id1 id2 =
+ (if dep then v_move else v_move_dep) [Identifier id1;Identifier id2]
+let h_contradiction = v_contradiction []
+let h_reflexivity = v_reflexivity []
+let h_symmetry = v_symmetry []
+let h_assumption = v_assumption []
+let h_absurd c = v_absurd [(Constr c)]
+let h_exact c = v_exact [(Constr c)]
+let h_one_constructor i = v_constructor [(Integer i)]
+let h_any_constructor = v_constructor []
+let h_transitivity c = v_transitivity [(Constr c)]
+let h_simplest_left = v_left [(Cbindings [])]
+let h_simplest_right = v_right [(Cbindings [])]
+let h_split c = v_split [(Constr c);(Cbindings [])]
+let h_apply c s = v_apply [(Constr c);(Cbindings s)]
+let h_simplest_apply c = v_apply [(Constr c);(Cbindings [])]
+let h_cut c = v_cut [(Constr c)]
+let h_simplest_elim c = v_elim [(Constr c);(Cbindings [])]
+let h_elimType c = v_elimType [(Constr c)]
+let h_inductionInt i = v_induction[(Integer i)]
+let h_inductionId id = v_induction[(Identifier id)]
+let h_simplest_case c = v_case [(Constr c);(Cbindings [])]
+let h_caseType c = v_caseType [(Constr c)]
+let h_destructInt i = v_destruct [(Integer i)]
+let h_destructId id = v_destruct [(Identifier id)]
+
+
+