Word Equations with Length Constraints and Cyclic Variable Order

A regular word equation uses each variable at most once on each side. Lin and Majumdar proved decidability with length constraints when the shared variables occur in the same order. We prove decidability when their orders agree up to one cyclic shift. The length constraint is an arbitrary Presburger formula on the original variable lengths. Constants and variables confined to one side may occur anywhere, and every variable may be empty. For fixed lengths, occurrences of a shared variable match positions on a circle. After the unmatched positions are skipped, all matches follow one rotation. A solution exists precisely when the paths of this matching join compatible letters. A single path can wind arbitrarily many times as the lengths vary. We cut the circle along a periodic orbit and express its physical lengths as prefix counts of one marked rotation. The Euclidean algorithm then acts on all requested prefixes together. Its common scalar factor allows induction on the number of independent length comparisons. A separate reduction handles unmatched intervals of unbounded size and retains the original length constraints throughout.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24598426
Primary Topic
semigroups and automata theory
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Word Equations with Length Constraints and Cyclic Variable Order

Qiaoshu Li
Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
article

Word Equations with Length Constraints and Cyclic Variable Order

Qiaoshu Li
article en

Abstract

A regular word equation uses each variable at most once on each side. Lin and Majumdar proved decidability with length constraints when the shared variables occur in the same order. We prove decidability when their orders agree up to one cyclic shift. The length constraint is an arbitrary Presburger formula on the original variable lengths. Constants and variables confined to one side may occur anywhere, and every variable may be empty. For fixed lengths, occurrences of a shared variable match positions on a circle. After the unmatched positions are skipped, all matches follow one rotation. A solution exists precisely when the paths of this matching join compatible letters. A single path can wind arbitrarily many times as the lengths vary. We cut the circle along a periodic orbit and express its physical lengths as prefix counts of one marked rotation. The Euclidean algorithm then acts on all requested prefixes together. Its common scalar factor allows induction on the number of independent length comparisons. A separate reduction handles unmatched intervals of unbounded size and retains the original length constraints throughout.

Zenodo (CERN European Organization for Nuclear Research)
Chinese Academy of Sciences (CN), Computer Network Information Center (CN)
semigroups and automata theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon