X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_acic%2Fcic2acic.mli;h=0bf874e86fd45ae6bab8564d1ea98ed3b271b59e;hb=a7237500e8a2a4237a6ae8ba4b8301f7bbcb6acb;hp=c3cf56e889974b56bd9c03695c3ce8dd4ed140f1;hpb=6719c0e318b312b51b089fea3d69d1b7103245ea;p=helm.git diff --git a/helm/software/components/cic_acic/cic2acic.mli b/helm/software/components/cic_acic/cic2acic.mli index c3cf56e88..0bf874e86 100644 --- a/helm/software/components/cic_acic/cic2acic.mli +++ b/helm/software/components/cic_acic/cic2acic.mli @@ -31,7 +31,7 @@ type anntypes = {annsynthesized : Cic.annterm ; annexpected : Cic.annterm option} ;; -type sort_kind = [ `Prop | `Set | `Type of CicUniv.universe | `CProp of CicUniv.universe] +type sort_kind = [ `Prop | `Set | `Type of CicUniv.universe | `CProp of CicUniv.universe | `NType of string | `NCProp of string] val string_of_sort: sort_kind -> string (*val sort_of_string: string -> sort_kind*) @@ -59,3 +59,10 @@ val asequent_of_sequent : (Cic.id, Cic.hypothesis) Hashtbl.t) (* ids_to_hypotheses *) val plain_acic_object_of_cic_object : Cic.obj -> Cic.annobj + +val acic_term_of_cic_term : + ?eta_fix: bool -> (* perform eta_fixing; default: true*) + Cic.context -> Cic.term -> (* term and context *) + Cic.annterm * (* annotated term *) + (Cic.id, sort_kind) Hashtbl.t * (* ids_to_inner_sorts *) + (Cic.id, anntypes) Hashtbl.t (* ids_to_inner_types *)