English

On counting functions and slenderness of languages

Formal Languages and Automata Theory 2019-03-11 v1

Abstract

We study counting-regular languages -- these are languages LL for which there is a regular language LL' such that the number of strings of length nn in LL and LL' are the same for all nn. We show that the languages accepted by unambiguous nondeterministic Turing machines with a one-way read-only input tape and a reversal-bounded worktape are counting-regular. Many one-way acceptors are a special case of this model, such as reversal-bounded deterministic pushdown automata, reversal-bounded deterministic queue automata, and many others, and therefore all languages accepted by these models are counting-regular. This result is the best possible in the sense that the claim does not hold for either 22-ambiguous PDA's, unambiguous PDA's with no reversal-bound, and other models. We also study closure properties of counting-regular languages, and we study decidability problems in regards to counting-regularity. For example, it is shown that the counting-regularity of even some restricted subclasses of PDA's is undecidable. Lastly, kk-slender languages -- where there are at most kk words of any length -- are also studied. Amongst other results, it is shown that it is decidable whether a language in any semilinear full trio is kk-slender.

Keywords

Cite

@article{arxiv.1903.03504,
  title  = {On counting functions and slenderness of languages},
  author = {Oscar H. Ibarra and Ian McQuillan and Bala Ravikumar},
  journal= {arXiv preprint arXiv:1903.03504},
  year   = {2019}
}
R2 v1 2026-06-23T08:02:23.474Z