X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fparamodulation%2Futils.ml;h=81c84af35acf54b90e15429d58e0ea34a616bdb8;hb=2b635ef37ea18619199fbadcdab61fc9184995dd;hp=eabf24353395f443beea557563d0daa4a4a7273c;hpb=b0bbbe6ec20a0afa145c1e6d92530105d9d4d7e3;p=helm.git diff --git a/helm/software/components/tactics/paramodulation/utils.ml b/helm/software/components/tactics/paramodulation/utils.ml index eabf24353..81c84af35 100644 --- a/helm/software/components/tactics/paramodulation/utils.ml +++ b/helm/software/components/tactics/paramodulation/utils.ml @@ -346,7 +346,7 @@ let compute_equality_weight (ty,left,right,o) = let compute_equality_weight e = let w = compute_equality_weight e in - let d = distance !goal_symbols (symbols_of_eq e) in + let d = 0 in (* distance !goal_symbols (symbols_of_eq e) in *) (* prerr_endline (Printf.sprintf "dist %s --- %s === %d" (String.concat ", " (List.map (CicPp.ppterm) (TermSet.elements @@ -356,7 +356,7 @@ let compute_equality_weight e = d ); *) - w + d + w + d ;; (* old