skip to main content
article
Free Access

Fast Decision Procedures Based on Congruence Closure

Authors Info & Claims
Published:01 April 1980Publication History
Skip Abstract Section

Abstract

The notion of the congruence closure of a relation on a graph is defined and several algorithms for computing it are surveyed. A simple proof is given that the congruence closure algorithm provides a decision procedure for the quantifier-free theory of equality. A decision procedure is then given for the quantifier-free theory of LISP list structure based on the congruence closure algorithm. Both decision procedures determine the satisfiability of a conjunction of literals of length n in average time O(n log n) using the fastest known congruence closure algorithm. It is also shown that if the axiomatization of the theory of list structure is changed slightly, the problem of determining the satisfiability of a conjunction of literals becomes NP-complete. The decision procedures have been implemented in the authors' simplifier for the Stanford Pascal Verifier.

References

  1. 1 ACKERMANN, W Solvable Cases of the Dectston Problem North-Holland, Amsterdam, 1954Google ScholarGoogle Scholar
  2. 2 Ago, A V, HOPCROFT, J E, AND ULLMANN, J D The Design and Analysts of Computer Algorithms Addison-Wesley, Reading, Mass 1974 Google ScholarGoogle Scholar
  3. 3 DOWNEY, P. J, SETHI, R, AND TARJAN, R E. Var,auons on the common subexpresslon problem To appear m J. A CM. Google ScholarGoogle Scholar
  4. 4 Kozt~N, D. Complexity of finitely represented algebras. Proc. 9th Annual ACM Symp. on Theory of Comptg., Boulder, Colo., May 1977, pp. 164-177. Google ScholarGoogle Scholar
  5. 5 NELSON, C G., AND OPP~N, D. C Fast decision procedures based on UNION and'FIND. Proc E,ghteenth Annual Symp on Foundauons of Comptr. Sct, Providence, R I., 1977 (This is an earher verston of the present paper.)Google ScholarGoogle Scholar
  6. 6 NELSON, C G., AND OPPEN, D. C Stmphfieation by cooperating dec,slon procedures To be pubhshedGoogle ScholarGoogle Scholar
  7. 7 OPPEN, D C. Reasoning about recurstvely defined data structures Proc 5th ACM Syrup on Principles of Programming Lanl~uages, Tucson, Anz, January 1978, pp 151-157 Google ScholarGoogle Scholar
  8. 8 SHOSTAK, R An algorithm for reasomng about equahty Comm ACM 21, 7 (July 1978), 583-585 Google ScholarGoogle Scholar
  9. 9 TARJAN, R. E Efftctency of a good but not linear set umon algortthm J ACM 22, 2 (April 1975), 2t5-225 Google ScholarGoogle Scholar

Index Terms

  1. Fast Decision Procedures Based on Congruence Closure

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in

            Full Access

            • Published in

              cover image Journal of the ACM
              Journal of the ACM  Volume 27, Issue 2
              April 1980
              196 pages
              ISSN:0004-5411
              EISSN:1557-735X
              DOI:10.1145/322186
              Issue’s Table of Contents

              Copyright © 1980 ACM

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 1 April 1980
              Published in jacm Volume 27, Issue 2

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • article

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader