]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_tactics/nTactics.mli
tactic cases works! delift clears tags
[helm.git] / helm / software / components / ng_tactics / nTactics.mli
index 0ce7b427eb24c1fdeb3b8fc9dc4dec0cb133cb0a..a834c4e52a8439ac1fea0eda294ad9435c8c5fa2 100644 (file)
 
 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
 
-exception Error of string lazy_t
+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 distribute_tac: NTacStatus.lowtactic -> NTacStatus.tactic
+val block_tac: NTacStatus.tactic list -> NTacStatus.tactic
+
+val apply_tac: NTacStatus.tactic_term -> 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
 
-type lowtac_status = {
-        pstatus : NCic.obj;
-        lstatus : LexiconEngine.status
-}
-
-type lowtactic = lowtac_status -> int -> lowtac_status
-
-type tac_status = {
-        gstatus : Continuationals.Stack.t; 
-        istatus : lowtac_status;
-} 
-
-type tactic = tac_status -> tac_status
-
-type tactic_term = CicNotationPt.term Disambiguate.disambiguator_input
-type tactic_pattern = GrafiteAst.npattern 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 distribute_tac: lowtactic -> tactic
-val block_tac: tactic list -> tactic
-
-val apply_tac: tactic_term -> tactic
-val change_tac: where:tactic_pattern -> with_what:tactic_term -> tactic
-
-
-val pp_tac_status: tac_status -> unit