]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/auto.ml
removed ugly prerr_endline
[helm.git] / components / tactics / auto.ml
index a7af3bbe5be2703e3831a2085eb2b09bddd755fd..b9ce25174edefc00c876253864f9172b52933507 100644 (file)
@@ -1249,7 +1249,7 @@ let prunable menv subst ty todo =
     | (D (_,_,T))::tl -> aux tl
     | _ -> false
   and no_progress variant = function
-    | [] -> prerr_endline "++++++++++++++++++++++++ no_progress"; true
+    | [] -> (*prerr_endline "++++++++++++++++++++++++ no_progress";*) true
     | D ((n,_,P) as g)::tl -> 
        (match calculate_goal_ty g subst menv with
            | None -> no_progress variant tl
@@ -1345,7 +1345,7 @@ let auto_main tables maxm context flags universe cache elems =
              (debug_print (lazy ("FAIL: SIZE: goal: "^string_of_int gsize));
                aux tables maxm flags cache orlist)
             else if prunable_for_size flags s m todo then
-               (prerr_endline ("POTO at depth: "^(string_of_int depth));
+               (debug_print (lazy ("POTO at depth: "^(string_of_int depth)));
                 aux tables maxm flags cache orlist)
            else
             (* still to be proved *)
@@ -1716,8 +1716,8 @@ let auto_tac ~(dbd:HSql.dbd) ~params ~universe (proof, goal) =
       in
       match auto_main tables newmeta context flags universe cache [elem] with
         | Proved (metasenv,subst,_, tables,cache,_) -> 
-            prerr_endline 
-              ("TIME:"^string_of_float(Unix.gettimeofday()-.initial_time));
+            (*prerr_endline 
+              ("TIME:"^string_of_float(Unix.gettimeofday()-.initial_time));*)
             let proof,metasenv =
             ProofEngineHelpers.subst_meta_and_metasenv_in_proof
               proof goal subst metasenv