English

On the Complexity and Decidability of Some Problems Involving Shuffle

Formal Languages and Automata Theory 2019-03-08 v2

Abstract

The complexity and decidability of various decision problems involving the shuffle operation are studied. The following three problems are all shown to be NPNP-complete: given a nondeterministic finite automaton (NFA) MM, and two words uu and vv, is L(M)L(M) not a subset of uu shuffled with vv, is uu shuffled with vv not a subset of L(M)L(M), and is L(M)L(M) not equal to uu shuffled with vv? It is also shown that there is a polynomial-time algorithm to determine, for NFANFAs M1,M2M_1, M_2 and a deterministic pushdown automaton M3M_3, whether L(M1)L(M_1) shuffled with L(M2)L(M_2) is a subset of L(M3)L(M_3). The same is true when M1,M2,M3M_1, M_2,M_3 are one-way nondeterministic ll-reversal-bounded kk-counter machines, with M3M_3 being deterministic. Other decidability and complexity results are presented for testing whether given languages L1,L2L_1, L_2 and RR from various languages families satisfy L1L_1 shuffled with L2L_2 is a subset of RR, and RR is a subset of L1L_1 shuffled with L2L_2. Several closure results on shuffle are also shown.

Keywords

Cite

@article{arxiv.1606.01199,
  title  = {On the Complexity and Decidability of Some Problems Involving Shuffle},
  author = {Joey Eremondi and Oscar H. Ibarra and Ian McQuillan},
  journal= {arXiv preprint arXiv:1606.01199},
  year   = {2019}
}

Comments

Preprint submitted to Information and Computation

R2 v1 2026-06-22T14:17:13.745Z