arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1906.11718cs.FL
收藏

用SAT求解文字方程

On Solving Word Equations Using SAT

Joel D. Day, Thorsten Ehlers, Mitja Kulczynski, Florin Manea, Dirk Nowotka, Danny Bøgsted Poulsen

摘要:

我们提出了Woorpje,一个有界字方程的字符串求解器(即,其中每个变量的长度由给定整数上界的方程)。我们的算法的工作原理是将有界字方程的可满足性重新表述为非确定性有限自动机的可达性问题,然后将其仔细编码为命题可满足性问题,然后使用著名的Glucose SAT求解器来解决。这种方法的优点是允许自然包含额外的线性长度约束。我们的求解器获得了可靠的和有竞争力的结果,并且,值得注意的是,发现了几种最先进的求解器表现出错误行为的情况。

英文摘要:

We present Woorpje, a string solver for bounded word equations (i.e., equations where the length of each variable is upper bounded by a given integer). Our algorithm works by reformulating the satisfiability of bounded word equations as a reachability problem for nondeterministic finite automata, and then carefully encoding this as a propositional satisfiability problem, which we then solve using the well-known Glucose SAT-solver. This approach has the advantage of allowing for the natural inclusion of additional linear length constraints. Our solver obtains reliable and competitive results and, remarkably, discovered several cases where state-of-the-art solvers exhibit a faulty behaviour.

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

↑