]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_tactics/nTactics.mli
Added ntry and nassumption tactics
[helm.git] / helm / software / components / ng_tactics / nTactics.mli
index 831704924ab46539d1d891c0144ac7afed8a9927..95cf5c26f8c4c0e54bec5b8970bd55f89bc67359 100644 (file)
 
 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
 
-
-type lowtac_status = {
-        pstatus : NCic.obj;
-        lstatus : LexiconEngine.status
-}
-
-type lowtactic = lowtac_status * int -> lowtac_status * int list * int list
-
-type tac_status = {
-        gstatus : Continuationals.Stack.t; 
-        istatus : lowtac_status;
-} 
-
-type tactic = tac_status -> tac_status
-
-type tactic_term = CicNotationPt.term Disambiguate.disambiguator_input
-
-val dot_tac: tactic
-val branch_tac: tactic
-val shift_tac: tactic
-val pos_tac: int list -> tactic
-val wildcard_tac: tactic
-val merge_tac: tactic
-val focus_tac: int list -> tactic
-val unfocus_tac: tactic
-val skip_tac: tactic
-
-val fold_tactic: lowtactic -> tactic
-
-val apply_tac: tactic_term -> tactic
-
-
-val pp_tac_status: tac_status -> unit
+val dot_tac: NTacStatus.tactic
+val branch_tac: NTacStatus.tactic
+val shift_tac: NTacStatus.tactic
+val pos_tac: int list -> NTacStatus.tactic
+val wildcard_tac: NTacStatus.tactic
+val merge_tac: NTacStatus.tactic
+val focus_tac: int list -> NTacStatus.tactic
+val unfocus_tac: NTacStatus.tactic
+val skip_tac: NTacStatus.tactic
+val try_tac: NTacStatus.tactic -> NTacStatus.tactic
+
+val distribute_tac: NTacStatus.lowtactic -> NTacStatus.tactic
+val block_tac: NTacStatus.tactic list -> NTacStatus.tactic
+
+val apply_tac: NTacStatus.tactic_term -> NTacStatus.tactic
+val assumption_tac: NTacStatus.tactic
+val change_tac: 
+   where:NTacStatus.tactic_pattern -> with_what:NTacStatus.tactic_term -> 
+     NTacStatus.tactic
+val elim_tac: 
+   what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> 
+     NTacStatus.tactic
+val intro_tac: string -> NTacStatus.tactic
+val cases_tac: 
+   what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> 
+     NTacStatus.tactic
+val case1_tac: string -> NTacStatus.tactic
+val rewrite_tac:
+  dir:[ `LeftToRight | `RightToLeft ] ->
+   what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> 
+    NTacStatus.tactic
+val generalize_tac : where:NTacStatus.tactic_pattern -> NTacStatus.tactic
+val reduce_tac: 
+      reduction:[ `Normalize of bool | `Whd of bool ] ->
+      where:NTacStatus.tactic_pattern -> NTacStatus.tactic
+val letin_tac: 
+      where:NTacStatus.tactic_pattern ->
+      what: NTacStatus.tactic_term ->
+      string -> NTacStatus.tactic
+val assert_tac:
+ ((string * [`Decl of NTacStatus.tactic_term | `Def of NTacStatus.tactic_term * NTacStatus.tactic_term]) list * NTacStatus.tactic_term) list ->
+  NTacStatus.tactic
+
+val auto_tac:
+  params:(NTacStatus.tactic_term list * (string * string) list) -> 
+   NTacStatus.tactic