)
context)
open_goals;
- prerr_endline ("altezza sequente: " ^ string_of_int !h);
+ debug_print ("altezza sequente: " ^ string_of_int !h);
!h
;;
(* gty is supposed to be meta-closed *)
let is_subsumed depth status gty cache =
if cache=[] then false else (
- print ~depth (lazy("Subsuming " ^ (ppterm status gty)));
+ debug_print ~depth (lazy("Subsuming " ^ (ppterm status gty)));
let n,h,metasenv,subst,obj = status#obj in
let ctx = ctx_of gty in
let _ , target = term_of_cic_term status gty ctx in
let status, gty = apply_subst status gctx gty in
debug_print ~depth (lazy("Attacking goal " ^ (string_of_int g) ^" : "^ppterm status gty));
if is_subsumed depth status closegty (snd cache.under_inspection) then
- (print ~depth (lazy "SUBSUMED");
+ (debug_print ~depth (lazy "SUBSUMED");
raise (Gaveup IntSet.add g IntSet.empty))
else
let do_flags =