]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicEnvironment.mli
added mk_fix i j r that given an r of a fix generated another fix on i and j
[helm.git] / helm / software / components / ng_kernel / nCicEnvironment.mli
index ac6654cf96f10e5cc1d0a56949ce1e14d3f99432..6f224d5273920710bfc14d47be5994878fa79065 100644 (file)
 (* 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
+
+val invalidate: unit -> unit
+val load_graph: UriManager.uri -> unit
+val get_graph: unit -> CicUniv.universe_graph
 
 (* EOF *)