X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Forderings.ml;h=8f0575a674aeffdd3ea153a1e859b7cb8a603c79;hb=a99b3bf44964a6a3d56d752efbdc2c962ce24d08;hp=7c8a80995d697479fa9d15540fa84fc39433d5aa;hpb=1001308d4ecc7dffa20f5f0fe479c77f8cad9b8e;p=helm.git diff --git a/helm/software/components/ng_paramodulation/orderings.ml b/helm/software/components/ng_paramodulation/orderings.ml index 7c8a80995..8f0575a67 100644 --- a/helm/software/components/ng_paramodulation/orderings.ml +++ b/helm/software/components/ng_paramodulation/orderings.ml @@ -117,6 +117,11 @@ module Orderings (B : Terms.Blob) = struct * if head_only=true then it is not >>> but helps case 2 of 3.14 p 39 *) let rec aux_ordering ?(head_only=false) t1 t2 = match t1, t2 with + (* We want to discard any identity equality. * + * If we give back XEQ, no inference rule * + * will be applied on this equality *) + | Terms.Var i, Terms.Var j when i = j -> + XEQ (* 1. *) | Terms.Var _, _ | _, Terms.Var _ -> XINCOMPARABLE