Abstract
In [9] we proved that for a word rewriting system with variables \(x\mathcal{R}\) and a word with variables Ω, it is undecidable if Ω is ground reducible by \(x\mathcal{R}\), that is if all the instances of Ω obtained by substituting its variables by non-empty words are reducible by \(x\mathcal{R}\). On the other hand, if \(x\mathcal{R}\) is linear, the question is decidable for arbitrary (linear or non-linear) Ω. In this paper we futher study the complexity of the above problem and prove that it is co-NP-complete if both \(x\mathcal{R}\) and Ω are restricted to be linear. The proof is based on the construction of a deterministic finite automaton for the language of words reducible by \(x\mathcal{R}\). The construction generalizes the well-known Aho-Corasick automaton for string matching against a set of keywords.
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho. Algorithms for finding patterns in strings. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science. Elsevier Science Publishers B. V. (North-Holland), 1990.
N. Dershowitz and J.-P. Jouannaud. Rewrite systems. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science. Elsevier Science Publishers B. V. (North-Holland), 1990.
M. Garey and D. Johnson. Computers and Intractability. A guide to the theory of NP-completeness. W. Freeman and Compagny, New York, 1979.
Harry B. Hunt III and Daniel J. Rosenkrantz. Computational parallels between the regular and context-free languages. Theoretical Computer Science, 7(1):99–114, February 1978.
Harry B. Hunt III, Daniel J. Rosenkrantz, and Thomas G. Szymanski. On the equivalence, containment, and covering problems for the regular and context-free languages. Journal of Computer and System Sciences, 12:222–268, 1976.
D. Kapur, P. Narendran, D. Rosenkrantz, and H. Zhang. Sufficient-completeness, ground-reducibility and their complexity. Acta Informatica, 28:311–350, 1991.
D. Kapur, P. Narendran, and H. Zhang. On sufficient completeness and related properties of term rewriting systems. Acta Informatica, 24:395–415, 1987.
G. Kucherov and M. Rusinowitch. Matching a set of strings with variable length don't cares. In E. Ukkonen, editor, Proceedings of the 6th Symposium on Combinatorial Pattern Matching, Helsinki, July 1995. to appear in Lect. Notes Comput. Sci. Series.
G. Kucherov and M. Rusinowitch. Undecidability of ground reducibility for word rewriting systems with variables. Information Processing Letters, 53:209–215, 1995.
G. Kucherov and M. Tajine. Decidability of regularity and related properties of ground normal form languages. Information and Computation, 117, 1995. to appear.
S.S. Marchenko. Undecidability of the positive ∀∃-theory of a free semigroup. Sibirskii Matematicheskii Zhurnal, 23(1):196–198, 1982. in Russian.
D. Plaisted. Semantic confluence and completion method. Information and Control, 65:182–215, 1985.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1995 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kucherov, G., Rusinowitch, M. (1995). The complexity of testing ground reducibility for linear word rewriting systems with variables. In: Dershowitz, N., Lindenstrauss, N. (eds) Conditional and Typed Rewriting Systems. CTRS 1994. Lecture Notes in Computer Science, vol 968. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-60381-6_16
Download citation
DOI: https://doi.org/10.1007/3-540-60381-6_16
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60381-8
Online ISBN: 978-3-540-45513-4
eBook Packages: Springer Book Archive