]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/primitiveTactics.mli
case tactic first tries with a simple outtype and then with a more sofisticated one
[helm.git] / helm / software / components / tactics / primitiveTactics.mli
index 890874a89447507173fb3cfb19e27c286b646cb1..24d5cbc88fd20b6ad1ddda1719473a71ab2353e5 100644 (file)
@@ -42,6 +42,15 @@ val classify_metas :
   (Cic.term * Cic.context * Cic.term) list *
   (Cic.term * Cic.context * Cic.term) list
 
+(* Not primitive, but useful for elim *)
+
+exception AllSelectedTermsMustBeConvertible;;
+
+val generalize_tac:
+ ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
+ ProofEngineTypes.lazy_pattern ->
+   ProofEngineTypes.tactic
+
 (* ALB, needed by the new paramodulation... *)
 val apply_with_subst:
   term:Cic.term -> ?subst:Cic.substitution -> ?maxmeta:int -> ProofEngineTypes.proof * int ->
@@ -55,6 +64,8 @@ val apply_tac_verbose :
 
 val apply_tac:
   term: Cic.term -> ProofEngineTypes.tactic
+val applyP_tac: (* apply for procedural reconstruction *)
+  term: Cic.term -> ProofEngineTypes.tactic
 val exact_tac:
   term: Cic.term -> ProofEngineTypes.tactic
 val intros_tac:
@@ -84,14 +95,11 @@ val elim_intros_tac:
 val cases_intros_tac:
   ?howmany:int ->
   ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
-  Cic.term -> ProofEngineTypes.tactic 
+  ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
+  ProofEngineTypes.tactic 
 
 (* FG *)
 
-(* inserts a hole in the context *)
-val letout_tac:
-  ProofEngineTypes.tactic 
-
 val mk_predicate_for_elim: 
  context:Cic.context -> metasenv:Cic.metasenv -> 
  ugraph:CicUniv.universe_graph -> goal:Cic.term ->