From 9ab150d29e4b7653f71085da477a1c81f7b7e131 Mon Sep 17 00:00:00 2001 From: denes Date: Wed, 10 Jun 2009 08:46:55 +0000 Subject: [PATCH] Extended the equality case to non ground terms --- helm/software/components/ng_paramodulation/orderings.ml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2