X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2FcicUniv.mli;h=3eec9b3bec9e2f858505935d2efb0a77d2df5eb2;hb=aca103d3c3d740efcc0bcc2932922cff77facb49;hp=7bd224946afd02b181d58d38cbef232dc1d31d69;hpb=9d3dcd6970c1e24c8191f268c441e42c8d8b6c89;p=helm.git diff --git a/helm/ocaml/cic/cicUniv.mli b/helm/ocaml/cic/cicUniv.mli index 7bd224946..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,10 +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 *)