Non-Terminal Complexity of Simple Semi-Conditional Grammars
Abstract
We study the complexity of simple semi-conditional grammars (SSCGs) in terms of the number of their terminals and non-terminals. We show that SSCGs with three non-terminals can generate all RE languages; two non-terminals suffice for linear languages; and one suffices for unary regular languages. We also determine both upper bounds and fundamental limitations of SSCGs: while certain one-non-terminal SSCGs can generate non-context-free languages, every language generated by a one-non-terminal SSCG is in non-deterministic linear space. We also prove that there exists a regular language of alphabet size at least 3 which cannot be generated by any one-non-terminal SSCG. Finally, we prove that membership testing for SSCGs of two non-terminals is already NP-hard.
Related
- Algebraic Vector Fields of Connected Semi-simple Matrix Groups are 3-generated
- Automorphism groups of semi-rigid T-varieties of complexity one
- A Simple Complexity Lower Bound for Solving Ax=b
- An Efficient Automated Geometry Reasoning Method via Knowledge Merging and Semi-Conditional Rules
- Grouped Semi-Supervised Estimation of Two-Sample Functionals via Single-Index Conditional Imputation
BibTeX
@misc{fernau2026nonterminal,
title = {{Non-Terminal Complexity of Simple Semi-Conditional Grammars}},
author = {Henning Fernau and Sanjay Jain and Linus Richter and Frank Stephan and Dan Turetsky},
howpublished = {arXiv},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2609.14181},
eprint = {2609.14181},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.14181},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Non-Terminal Complexity of Simple Semi-Conditional Grammars
AU - Henning Fernau
AU - Sanjay Jain
AU - Linus Richter
AU - Frank Stephan
AU - Dan Turetsky
PY - 2026
DA - 2026/09/12
PB - arXiv
DO - 10.48550/arxiv.2609.14181
UR - https://arxiv.org/abs/2609.14181
AB - We study the complexity of simple semi-conditional grammars (SSCGs) in terms of the number of their terminals and non-terminals. We show that SSCGs with three non-terminals can generate all RE languages; two non-terminals suffice for linear languages; and one suffices for unary regular languages. We also determine both upper bounds and fundamental limitations of SSCGs: while certain one-non-terminal SSCGs can generate non-context-free languages, every language generated by a one-non-terminal SSCG is in non-deterministic linear space. We also prove that there exists a regular language of alphabet size at least 3 which cannot be generated by any one-non-terminal SSCG. Finally, we prove that membership testing for SSCGs of two non-terminals is already NP-hard.
ER -