X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fparamodulation%2Finference.ml;h=f040241223bf3996f0972f3df4a4fcc8acbb89be;hb=73663b52b3e1d8ed2f5936177bcc13b6e6b69997;hp=a27116bc9f007e232f1d1f9856140fea683f6b86;hpb=4313889a915eb0df74bc047f89a7316c8cf4e19c;p=helm.git diff --git a/helm/software/components/tactics/paramodulation/inference.ml b/helm/software/components/tactics/paramodulation/inference.ml index a27116bc9..f04024122 100644 --- a/helm/software/components/tactics/paramodulation/inference.ml +++ b/helm/software/components/tactics/paramodulation/inference.ml @@ -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> in +(* let _ = <:start> in *) let t = CicUtil.term_of_uri u in let ty, _ = CicTypeChecker.type_of_aux' [] [] t CicUniv.empty_ugraph in - let _ = <:stop> in +(* let _ = <:stop> 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> in +(* let _ = <:start> 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> in +(* let _ = <:stop> 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> ;; +let get_stats () = "" (*<:show>*) ;;