X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_acic%2Fcic2acic.mli;h=4526521fbd0e6d00f6e57d0b0eb6f05ab8636c09;hb=eaf5880ed69963b3ad37cb1f8a1fd48b2918e58b;hp=b63a585e6bab0aafaa6cfc8faba6bace779f3cf6;hpb=c465c17581bf606e0330cbd89b238279c184ad35;p=helm.git diff --git a/helm/software/components/cic_acic/cic2acic.mli b/helm/software/components/cic_acic/cic2acic.mli index b63a585e6..4526521fb 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 ] +type sort_kind = [ `Prop | `Set | `Type of CicUniv.universe | `CProp of CicUniv.universe] 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 *)