X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicEnvironment.mli;h=70a230ddf383eed8401fc3e2cb57d615d05b5d30;hb=352aa2e42b054c1ecd80d5767c561758f210a3a7;hp=ac6654cf96f10e5cc1d0a56949ce1e14d3f99432;hpb=5f926fd66f345c273bc66cc3ab9b1344ad0eac25;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicEnvironment.mli b/helm/software/components/ng_kernel/nCicEnvironment.mli index ac6654cf9..70a230ddf 100644 --- a/helm/software/components/ng_kernel/nCicEnvironment.mli +++ b/helm/software/components/ng_kernel/nCicEnvironment.mli @@ -26,8 +26,27 @@ (* NG: minimal wrapper on the old cicEnvironment, should provide only the * functions strictly necessary to the typechecking algorithm *) -val get_checked_obj : - NCicUniv.universe_graph -> NUriManager.uri -> - NCic.obj * NCicUniv.universe_graph +val get_checked_obj: NUri.uri -> NCic.obj +val get_obj: NUri.uri -> bool * NCic.obj +val add_obj: NCic.obj -> unit + +val get_checked_def: + NReference.reference -> + NCic.relevance * string * NCic.term * NCic.term * NCic.c_attr * int + +(* the last integer is the index of the inductive type in the reference *) +val get_checked_indtys: + NReference.reference -> + bool * int * NCic.inductiveType list * NCic.i_attr * int + +val get_checked_fix: + NReference.reference -> + NCic.relevance * string * NCic.term * NCic.term * NCic.f_attr * int + +val get_checked_cofix: + NReference.reference -> + NCic.relevance * string * NCic.term * NCic.term * NCic.f_attr * int + +val get_indty_leftno: NReference.reference -> int (* EOF *)