]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/applyTransformation.mli
Lookup_in_library implemented for new objects. Basically, this stupid (??),
[helm.git] / helm / software / matita / applyTransformation.mli
index 218a92ca9f4d8bc0263f16c77cd6610e538c8ee4..a65e1e70ca12a1705015db61ca97732b3cc6053c 100644 (file)
@@ -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 *)
@@ -56,9 +61,36 @@ val mml_of_cic_object:
        (Cic.id, Cic2acic.anntypes) Hashtbl.t))  (* ids_to_inner_types *)
 
 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: 
-  int -> Cic.metasenv -> Cic.conjecture -> string
+  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, 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 -> ?flavour:Cic.object_flavour ->
+  string -> Cic.obj ->
+    string
+
+(* presentation_style, flavour, name prefix, uri or baseuri *)
+val txt_of_inline_macro:
+  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