X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_tactics%2FnTacStatus.mli;h=cf94862ebd7ef922670e29c27333b5a0a3f16f2c;hb=dcdbb979433a61e2ef2842d96604098728824416;hp=df862f223f436a26b35bf90cc6e569ed71a94ba0;hpb=b438322c4140e3d2395d693e9c5f0e96934436a0;p=helm.git diff --git a/helm/software/components/ng_tactics/nTacStatus.mli b/helm/software/components/ng_tactics/nTacStatus.mli index df862f223..cf94862eb 100644 --- a/helm/software/components/ng_tactics/nTacStatus.mli +++ b/helm/software/components/ng_tactics/nTacStatus.mli @@ -16,7 +16,7 @@ val fail: string lazy_t -> 'a type lowtac_status = { pstatus : NCic.obj; - lstatus : LexiconEngine.status + estatus : NEstatus.extra_status; } type lowtactic = lowtac_status -> int -> lowtac_status @@ -33,25 +33,35 @@ type tactic_pattern = GrafiteAst.npattern Disambiguate.disambiguator_input type cic_term val ctx_of : cic_term -> NCic.context -val term_of_cic_term : cic_term -> NCic.context -> NCic.term +val term_of_cic_term : + lowtac_status -> cic_term -> NCic.context -> lowtac_status * NCic.term val mk_cic_term : NCic.context -> NCic.term -> cic_term -type ast_term = string * int * CicNotationPt.term val disambiguate: - lowtac_status -> ast_term -> cic_term option -> NCic.context -> + lowtac_status -> tactic_term -> cic_term option -> NCic.context -> lowtac_status * cic_term (* * cic_term XXX *) val analyse_indty: lowtac_status -> cic_term -> - NReference.reference * int * NCic.term list * NCic.term list - -val whd: lowtac_status -> ?delta:int -> NCic.context -> cic_term -> cic_term -val typeof: lowtac_status -> NCic.context -> cic_term -> cic_term + lowtac_status * + (NReference.reference * int * NCic.term list * NCic.term list) + +val ppterm: lowtac_status -> cic_term -> string +val whd: + lowtac_status -> ?delta:int -> NCic.context -> cic_term -> + lowtac_status * cic_term +val normalize: + lowtac_status -> ?delta:int -> NCic.context -> cic_term -> + lowtac_status * cic_term +val typeof: + lowtac_status -> NCic.context -> cic_term -> lowtac_status * cic_term val unify: lowtac_status -> NCic.context -> cic_term -> cic_term -> lowtac_status val refine: lowtac_status -> NCic.context -> cic_term -> cic_term option -> lowtac_status * cic_term * cic_term (* status, term, type *) +val apply_subst: + lowtac_status -> NCic.context -> cic_term -> lowtac_status * cic_term val get_goalty: lowtac_status -> int -> cic_term val mk_meta: @@ -64,7 +74,7 @@ val select_term: lowtac_status -> found: (lowtac_status -> cic_term -> lowtac_status * cic_term) -> postprocess: (lowtac_status -> cic_term -> lowtac_status * cic_term) -> - cic_term -> ast_term option * NCic.term -> + cic_term -> tactic_term option * NCic.term -> lowtac_status * cic_term val mk_in_scope: lowtac_status -> cic_term -> lowtac_status * cic_term