(* LOOPING : COL057-1.ma *)
let debug s =
- prerr_endline s
+ () (* prerr_endline s *)
;;
let nparamod rdb metasenv subst context t table =
let gsteps,esteps = traverse true ([],[]) i in
(List.rev esteps)@gsteps
in
- prerr_endline (Printf.sprintf "Found proof in %d iterations" !nb_iter);
+ prerr_endline (Printf.sprintf "Found proof in %d iterations, %fs"
+ !nb_iter
+ (Unix.gettimeofday() -. timeout +. amount_of_time));
(* prerr_endline "Proof:";
List.iter (fun x -> prerr_endline (string_of_int x);
prerr_endline (Pp.pp_unit_clause (Terms.M.find x bag))) l;*)
let proofterm = B.mk_proof bag i l in
- prerr_endline "Got proof term";
+ prerr_endline (Printf.sprintf "Got proof term, %fs"
+ (Unix.gettimeofday() -. timeout +. amount_of_time));
let metasenv, proofterm =
let rec aux k metasenv = function
| NCic.Meta _ as t -> metasenv, t
let bag, maxvar, new_goals =
superposition_with_table bag maxvar goal atable
in
- prerr_endline "Superposed goal with active clauses";
+ debug "Superposed goal with active clauses";
(* We demodulate the goal with active clauses *)
let bag, new_goals =
List.fold_left
bag, g :: acc)
(bag, []) new_goals
in
- prerr_endline "Demodulated goal with active clauses";
+ debug "Demodulated goal with active clauses";
bag, maxvar, List.rev new_goals
;;