X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2FcicUniv.mli;h=3eec9b3bec9e2f858505935d2efb0a77d2df5eb2;hb=bb49c457d64878ed9611656f620548b5151e5dbd;hp=71ad1ef00b7b73f5e10092c97f723d4ffcfc50d7;hpb=31851952e1cc2db59168c5fd6f6093d9bc37ea86;p=helm.git diff --git a/helm/ocaml/cic/cicUniv.mli b/helm/ocaml/cic/cicUniv.mli index 71ad1ef00..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 @@ -113,6 +115,21 @@ val ugraph_of_xml: val restart_numbering: unit -> unit + (** re-hash-cons URIs contained in the given universe so that phisicaly + * equality could be enforced. Mainly used by + * 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 *)