# On counting functions and slenderness of languages

**Authors:** Oscar H. Ibarra, Ian McQuillan, Bala Ravikumar

arXiv: 1903.03504 · 2019-03-11

## TL;DR

This paper investigates counting-regular languages, showing certain automata accept such languages, explores their closure and decidability properties, and studies the concept of $k$-slender languages within formal language theory.

## Contribution

It establishes the class of languages accepted by specific automata as counting-regular, analyzes their closure and decidability properties, and examines $k$-slender languages in formal language theory.

## Key findings

- Languages accepted by unambiguous one-way Turing machines with reversal-bounded worktapes are counting-regular.
- Closure properties of counting-regular languages are characterized, with some undecidability results.
- Decidability of $k$-slenderness for languages in semilinear full trios is proven.

## Abstract

We study counting-regular languages -- these are languages $L$ for which there is a regular language $L'$ such that the number of strings of length $n$ in $L$ and $L'$ are the same for all $n$. 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 $2$-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, $k$-slender languages -- where there are at most $k$ 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 $k$-slender.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.03504/full.md

## Figures

1 figure with captions in the complete paper: https://tomesphere.com/paper/1903.03504/full.md

## References

45 references — full list in the complete paper: https://tomesphere.com/paper/1903.03504/full.md

---
Source: https://tomesphere.com/paper/1903.03504