Abstract

AbstractWe investigate the descriptional and computational complexity of boundary sets of regular and context-free languages. The right (left, respectively) a-boundary set of a language L are those words that belong to L, where the a-predecessor or the a-successor of these words w.r.t. the prefix (suffix, respectively) relation is not in L. For regular languages described by deterministic finite automata (DFAs) we give tight bounds on the number of states for accepting boundary sets. Moreover, the question whether the boundary sets of a regular language is finite is shown to be NL-complete for DFAs, while it turns out to be PSPACE-complete for nondeterministic devices. Boundary sets for context-free languages are not necessarily context free anymore. Here we find a subtle difference of right and left a-boundary sets. While right a-boundary sets of deterministic context-free languages stay deterministic context free, we give an example of a deterministic context-free language the left a-boundary set of which is already non context free. In fact, the finiteness problem for a-boundary sets of context-free languages becomes undecidable.KeywordsTuring MachineRegular LanguageInput SymbolLanguage TreePushdown AutomatonThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call