On the Complexity and Decidability of Some Problems Involving Shuffle
Abstract
The complexity and decidability of various decision problems involving the shuffle operation are studied. The following three problems are all shown to be NP-complete: given a nondeterministic finite automaton (NFA) M, and two words u and v, is L(M) not a subset of u shuffled with v, is u shuffled with v not a subset of L(M), and is L(M) not equal to u shuffled with v? It is also shown that there is a polynomial-time algorithm to determine, for NFAs M1, M2 and a deterministic pushdown automaton M3, whether L(M1) shuffled with L(M2) is a subset of L(M3). The same is true when M1, M2,M3 are one-way nondeterministic l-reversal-bounded k-counter machines, with M3 being deterministic. Other decidability and complexity results are presented for testing whether given languages L1, L2 and R from various languages families satisfy L1 shuffled with L2 is a subset of R, and R is a subset of L1 shuffled with L2. Several closure results on shuffle are also shown.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.