arXiv:2608.27755cs.FLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.27755

Undecidability of Adjacent Equality for Insertion, Shuffle, and Crossover Language Operations

Charles E. Hughes

Abstract

We study a family of language operations based on insertion, shuffle, and crossover and investigate the undecidability of adjacent equality together with finite convergence and associated spectrum questions. Insertion and shuffle operations on formal languages arise in formal language theory, models of concurrency, and biologically inspired computation. This paper studies a different question from the usual closure problem, specifically whether an increasing sequence of languages generated by repeated insertion, or by increasing the permitted degree of bounded shuffle, reaches an instance of adjacent equality after finitely many stages. We show that several such adjacent equality questions are undecidable. In particular, reaching such an adjacent equality event is undecidable for each of the following: iterated insertion of a regular language into a context-free language; bounded shuffle of a regular language with a context-free language as the bound increases; and the corresponding self-insertion and self-bounded-shuffle hierarchies for context-free languages. The new reductions proceed directly from the undecidability of context-free-language universality, using separator-delimited block constructions and, for self-operations, an absorbing regular language of guard violations. Earlier trace-based proofs relied on mortality and uniform halting.

More generally, we investigate finite-stage equality and stabilization (persistent equality) in hierarchies generated by insertion and bounded shuffle. In addition to giving substantially simpler proofs of earlier undecidability results, we obtain general criteria for one-step equality, develop new reductions for self-insertion, and identify several open problems, including structural questions concerning insertion depth and degree whose resolution determines whether adjacent equality necessarily implies permanent stabilization.

Keywords: formal languages; context-free languages; insertion; shuffle; bounded shuffle; finite-stage equality; stabilization; mortality; uniform halting; undecidability.

1. Introduction

For languages A and B over an alphabet Σ\Sigma, insertion interleaves pieces of one word with pieces of another. Shuffle generalizes insertion by allowing arbitrarily many alternations. The classical literature asks whether language families are closed under these operations and whether equations or containment properties involving them are decidable. Here the central question is instead one of finite adjacent equality, asking the question, if we permit one more insertion stage, or one more insertion cut, does the generated language eventually reach an adjacent stage where no new elements are inserted?

The distinction is important. An operation may be perfectly well defined at every finite stage while no algorithm can determine whether some finite stage introduces any new elements. The results below show this undecidability property exists even when the sets are restricted to context-free languages and interactions between regular and context-free languages. The property of finite stabilization to some fixed set is discussed but, at this point, still left as an open area for further research, although

Undecidability of Adjacent Equality we do identify some promising pathways to address that stronger convergence property. We also introduce the insertion-degree spectrum, prove the No-Gap Property for unary languages, and identify a conditional extension from singleton languages to finite languages whose shuffle outputs uniquely determine their source pairs, thereby isolating source-pair ambiguity as a principal obstacle in the general case.