X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_tactics%2FnTactics.mli;h=c81b1dd0bab0ae8e202d1dab47a1f9e5261df5ff;hb=8464b71fdd68fade06484512b31077ff1a5a796a;hp=f9747e824de9a066b122df1083cf606c2b8d5ef4;hpb=7718257d24d2f0478810711e5b5a9c6bdded1f8e;p=helm.git diff --git a/helm/software/components/ng_tactics/nTactics.mli b/helm/software/components/ng_tactics/nTactics.mli index f9747e824..c81b1dd0b 100644 --- a/helm/software/components/ng_tactics/nTactics.mli +++ b/helm/software/components/ng_tactics/nTactics.mli @@ -11,37 +11,51 @@ (* $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 distribute_tac: lowtactic -> tactic -val block_tac: tactic list -> tactic - -val apply_tac: tactic_term -> tactic - - -val pp_tac_status: tac_status -> unit +val dot_tac: 's NTacStatus.tactic +val branch_tac: 's NTacStatus.tactic +val shift_tac: 's NTacStatus.tactic +val pos_tac: int list -> 's NTacStatus.tactic +val wildcard_tac: 's NTacStatus.tactic +val merge_tac: 's NTacStatus.tactic +val focus_tac: int list -> 's NTacStatus.tactic +val unfocus_tac: 's NTacStatus.tactic +val skip_tac: 's NTacStatus.tactic +val try_tac: 's NTacStatus.tactic -> 's NTacStatus.tactic +val repeat_tac: NTacStatus.tac_status NTacStatus.tactic -> 's NTacStatus.tactic + +val distribute_tac: + NTacStatus.lowtac_status NTacStatus.lowtactic -> 's NTacStatus.tactic +val block_tac: 's NTacStatus.tactic list -> 's NTacStatus.tactic + +val apply_tac: NTacStatus.tactic_term -> 's NTacStatus.tactic +val assumption_tac: 's NTacStatus.tactic +val change_tac: + where:NTacStatus.tactic_pattern -> with_what:NTacStatus.tactic_term -> + 's NTacStatus.tactic +val elim_tac: + what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> + 's NTacStatus.tactic +val intro_tac: string -> 's NTacStatus.tactic +val cases_tac: + what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> + 's NTacStatus.tactic +val case1_tac: string -> 's NTacStatus.tactic +val rewrite_tac: + dir:[ `LeftToRight | `RightToLeft ] -> + what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> + 's NTacStatus.tactic +val generalize_tac : where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic +val reduce_tac: + reduction:[ `Normalize of bool | `Whd of bool ] -> + where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic +val letin_tac: + where:NTacStatus.tactic_pattern -> + what: NTacStatus.tactic_term -> + string -> 's NTacStatus.tactic +val assert_tac: + ((string * [`Decl of NTacStatus.tactic_term | `Def of NTacStatus.tactic_term * NTacStatus.tactic_term]) list * NTacStatus.tactic_term) list -> + 's NTacStatus.tactic + +val auto_tac: + params:(NTacStatus.tactic_term list * (string * string) list) -> + 's NTacStatus.tactic