;;
let print_status iterno goals active passive =
- print_endline
+ prerr_endline
(Printf.sprintf "\n%d #ACTIVES: %d #PASSIVES: %d #GOALSET: %d(%d)"
iterno (size_of_active active) (size_of_passive passive)
(size_of_goal_set_a goals) (size_of_goal_set_p goals))
in
match check_if_goals_set_is_solved env active goals with
| Some p ->
- print_endline
+ prerr_endline
(Printf.sprintf "\nFound a proof in: %f\n"
(Unix.gettimeofday() -. initial_time));
ParamodulationSuccess p
raise (ProofEngineTypes.Fail (lazy ("NO proof found: " ^ s)))
| ParamodulationSuccess
(goalproof,newproof,subsumption_id,subsumption_subst, proof_menv) ->
- print_endline "Proof:";
- print_endline
+ prerr_endline "Proof:";
+ prerr_endline
(Equality.pp_proof names goalproof newproof subsumption_subst
subsumption_id type_of_goal);
(* prerr_endline "ENDOFPROOFS"; *)
(CicMetaSubst.ppmetasenv [] metasenv)
(CicMetaSubst.ppmetasenv [] real_metasenv);
*)
- print_endline (Printf.sprintf "\nTIME NEEDED: %8.2f" time);
+ prerr_endline (Printf.sprintf "\nTIME NEEDED: %8.2f" time);
proof, open_goals
;;
(String.concat "\n"
(List.map
(Equality.string_of_equality ~env) equalities));
- print_endline "--------------------------------------------------";
- print_endline "GO!";
+ prerr_endline "--------------------------------------------------";
+ prerr_endline "GO!";
start_time := Unix.gettimeofday ();
if !time_limit < 1. then time_limit := 60.;
let ra, rp =