| None -> raise BaseUriNotSetYet)
| CicNotationPt.Inductive _ -> assert false
| CicNotationPt.Theorem _ -> None in
+ (match obj with
+ CicNotationPt.Theorem (_,_,ty,_) ->
+ (try
+ let [_,_,_,ty],_ =
+ NGrafiteDisambiguator.disambiguate_term
+ ~context:[] ~metasenv:[] ~subst:[]
+ ~aliases:DisambiguateTypes.Environment.empty
+ ~universe:(Some DisambiguateTypes.Environment.empty)
+ ("",0,ty)
+ in
+ prerr_endline ("NUOVA DISAMBIGUAZIONE OK!!!!!!!!! " ^
+ NCicPp.ppterm ~metasenv:[] ~subst:[] ~context:[] ty)
+ with NGrafiteDisambiguator.DisambiguationError _ ->
+ prerr_endline "ERRORE NUOVA DISAMBIGUAZIONE";
+ assert false)
+ | _ -> ()
+ );
let (diff, metasenv, _, cic, _) =
singleton "third"
(GrafiteDisambiguator.disambiguate_obj ~lookup_in_library