X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FapplyTransformation.mli;h=f41f0a7a1e27ad38e1fcf5240c954c0823e1f77d;hb=ba8d987dab88c8a834c4e23508f13a397070d537;hp=8e2d51b5b6713e06ad4b9f1b04cfefb11552409e;hpb=863eeec8251791046ea6ea487286eb1434520725;p=helm.git diff --git a/helm/software/matita/applyTransformation.mli b/helm/software/matita/applyTransformation.mli index 8e2d51b5b..f41f0a7a1 100644 --- a/helm/software/matita/applyTransformation.mli +++ b/helm/software/matita/applyTransformation.mli @@ -44,6 +44,11 @@ val mml_of_cic_sequent: (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) (Cic.id, Cic2acic.sort_kind) Hashtbl.t)) (* ids_to_inner_sorts *) +val nmml_of_cic_sequent: + NCic.metasenv -> NCic.substitution -> (* metasenv, substitution *) + int * NCic.conjecture -> (* sequent *) + Gdome.document (* Math ML *) + val mml_of_cic_object: Cic.obj -> (* object *) Gdome.document * (* Math ML *) @@ -55,8 +60,37 @@ val mml_of_cic_object: (Cic.id, Cic2acic.sort_kind) Hashtbl.t * (* ids_to_inner_sorts *) (Cic.id, Cic2acic.anntypes) Hashtbl.t)) (* ids_to_inner_types *) +val nmml_of_cic_object: NCic.obj -> Gdome.document + val txt_of_cic_term: - int -> Cic.metasenv -> Cic.context -> Cic.term -> string + map_unicode_to_tex:bool -> int -> Cic.metasenv -> Cic.context -> Cic.term -> + string +val txt_of_cic_sequent: + map_unicode_to_tex:bool -> int -> Cic.metasenv -> Cic.conjecture -> string val txt_of_cic_sequent_conclusion: - int -> Cic.metasenv -> Cic.conjecture -> string + map_unicode_to_tex:bool -> output_type:[`Pattern | `Term] -> int -> + Cic.metasenv -> Cic.conjecture -> string + +(* columns, params, object *) +val txt_of_cic_object: + map_unicode_to_tex:bool -> + ?skip_thm_and_qed:bool -> ?skip_initial_lambdas:int -> + int -> GrafiteAst.inline_param list -> Cic.obj -> + string + +(* params, uri or baseuri *) +val txt_of_inline_macro: + map_unicode_to_tex:bool -> GrafiteAst.inline_param list -> string -> + string + +val txt_of_macro: + map_unicode_to_tex:bool -> + Cic.metasenv -> + Cic.context -> + (Cic.term, Cic.lazy_term) GrafiteAst.macro -> string +(* columns, rendering depth, context, term *) +val procedural_txt_of_cic_term: + map_unicode_to_tex:bool -> int -> GrafiteAst.inline_param list -> + Cic.context -> Cic.term -> + string