English

Word Equations in Synergy with Regular Constraints (Technical Report)

Logic in Computer Science 2022-12-06 v1 Formal Languages and Automata Theory

Abstract

When eating spaghetti, one should have the sauce and noodles mixed instead of eating them separately. We argue that also in string solving, word equations and regular constraints are better mixed together than approached separately as in most current string solvers. We propose a fast algorithm, complete for the fragment of chain-free constraints, in which word equations and regular constraints are tightly integrated and exchange information, efficiently pruning the cases generated by each other and limiting possible combinatorial explosion. The algorithm is based on a novel language-based characterisation of satisfiability of word equations with regular constraints. We experimentally show that our prototype implementation is competitive with the best string solvers and even superior in that it is the fastest on difficult examples and has the least number of timeouts.

Keywords

Cite

@article{arxiv.2212.02317,
  title  = {Word Equations in Synergy with Regular Constraints (Technical Report)},
  author = {František Blahoudek and Yu-Fang Chen and David Chocholatý and Vojtěch Havlena and Lukáš Holík and Ondřej Lengál and Juraj Síč},
  journal= {arXiv preprint arXiv:2212.02317},
  year   = {2022}
}

Comments

To appear in Proc. of FM'23

R2 v1 2026-06-28T07:22:30.245Z