X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2FcicUniv.mli;h=3eec9b3bec9e2f858505935d2efb0a77d2df5eb2;hb=aca103d3c3d740efcc0bcc2932922cff77facb49;hp=d2b2483a19b5b331b7c9a601d5ebe674e9051950;hpb=20003022e190826cee7f56e2de281815518c0966;p=helm.git diff --git a/helm/ocaml/cic/cicUniv.mli b/helm/ocaml/cic/cicUniv.mli index d2b2483a1..3eec9b3be 100644 --- a/helm/ocaml/cic/cicUniv.mli +++ b/helm/ocaml/cic/cicUniv.mli @@ -43,7 +43,9 @@ type universe_graph returns a fresh universe *) val fresh: - unit -> universe + ?uri:UriManager.uri -> + unit -> + universe (* really useful at the begin and in all the functions that don't care @@ -118,6 +120,16 @@ val restart_numbering: * CicEnvironment.restore_from_channel *) val recons_graph: universe_graph -> universe_graph + (** re-hash-cons a single universe *) +val recons_univ: universe -> universe + + (** consistency chek that should be done before committin the graph to the + * cache *) +val assert_univs_have_uri: universe_graph -> unit + + (** asserts the univers is named *) +val assert_univ: universe -> unit + (* Benchmarking stuff *)