X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_tactics%2FnTactics.mli;h=7d8c15068bf67c7985ed37846356edbeceaa77ed;hb=c091ca7a030a85a529543de98e45c54284028b63;hp=fbebd4cbbfc9bc8661d6a89d7d5dfcb0407c1197;hpb=5fa31e43ffe25aa7b1539653b137968b5cf9899a;p=helm.git diff --git a/helm/software/components/ng_tactics/nTactics.mli b/helm/software/components/ng_tactics/nTactics.mli index fbebd4cbb..7d8c15068 100644 --- a/helm/software/components/ng_tactics/nTactics.mli +++ b/helm/software/components/ng_tactics/nTactics.mli @@ -11,42 +11,47 @@ (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *) -exception Error of string lazy_t - -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 elim_tac: what:tactic_term -> where:tactic_pattern -> tactic -val intro_tac: string -> tactic -val case1_tac: string -> 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 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 +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