In formal language theory, a growing context-sensitive grammar is a context-sensitive grammar in which the productions increase the length of the sentences being generated.[1][2] These grammars are thus noncontracting and context-sensitive. A growing context-sensitive language is a context-sensitive language generated by these grammars.
In these grammars the "start symbol" S does not appear on the right hand side of any production rule and the length of the right hand side of each production exceeds the length of the left side, unless the left side is S.[1]
These grammars were introduced by Dahlhaus and Warmuth.[3] They were later shown to be equivalent to the acyclic context-sensitive grammars.[3] Membership in any growing context-sensitive language is polynomial time computable;[4][5] however, the uniform problem of deciding whether a given string belongs to the language generated by a given growing[6] or acyclic[7] context-sensitive grammar is NP-complete.
See also
editReferences
edit- ^ a b G. Buntrock and F. Otto (1995). "Growing Context-Sensitive Languages and Church-Rosser Languages". In Ernst W. Mayr and Claude Puech (ed.). Proc. 12th STACS. LNCS. Vol. 900. Springer. pp. 313–324. ISBN 978-3540590422. Here: p.316-317
- ^ Gerhard Buntrock and Friedrich Otto (1998). "Growing Context-Sensitive Languages and Church-Rosser Languages". Information and Computation. 141: 1–36. doi:10.1006/inco.1997.2681.
- ^ a b Gundula Niemann and Jens R. Woinowski (2002). "The Growing Context-Sensitive Languages Are the Acyclic Context-Sensitive Languages". In Werner Kuich and Grzegorz Rozenberg and Arto Salomaa (ed.). Proc. 5th Int. Conf on Developments in Language Theory (DLT). Lecture Notes in Computer Science. Vol. 2295. Springer. pp. 197–205. ISBN 978-3540434535.. Here: p.197-198
- ^ E. Dahlhaus und M.K. Warmuth (1986). "Membership for growing context-sensitive grammars is polynomial". In Paul Franchi-Zannettacci (ed.). Proc. 11th Colloquium on Trees in Algebra and Programming (CAAP) (PDF). LNCS. Vol. 214. Springer. pp. 85–99. Here: p.85-86
- ^ E. Dahlhaus und M.K. Warmuth (1986). "Membership for growing context-sensitive grammars is polynomial". Journal of Computer and System Sciences. 33 (3): 456–472. doi:10.1016/0022-0000(86)90062-0.
- ^ G. Buntrock and K. Lorys. On growing context-sensitive languages. In Proc. 19th ICALP, Lecture Notes in Computer Science (W. Kuich, ed, pages 77–88. Springer-Verlag, 1992.
- ^ Erik Aarts (1992). "Uniform recognition for context-sensitive grammars is NP-complete" (PDF). Proc. 14th Int. Conf. on Computational Linguistics (COLING, Nantes, Aug. 23-28). pp. 1157–1161.
External links
edit- G. Buntrock: Growing context-sensitive languages