Experiments with Associative-Commutative Discrimination Nets
Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence. Automated Reasoning. Pages 348-354.
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.
@inproceedings{ijcai1995p46,
title = {Experiments with Associative-Commutative Discrimination Nets},
author = {Bachmair, Leo and Chen, Ta and Ramakrishnan, I. V. and Anantharaman, Siva and Chabin, Jacques},
booktitle = {Proceedings of the Fourteenth International Joint Conference on
Artificial Intelligence, {IJCAI-95}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Chris S. Mellish},
pages = {348--354},
year = {1995},
note = {Automated Reasoning},
url = {https://ijcai.org/proceedings/1995/46},
}
TY - CPAPER TI - Experiments with Associative-Commutative Discrimination Nets AU - Bachmair, Leo AU - Chen, Ta AU - Ramakrishnan, I. V. AU - Anantharaman, Siva AU - Chabin, Jacques T2 - Proceedings of the Fourteenth International Joint Conference on Artificial Intelligence, IJCAI-95 PB - International Joint Conferences on Artificial Intelligence PY - 1995 SP - 348 EP - 354 UR - https://ijcai.org/proceedings/1995/46 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: