| CicNotationPt.Inductive _ -> assert false
| CicNotationPt.Theorem _ -> None in
(*
- (match obj with
+ (let time = Unix.gettimeofday () in
+ prerr_endline "INIZIO NUOVA DISAMBIGUAZIONE";
+ (match obj with
CicNotationPt.Theorem (_,_,ty,_) ->
(try
(match
(text,prefix_len,ty)
with
| [_,metasenv,subst,ty],_ ->
- prerr_endline ("NUOVA DISAMBIGUAZIONE OK!!!!!!!!! " ^
- NCicPp.ppterm ~metasenv ~subst ~context:[] ty)
+ let time = Unix.gettimeofday () -. time in
+ prerr_endline ("NUOVA DISAMBIGUAZIONE OK: "^ string_of_float time);
+ prerr_endline (NCicPp.ppterm ~metasenv ~subst ~context:[] ty)
| _ ->
prerr_endline ("NUOVA DISAMBIGUAZIONE AMBIGUO!!!!!!!!! "))
with
(List.map (fun _,_,x,_ -> snd (Lazy.force x)) (List.flatten s)))
(* | exn -> prerr_endline (Printexc.to_string exn) *)
)
- | _ -> ()
+ | _ -> ())
);
+ let time = Unix.gettimeofday () in
*)
let (diff, metasenv, _, cic, _) =
singleton "third"
~aliases:lexicon_status.LexiconEngine.aliases
~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