X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2Fcheck.ml;h=a793cf05978817f49e8a6ae00180994000545ef6;hb=a3ff8f4f61a45e8c269322275956fad0805da8bc;hp=fb9d553b8e40b7bc3f38f0f9c914b3b5eef98bfb;hpb=57e708bca8555d6146c4e3d07c0a9b6a546373ce;p=helm.git diff --git a/helm/software/components/ng_kernel/check.ml b/helm/software/components/ng_kernel/check.ml index fb9d553b8..a793cf059 100644 --- a/helm/software/components/ng_kernel/check.ml +++ b/helm/software/components/ng_kernel/check.ml @@ -12,7 +12,7 @@ (* $Id$ *) let debug = true -let ignore_exc = true +let ignore_exc = false let rank_all_dependencies = false let trust_environment = false @@ -49,6 +49,7 @@ let logger = if debug then prerr_endline (do_indent () ^ "Trust: " ^ NUri.string_of_uri s)) ;; + let mk_type n = if n = 0 then [false, NUri.uri_of_string ("cic:/matita/pts/Type.univ")] @@ -56,6 +57,8 @@ let mk_type n = [false, NUri.uri_of_string ("cic:/matita/pts/Type"^string_of_int n^".univ")] ;; +let cprop = [false, NUri.uri_of_string ("cic:/matita/pts/CProp.univ")];; + let _ = let do_old_logging = ref true in HelmLogger.register_log_callback @@ -136,6 +139,7 @@ let _ = prerr_endline "finished...."; let lll = List.sort compare (CicUniv.do_rank (get_graph ())) in prerr_endline "caching objects"; + NCicEnvironment.add_constraint true cprop (mk_type 0); let _ = let rec aux = function | a::(b::_ as tl) ->