]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/primitiveTactics.mli
parameter sintax added to axiom statement
[helm.git] / helm / software / components / tactics / primitiveTactics.mli
index 2700fc27f4066c586a33b3ca5b7514f30343ca64..f2178fb388030fcf443ef69a8a008054e8704730 100644 (file)
@@ -42,10 +42,14 @@ val classify_metas :
   (Cic.term * Cic.context * Cic.term) list *
   (Cic.term * Cic.context * Cic.term) list
 
-(* ALB, needed by the new paramodulation... *)
-val apply_with_subst:
-  term:Cic.term -> ?subst:Cic.substitution -> ?maxmeta:int -> ProofEngineTypes.proof * int ->
-  Cic.substitution * (ProofEngineTypes.proof * int list) * int
+(* 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
 
 (* not a real tactic *)
 val apply_tac_verbose :
@@ -53,8 +57,11 @@ val apply_tac_verbose :
   ProofEngineTypes.proof * int ->
   (Cic.term -> Cic.term) * (ProofEngineTypes.proof * int list)
 
+(* the proof status has a subst now, and apply_tac honors it *)
 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:
@@ -73,20 +80,24 @@ val letin_tac:
 val elim_intros_simpl_tac:
   ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
   ?depth:int -> ?using:Cic.term -> 
-  ProofEngineTypes.lazy_pattern ->
+  ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
   ProofEngineTypes.tactic 
 val elim_intros_tac:
   ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
   ?depth:int -> ?using:Cic.term -> 
-  ProofEngineTypes.lazy_pattern ->
+  ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
   ProofEngineTypes.tactic 
 
 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 -> subst:Cic.substitution ->
+ ugraph:CicUniv.universe_graph -> goal:Cic.term -> 
+ arg:Cic.term -> using:Cic.term -> cpattern:Cic.term -> args_no:int -> 
+ Cic.metasenv * Cic.substitution * Cic.term * Cic.term * Cic.term list