Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

Unification and matching on compressed terms

Unification and matching on compressed terms Uni cation and Matching on Compressed Terms ` ADRIA GASCON and GUILLEM GODOY, Universitat Polit` cnica de Catalunya e MANFRED SCHMIDT-SCHAUSS, Goethe-Universitat Term uni cation plays an important role in many areas of computer science, especially in those related to logic. The universal mechanism of grammar-based compression for terms, in particular the so-called singleton tree grammars (STGAs), have recently drawn considerable attention. Using STGs, terms of exponential size and height can be represented in linear space. Furthermore, the term representation by directed acyclic graphs (dags) can be ef ciently simulated. The present article is the result of an investigation on term uni cation and matching when the terms given as input are represented using different compression mechanisms for terms such as dags and singleton tree grammars. We describe a polynomial time algorithm for context matching with dags, when the number of different context variables is xed for the problem. For the same problem, NP-completeness is obtained when the terms are represented using the more general formalism of singleton tree grammars. For rst-order uni cation and matching polynomial time algorithms are presented, each of them improving previous results for those problems. Categories and Subject Descriptors: F.4.1 [Mathematical Logic and http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png ACM Transactions on Computational Logic (TOCL) Association for Computing Machinery

Loading next page...
 
/lp/association-for-computing-machinery/unification-and-matching-on-compressed-terms-ls6Qyik32O

References (54)

Publisher
Association for Computing Machinery
Copyright
Copyright © 2011 by ACM Inc.
ISSN
1529-3785
DOI
10.1145/1970398.1970402
Publisher site
See Article on Publisher Site

Abstract

Uni cation and Matching on Compressed Terms ` ADRIA GASCON and GUILLEM GODOY, Universitat Polit` cnica de Catalunya e MANFRED SCHMIDT-SCHAUSS, Goethe-Universitat Term uni cation plays an important role in many areas of computer science, especially in those related to logic. The universal mechanism of grammar-based compression for terms, in particular the so-called singleton tree grammars (STGAs), have recently drawn considerable attention. Using STGs, terms of exponential size and height can be represented in linear space. Furthermore, the term representation by directed acyclic graphs (dags) can be ef ciently simulated. The present article is the result of an investigation on term uni cation and matching when the terms given as input are represented using different compression mechanisms for terms such as dags and singleton tree grammars. We describe a polynomial time algorithm for context matching with dags, when the number of different context variables is xed for the problem. For the same problem, NP-completeness is obtained when the terms are represented using the more general formalism of singleton tree grammars. For rst-order uni cation and matching polynomial time algorithms are presented, each of them improving previous results for those problems. Categories and Subject Descriptors: F.4.1 [Mathematical Logic and

Journal

ACM Transactions on Computational Logic (TOCL)Association for Computing Machinery

Published: Jul 1, 2011

There are no references for this article.