X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FapplyTransformation.mli;h=a65e1e70ca12a1705015db61ca97732b3cc6053c;hb=4446f96e1829f1a82fc71cb49d8ddc392e73b155;hp=788ef6810979f88531e7269cf0c64ad744627b85;hpb=b02253b371aadbbb37226a685b9bd8777a64d175;p=helm.git diff --git a/helm/software/matita/applyTransformation.mli b/helm/software/matita/applyTransformation.mli index 788ef6810..a65e1e70c 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 *) @@ -64,16 +69,28 @@ val txt_of_cic_sequent_conclusion: map_unicode_to_tex:bool -> output_type:[`Pattern | `Term] -> int -> Cic.metasenv -> Cic.conjecture -> string -(* columns, rendering style, name prefix, object *) +(* columns, rendering style, flavour, name prefix, object *) val txt_of_cic_object: map_unicode_to_tex:bool -> - ?skip_thm_and_qed:bool -> - ?skip_initial_lambdas:int -> - int -> GrafiteAst.presentation_style -> string -> - Cic.obj -> + ?skip_thm_and_qed:bool -> ?skip_initial_lambdas:int -> + int -> GrafiteAst.presentation_style -> ?flavour:Cic.object_flavour -> + string -> Cic.obj -> string -(* presentation_style, uri or baseuri, name prefix *) +(* presentation_style, flavour, name prefix, uri or baseuri *) val txt_of_inline_macro: - map_unicode_to_tex:bool -> - GrafiteAst.presentation_style -> string -> string -> string + map_unicode_to_tex:bool -> GrafiteAst.presentation_style -> + ?flavour:Cic.object_flavour -> string -> 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 -> ?depth:int -> + Cic.context -> Cic.term -> + string