X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fparamodulation%2Ffounif.ml;h=b635599515b75ba0d77fc7f6e7cbe793df66ee9a;hb=b91d9e60b0a5f450d2725d4b9bb3ed7f81ef6d3a;hp=c2df6371c410fa8da7d18b9b6d296c6a1b0d8bb2;hpb=b3e08a6954c8b6946f42f5c7e0bed7912d5ac87c;p=helm.git diff --git a/helm/software/components/tactics/paramodulation/founif.ml b/helm/software/components/tactics/paramodulation/founif.ml index c2df6371c..b63559951 100644 --- a/helm/software/components/tactics/paramodulation/founif.ml +++ b/helm/software/components/tactics/paramodulation/founif.ml @@ -206,9 +206,10 @@ let unification_aux b metasenv1 metasenv2 context t1 t2 ugraph = if Utils.debug_metas then ignore(check_for_duplicates menv "unification_aux prima di apply_subst"); let menv = Subst.apply_subst_metasenv subst menv in - let _ = check_for_duplicates menv "unif_aux after" in - check_metasenv "unification_aux after 1" menv; - subst, menv, ug + if Utils.debug_metas then + (let _ = check_for_duplicates menv "unif_aux after" in + check_metasenv "unification_aux after 1" menv); + subst, menv, ug ;; exception MatchingFailure;;