ugraph
| _ -> CicUniv.empty_ugraph
in
+
(*
+ prerr_endline "PRIMA COERCIONS";
let _,l = CicUniv.do_rank graph in
List.iter (fun k ->
prerr_endline (CicUniv.string_of_universe k ^ " = " ^ string_of_int
(CicUniv.get_rank k))) l;
*)
+
let graph =
List.fold_left
(fun graph (_,_,l) ->
graph (CoercDb.to_list ())
in
ignore(CicUniv.do_rank graph);
+
+
+(*
+ prerr_endline "DOPO COERCIONS";
+ let _,l = CicUniv.do_rank graph in
+ List.iter (fun k ->
+ prerr_endline (CicUniv.string_of_universe k ^ " = " ^ string_of_int
+ (CicUniv.get_rank k))) l;
+*)
+
+
prerr_endline "INIZIO NUOVA DISAMBIGUAZIONE";
let time = Unix.gettimeofday () in
(try
)
in
+
(*
try
let time = Unix.gettimeofday () in
*)
+
let (diff, metasenv, _, cic, _) =
singleton "third"
(CicDisambiguate.disambiguate_obj
~universe:(Some lexicon_status.LexiconEngine.multi_aliases) ~uri
(text,prefix_len,obj)) in
+
(*
let time = Unix.gettimeofday () -. time in
prerr_endline ("VECCHIA DISAMBIGUAZIONE: " ^ string_of_float time);
*)
+
let lexicon_status = LexiconEngine.set_proof_aliases lexicon_status diff in
lexicon_status, metasenv, cic
+
(*
with
| Sys.Break as exn -> raise exn
raise exn
*)
+
;;
let disambiguate_command lexicon_status ?baseuri metasenv (text,prefix_len,cmd)=