Proceedings

Experiments with Associative-Commutative Discrimination Nets

Download BibTeX Cite

Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence. Automated Reasoning. Pages 348-354.

© 1995 International Joint Conferences on Artificial Intelligence

Abstract

We recently proposed a data structure, called associative-commutative discrimination nets, that supports efficient algorithms for (manyto-one) term matching in the presence of associative-commutative functions. In this paper we discuss the integration of such discrimination nets into an actual equational theorem prover and report on corresponding experiments. The general associativecommutative matching problem is known to be N P-complete, but can be solved in polynomial time if the given terms are linear, i.e., do not contain multiple occurrences of the same variable. We therefore have implemented a two-stage matching procedure. First we check whether a match exists for the linearized versions of the given terms (where different occurrences of the same variable are replaced by different new variables). If a match for the linearized terms does exist, we then determine whether there is also a match for the original, non-linear terms (i.e., whether the proposed substitutions for different occurrences of the same variable are consistent). Our experimental results indicate that this approach works very well in theorem proving, where most matching attempts actually fail and are filtered out during the first stage, so that the second, more expensive stage of the algorithm is only needed in comparatively few cases.

  1. [Bachmair et al., 1993] L. Bachmair, T. Chen, and lv Ra- makrishnan. Associative-commutative discrimination nets. In Proceeding8 of the 4th International Joint Confer• ence on Theory and Practice of Software Development, CAPP/FASE, pages 61-74, Orsay, France, April 1993. Springer-Verlag LNCS 668.
  2. [Benanav et al., 1987] D. Benanav, D. Kapur, and P. Naren- dran. Complexity of matching problems. Journal of Sym- bolic Computation, 3:203-216, 1987.
  3. [Christian, 1989] J. Christian. High-Performance Permuta- tive Completion. PhD thesis, The University of Texas at Austin, August 1989.
  4. [Forgy, 1982] C. Forgy. Rete, a fast algorithm for the many patterns many objects Match problem. Artificial Intelli• gence, 19:17-37, 1982.
  5. [Graf, 1994] P. Graf. Extended path-indexing. In 1!Uh Con- ferenec on Automated Deduction, pages 514-528. Springer- Verlag LNCS 814, 1994.
  6. [McCune, 1992] W. McCune. Experiments with discrimination-tree indexing and path indexing for term retrieval. Journal of Automated Rea8on- ing, 9:147-167, 1992.
  7. [Ohlbach, 1990] H.J. Ohlbach. Abstraction tree indexing for terms. In Proceeding8 of the 9th European Conference on Artificial Intelligence, pages 479-484, London, August 1990. Pitman Publishing.
  8. [Papadimitriou and Steiglitz, 1982] C. H. Papadimitriou and K. Steiglitz. Combinatorial Optimization: Algorithm8 and Complexity. Prentice Hall, 1982.
  9. [Ramesh et al., 1990] R. Ramesh, I.V. Ramakrishnan, and D.S. Warren. Automata-driven indexing of prolog clauses. In Seventh Annual ACM Sympo8ium on Principle8 of Pro- gramming Language8, pages 281-290, San Francisco, 1990.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards