On Problems Dual to Unification: The String-Rewriting Case
Zümrüt Akçam, Kimberly A. Cornell, Daniel S. Hono, Paliath Narendran, Andrew Pulver
TL;DR
The paper analyzes three problems—Fixed Point (FP), Common Term (CT), and Common Equation (CE)—as duals of unification within string rewriting systems (SRS), focusing on how complexity bounds shift across system classes. It establishes a tight landscape: FP is undecidable for finite convergent SRS but polynomial-time for dwindling SRS; CT is undecidable for dwindling convergent SRS, while CE is polynomial-time decidable for finite, monadic, convergent SRS and undecidable for dwindling SRS, with both one- and two-mapping variants addressed for monadic systems. The authors connect FP to CT and use PCP/GPCP reductions to prove undecidability results, and they provide constructive polynomial-time algorithms for CE in the monadic setting via regular-language machinery around RF and MP constructs. These results demarcate tractability boundaries for computing fixed points and shared terms/equations in rewriting frameworks, with implications for loop invariants and protocol analysis in finite, monadic, and dwindling regimes. Overall, the work clarifies when dual unification problems are efficiently solvable and when they inherit classic undecidability from PCP-type problems, enriching the theoretical understanding of invariants in rewriting-based systems.
Abstract
In this paper, we investigate problems which are dual to the unification problem, namely the Fixed Point (FP) problem, Common Term (CT) problem and the Common Equation (CE) problem for string rewriting systems. Our main motivation is computing fixed points in systems, such as loop invariants in programming languages. We show that the fixed point (FP) problem is reducible to the common term problem. Our new results are: (i) the fixed point problem is undecidable for finite convergent string rewriting systems whereas it is decidable in polynomial time for finite, convergent and dwindling string rewriting systems, (ii) the common term problem is undecidable for the class of dwindling string rewriting systems, and (iii) for the class of finite, monadic and convergent systems, the common equation problem is decidable in polynomial time but for the class of dwindling string rewriting systems, common equation problem is undecidable.
