X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FapplyTransformation.mli;h=bcf3690d28148ed746e71068b1ac8c64944cb87f;hb=f9f775a550264a8dc9ce7ea9a48b79892a122c3c;hp=b5b5969277ae3810c4b0ed6960e5d7d654af5d50;hpb=907f919aba0f21b18acff8a8e1c266ab92d10baf;p=helm.git diff --git a/matita/matita/applyTransformation.mli b/matita/matita/applyTransformation.mli index b5b596927..bcf3690d2 100644 --- a/matita/matita/applyTransformation.mli +++ b/matita/matita/applyTransformation.mli @@ -33,89 +33,17 @@ (* *) (***************************************************************************) -val mml_of_cic_sequent: - Cic.metasenv -> (* metasenv *) - Cic.conjecture -> (* sequent *) - Gdome.document * (* Math ML *) - Cic.conjecture * (* unshared sequent *) - (Cic.annconjecture * (* annsequent *) - ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) - (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) - (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) - (Cic.id, Cic2acic.sort_kind) Hashtbl.t)) (* ids_to_inner_sorts *) - -val nmml_of_cic_sequent: - #NCicCoercion.status -> - NCic.metasenv -> NCic.substitution -> (* metasenv, substitution *) - int * NCic.conjecture -> (* sequent *) - Gdome.document (* Math ML *) +class status : + object + inherit Interpretations.status + inherit TermContentPres.status + end val ntxt_of_cic_sequent: - map_unicode_to_tex:bool -> int -> - #NCicCoercion.status -> + map_unicode_to_tex:bool -> int -> #status -> NCic.metasenv -> NCic.substitution -> (* metasenv, substitution *) int * NCic.conjecture -> (* sequent *) string (* text *) -val mml_of_cic_object: - Cic.obj -> (* object *) - Gdome.document * (* Math ML *) - (Cic.annobj * (* annobj *) - ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) - (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) - (Cic.id, Cic.conjecture) Hashtbl.t * (* id -> conjecture *) - (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) - (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: #NCicCoercion.status -> NCic.obj -> Gdome.document - val ntxt_of_cic_object: - map_unicode_to_tex:bool -> int -> #NCicCoercion.status -> NCic.obj -> string - -val txt_of_cic_sequent_all: - map_unicode_to_tex:bool -> int -> - Cic.metasenv -> (* metasenv *) - Cic.conjecture -> (* sequent *) - string * (* text *) - Cic.conjecture * (* unshared sequent *) - (Cic.annconjecture * (* annsequent *) - ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) - (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) - (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) - (Cic.id, Cic2acic.sort_kind) Hashtbl.t)) (* ids_to_inner_sorts *) - -val txt_of_cic_term: - 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: - 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 - -val txt_of_cic_object_all: - map_unicode_to_tex:bool -> - ?skip_thm_and_qed:bool -> ?skip_initial_lambdas:int -> - int -> GrafiteAst.inline_param list -> Cic.obj -> - string * (* text *) - (Cic.annobj * (* annobj *) - ((Cic.id, Cic.term) Hashtbl.t * (* id -> term *) - (Cic.id, Cic.id option) Hashtbl.t * (* id -> father id *) - (Cic.id, Cic.conjecture) Hashtbl.t * (* id -> conjecture *) - (Cic.id, Cic.hypothesis) Hashtbl.t * (* id -> hypothesis *) - (Cic.id, Cic2acic.sort_kind) Hashtbl.t * (* ids_to_inner_sorts *) - (Cic.id, Cic2acic.anntypes) Hashtbl.t)) (* ids_to_inner_types *) - -val txt_of_macro: - map_unicode_to_tex:bool -> - Cic.metasenv -> - Cic.context -> - (Cic.term, Cic.lazy_term) GrafiteAst.macro -> string + map_unicode_to_tex:bool -> int -> #status -> NCic.obj -> string