Title :
Context Matching for Compressed Terms
Author :
Gascon, Adria ; Godoy, Guillem ; Schmidt-Schauss, Manfred
Author_Institution :
LSI Dept., Univ. Politec. de Catalunya, Barcelona
Abstract :
This paper is an investigation of the matching problem for term equations s = t where s contains context variables and first-order variables, and both terms s and t are given using some kind of compressed representation. The main result is a polynomial time algorithm for context matching with dags, when the number of different context variables is fixed for the problem. NP-completeness is obtained when the terms are represented using the more general formalism of singleton tree grammars. As an ingredient of this proof, we also show that the special case of first-order matching with singleton tree grammars is decidable in polynomial time.
Keywords :
computational complexity; context-free grammars; NP-completeness; compressed representation; context matching; first-order variables; matching problem; polynomial time algorithm; singleton tree grammars; Artificial intelligence; Computational linguistics; Computer science; Deductive databases; Equations; Information retrieval; Large scale integration; Logic programming; Polynomials; Program processors; context variables; matching; tree compression; unification;
Conference_Titel :
Logic in Computer Science, 2008. LICS '08. 23rd Annual IEEE Symposium on
Conference_Location :
Pittsburgh, PA
Print_ISBN :
978-0-7695-3183-0
DOI :
10.1109/LICS.2008.17