arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1409.4925cs.LO
收藏

二阶命题可满足性

Second-Order Propositional Satisfiability

Cristina David, Daniel Kroening, Matt Lewis

摘要:

从根本上说,每个静态程序分析器都是通过提供候选解决方案的算法和候选验证技术的组合来搜索证明。从本质上讲,启发式将二阶问题简化为一阶/命题问题,而验证通常只是对SAT/SMT求解器的调用。这导致了这种分析的整体设计,将问题的制定与解决过程混为一谈。因此,后者的任何变化都会导致整个分析的变化。这种设计是由求解器技术的最新发展水平决定的。虽然SAT/SMT求解器已经取得了巨大的进步,但几乎没有任何二阶求解器。本文采取了一个步骤来解决这种情况,提出了一个可判定的片段的二阶逻辑,仍然是足够的表达,以捕捉众多的程序分析问题(如安全证明,错误发现,终止和非终止证明,超优化)。我们把这个片段的可满足性问题称为二阶SAT,并证明它是NEXPTIME完全的。最后,我们建立了一个基于程序合成的二阶SAT的决策过程,并提出了实验证据表明,我们的方法是易于处理的程序分析问题。

英文摘要:

Fundamentally, every static program analyser searches for a proof through a combination of heuristics providing candidate solutions and a candidate validation technique. Essentially, the heuristic reduces a second-order problem to a first-order/propositional one, while the validation is often just a call to a SAT/SMT solver. This results in a monolithic design of such analyses that conflates the formulation of the problem with the solving process. Consequently, any change to the latter causes changes to the whole analysis. This design is dictated by the state of the art in solver technology. While SAT/SMT solvers have experienced tremendous progress, there are barely any second-order solvers. This paper takes a step towards addressing this situation by proposing a decidable fragment of second-order logic that is still expressive enough to capture numerous program analysis problems (e.g. safety proving, bug finding, termination and non-termination proving, superoptimisation). We refer to the satisfiability problem for this fragment as Second-Order SAT and show it is NEXPTIME-complete. Finally, we build a decision procedure for Second-Order SAT based on program synthesis and present experimental evidence that our approach is tractable for program analysis problems.

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

↑