Skip to main content
QUICK REVIEW

[Paper Review] On the Density of Languages Accepted by Turing Machines and Other Machine Models

Óscar H. Ibarra, Ian McQuillan|arXiv (Cornell University)|Jan 1, 2018
semigroups and automata theoryComputer Science16 references2 citations
TL;DR

This paper establishes that density—defined as the set of all infixes of a language being the full set of strings over the alphabet—is decidable for nondeterministic Turing machines with a one-way read-only input and a reversal-bounded worktape, where the read/write head changes direction at most a fixed number of times. The key contribution is proving decidability via the regularity of the store language, extending to related models like one-way reversal-bounded queue and stack automata, while showing undecidability for deterministic machines with two such tapes or unary nondeterministic machines.

ABSTRACT

A language is dense if the set of all infixes (or subwords) of the language is the set of all words. Here, it is shown that it is decidable whether the language accepted by a nondeterministic Turing machine with a one-way read-only input and a reversal-bounded read/write worktape (the read/write head changes direction at most some fixed number of times) is dense. From this, it is implied that it is also decidable for one-way reversal-bounded queue automata, one-way reversal-bounded stack automata, and one-way reversal-bounded $k$-flip pushdown automata (machines that can "flip" their pushdowns up to $k$ times). However, it is undecidable for deterministic Turing machines with two 1-reversal-bounded worktapes (even when the two tapes are restricted to operate as 1-reversal-bounded pushdown stacks).

Motivation & Objective

  • To determine the decidability of language density for various machine models, particularly those with reversal-bounded storage.
  • To investigate whether the property of being dense—i.e., containing all possible infixes—can be algorithmically decided for automata with bounded reversal behavior.
  • To extend decidability results from pushdown automata to broader classes of machines, including Turing machines with bounded worktapes.
  • To identify the boundary between decidable and undecidable cases, especially concerning the number of reversal-bounded tapes.

Proposed method

  • Leverages the regularity of the store language—the set of state/store content pairs reachable in accepting computations—for reversal-bounded nondeterministic Turing machines.
  • Uses the fact that store languages of such machines are regular, enabling effective analysis of infix sets.
  • Reduces the density problem to checking whether the infix closure of the language equals the full free monoid over the alphabet.
  • Applies closure properties and reductions to show undecidability for models with two reversal-bounded tapes or unary alphabets.
  • Employs reductions from the halting problem to prove undecidability, particularly using real-time simulation of Turing machines.
  • Extends results to related models such as stack automata, queue automata, and k-flip pushdown automata via simulation and closure under reversal-bounded operations.

Experimental results

Research questions

  • RQ1Is it decidable whether a language accepted by a nondeterministic Turing machine with a one-way read-only input and a reversal-bounded worktape is dense?
  • RQ2Does the decidability of density extend to one-way reversal-bounded queue automata, stack automata, and k-flip pushdown automata?
  • RQ3What happens to decidability when the number of reversal-bounded worktapes increases from one to two, even in the deterministic case?
  • RQ4Is density decidable for unary languages accepted by one-way nondeterministic two-pushdown automata with 1-reversal-bounded stacks?
  • RQ5Can decidability be extended to one-way deterministic machines with multiple reversal-bounded counters or unary counters?

Key findings

  • It is decidable whether the language accepted by a one-way nondeterministic Turing machine with a reversal-bounded worktape is dense, due to the regularity of its store language.
  • Decidability extends to one-way reversal-bounded queue automata, stack automata, and k-flip pushdown automata, as they can be simulated by such Turing machines.
  • It is undecidable whether a language accepted by a one-way deterministic Turing machine with two 1-reversal-bounded worktapes is dense.
  • Undecidability also holds for one-way nondeterministic two-pushdown automata over a unary alphabet, even when both stacks are 1-reversal-bounded.
  • For unary languages, density is decidable for two-way nondeterministic counter machines with reversal-bounded counters, but undecidable for two-way deterministic machines with one unrestricted counter.
  • The boundary between decidable and undecidable density problems lies in the number of reversal-bounded tapes and the presence of determinism or unary alphabets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.