Quadratic Word Equations with a Linear Side: Polynomial Nielsen Graph Diameter and NP-Completeness
Abstract
The satisfiability problem for word equations asks whether variables can be replaced by words so that the two sides become equal. For regular word equations, in which each variable occurs at most once on each side, satisfiability is NP-complete. For general quadratic word equations, in which each variable occurs at most twice in total, satisfiability is NP-hard, but its membership in NP remains open. We consider an intermediate class: quadratic word equations with a linear side, where each variable occurs at most once on one designated side. We show that the Nielsen graph of an equation in this class, with total length , has diameter , measured over reachable pairs of vertices. Together with the known NP-hardness for regular word equations, this result establishes NP-completeness of satisfiability for this class. We also show that each strongly connected component is isomorphic to the length-preserving reachability graph of a regular equation, and that the condensation graph has depth at most .For arbitrary quadratic word equations, we further show that Nielsen paths can be shortened to a length polynomial in the equation size and the number of prefix operations between variables repeated on opposite sides. This yields NP membership for subclasses defined by variable occurrence arrangements.
Create a lesson
Related papers
Quadratic word equations with regular constraints and the exponent of periodicity
Shared title terminology · Volker Diekert, Silas Natterer, Alexander Thumm
The Regular Cover Problem is NP-complete
Shared title terminology · Stefan Hetzl, Parham Shadman
Quadratic bounds for uncompletable words and matrix mortality
Shared title terminology · Rahul Chandelkar, Samrath Singh Chadha
Frequencies of subwords in words of linear subword complexity
Shared title terminology · Jason Bell, Laindon Burnett, Chris Schulz
Constructible Words Characterize Rational Languages of Words Indexed by Scattered Linear Orderings
Shared title terminology · Thomas Braipson, Tom Clara
Learning Deterministic Finite-State Machines from the Prefixes of a Single String is NP-Complete
Shared title terminology · Radu Cosmin Dumitru, Ryo Yoshinaka, Ayumi Shinohara