X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2FtacticChaser.ml;h=831ccc6f4bedaf2cc4f32d77f4067aa25486948b;hb=fd648e40eb2c9c5b29cfa4408459511a74898d1d;hp=e4e20f640af03cdf2525340b2abf4449f8be893c;hpb=398cabf645bbd86c527ddfff2bffe59b2d5e8fcb;p=helm.git diff --git a/helm/ocaml/tactics/tacticChaser.ml b/helm/ocaml/tactics/tacticChaser.ml index e4e20f640..831ccc6f4 100644 --- a/helm/ocaml/tactics/tacticChaser.ml +++ b/helm/ocaml/tactics/tacticChaser.ml @@ -145,7 +145,7 @@ let matchConclusion2 mqi_handle ?(output_html = (fun _ -> ())) ~choose_must() st *) (* concl_cost are the costants in the conclusion of the proof while hyp_const are the constants in the hypothesis *) - let concl_const = NewConstraints.constants_concl ty in + let (main_concl,concl_const) = NewConstraints.mainandcons ty in prerr_endline ("Ne sono rimasti 1 " ^ string_of_int (List.length uris)); let hyp t set = match t with @@ -161,7 +161,7 @@ let matchConclusion2 mqi_handle ?(output_html = (fun _ -> ())) ~choose_must() st if (List.length uris < (Filter_auto.power 2 (List.length (NewConstraints.StringSet.elements all_const)))) then (prerr_endline("metodo vecchio");List.filter (Filter_auto.filter_new_constants conn all_const) uris) - else Filter_auto.filter_uris conn all_const uris in + else Filter_auto.filter_uris conn all_const uris main_concl in (* let uris = (* ristretto all cache *)