We introduce a new decision procedure for Equality Logic. The procedure improves on Bryant and Velev's SPARSE method [4] from CAV'00, in which each equality predicate is encoded with a Boolean variable, and then a set of transitivity constraints are added to compensate for the loss of transitivity of equality. We suggest the Reduced Transitivity Constraints (RTC) algorithm, that unlike the SPARSE method, considers the polarity of each equality predicate, i.e. whether it is an equality or disequality when the given equality formula φE is in Negation Normal Form (NNF). Given this information, we build the Equality Graph corresponding to φE with two types of edges, one for each polarity. We then define the notion of Contradictory Cycles to be cycles in that graph that the variables corresponding to their edges cannot be simultaneously satisfied due to transitivity of equality. We prove that it is sufficient to add transitivity constraints that only constrain Contradictory Cycles, which results in only a small subset of the constraints added by the SPARSE method. The formulas we generate are smaller and define a larger solution set, hence are expected to be easier to solve, as indeed our experiments show. Our new decision procedure is now implemented in the UCLID verification system. © Springer-Verlag Berlin Heidelberg 2005.
CITATION STYLE
Meir, O., & Strichman, O. (2005). Yet another decision procedure for Equality Logic. In Lecture Notes in Computer Science (Vol. 3576, pp. 307–320). Springer Verlag. https://doi.org/10.1007/11513988_32
Mendeley helps you to discover research relevant for your work.