arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.14872cs.FLcs.LO
收藏

通过稳定化和转录机进行字符串求解(技术报告)

String Solving with Stabilization and Transducers (Technical Report)

Faculty of Information Technology, Brno University of Technology(布尔诺理工大学信息技术学院);The Technical Faculty of IT and Design, Aalborg University(奥尔堡大学IT与设计技术学院)

David Chocholatý, Vojtěch Havlena, Lukáš Holík, Juraj Síč, Michal Šedý

AI总结:

本文提出了一种基于自动机的高效方法,用于求解字符串约束,通过稳定化方法改进了Z3-Noodler求解器,以支持由有限状态转录机表示的关系约束。该方法通过减少昂贵的连接消除需求,提高了长度约束的处理效率,并提出了有效的启发式方法,显著提升了求解性能。

摘要:

我们扩展了高效的自动机构建方法,该方法是Z3-Noodler求解器背后的基础,以支持由有限状态转录机表示的关系约束(例如,用于建模replaceAll约束)。我们专注于通过减少昂贵的连接消除需求来高效处理长度约束,这在自动机构建的字符串求解中是一个主要瓶颈。我们还提出了强大的启发式方法,显著提高了实际性能。在Z3-Noodler之上实现的该方法在具有关系约束的基准测试中远超现有求解器。它能够解决更多的实例,并且运行速度快十倍以上。

英文摘要:

We generalize an efficient automata-based approach to string constraint solving, the stabilization-based method behind the solver Z3-Noodler, to support relational constraints represented by finite-state transducers (useful, for example, for modeling replaceAll constraints). We focus on an efficient treatment of length constraints by reducing the need for expensive concatenation elimination, which is a major bottleneck in automata-based string solving. We also propose powerful heuristics that significantly improve performance in practice. Implemented on top of Z3-Noodler, our method vastly outperforms existing solvers on benchmarks with relational constraints. It solves more instances and runs orders of magnitude faster.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑