]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/tactics/paramodulation/inference.ml
added timeout parameter to auto paramodulation.
[helm.git] / helm / software / components / tactics / paramodulation / inference.ml
index a27116bc9f007e232f1d1f9856140fea683f6b86..f040241223bf3996f0972f3df4a4fcc8acbb89be 100644 (file)
@@ -23,7 +23,7 @@
  * http://cs.unibo.it/helm/.
  *)
 
-let _profiler = <:profiler<_profiler>>;;
+(* let _profiler = <:profiler<_profiler>>;; *)
 
 (* $Id$ *)
 
@@ -243,7 +243,8 @@ let find_equalities context proof =
                          (Printf.sprintf "OK: %s" (CicPp.ppterm term)));
                     let o = !Utils.compare_terms t1 t2 in
                     let stat = (ty,t1,t2,o) in
-                    let w = compute_equality_weight stat in
+                    (* let w = compute_equality_weight stat in *)
+                    let w = 0 in 
                     let proof = Equality.Exact p in
                     let e = Equality.mk_equality (w, proof, stat, newmetas) in
                     Some e, (newmeta+1)
@@ -319,10 +320,10 @@ let equations_blacklist =
 let equations_blacklist = UriManager.UriSet.empty;;
 
 let tty_of_u u = 
-  let _ = <:start<tty_of_u>> in
+(*   let _ = <:start<tty_of_u>> in *)
   let t = CicUtil.term_of_uri u in
   let ty, _ = CicTypeChecker.type_of_aux' [] [] t CicUniv.empty_ugraph in
-  let _ = <:stop<tty_of_u>> in
+(*   let _ = <:stop<tty_of_u>> in *)
   t, ty
 ;;
 
@@ -335,7 +336,7 @@ let find_library_equalities caso_strano dbd context status maxmeta =
   let module C = Cic in
   let module S = CicSubstitution in
   let module T = CicTypeChecker in
-  let _ = <:start<equations_for_goal>> in
+(*   let _ = <:start<equations_for_goal>> in *)
   let signature = 
     if caso_strano then
       begin
@@ -363,7 +364,7 @@ let find_library_equalities caso_strano dbd context status maxmeta =
       None
   in
   let eqs = (MetadataQuery.equations_for_goal ~dbd ?signature status) in
-  let _ = <:stop<equations_for_goal>> in
+(*   let _ = <:stop<equations_for_goal>> in *)
   let candidates =
     List.fold_left
       (fun l uri ->
@@ -519,4 +520,4 @@ let find_context_hypotheses env equalities_indexes =
   res
 ;;
 
-let get_stats () = <:show<Inference.>> ;;
+let get_stats () = "" (*<:show<Inference.>>*) ;;