X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_tactics%2FnTactics.mli;h=95cf5c26f8c4c0e54bec5b8970bd55f89bc67359;hb=d6484aac4ff287a3a3646807801eab4b27cfb054;hp=de8c24738b1e3d177073961a7672f16e9532ac89;hpb=d072c3ea699cf33189d18d8431fda9750fc2eb93;p=helm.git diff --git a/helm/software/components/ng_tactics/nTactics.mli b/helm/software/components/ng_tactics/nTactics.mli index de8c24738..95cf5c26f 100644 --- a/helm/software/components/ng_tactics/nTactics.mli +++ b/helm/software/components/ng_tactics/nTactics.mli @@ -11,41 +11,49 @@ (* $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 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