d-DNNF模理论:多时间SMT查询的通用框架
d-DNNF Modulo Theories: A General Framework for Polytime SMT Queries
AI总结:
提出一种将d-DNNF编译与查询扩展到SMT层面的通用技术,通过结合预计算的理论引理,使得SMT查询可归约为命题查询,支持多时间查询。
摘要:
在知识编译中,命题知识库被离线编译成某种目标形式,通常是确定性可分解否定范式(d-DNNF)或其子类,然后在线用于在多项式时间内回答大量查询,如子句蕴涵、模型计数等。总体思路是将尽可能多的计算工作推入离线编译阶段,该阶段的开销通过所有在线多项式时间查询分摊。本文首次提出一种新颖且通用的技术,将d-DNNF编译与查询扩展到SMT层面。直观上,在d-DNNF编译之前,输入SMT公式与一组预计算的特设理论引理结合,使得SMT层面的查询归约为命题层面的查询。该方法具有以下特点:(i)适用于任何理论或理论组合;(ii)适用于所有形式的d-DNNF;(iii)易于在任何d-DNNF编译器和任何理论引理枚举器之上实现,这些组件作为黑盒使用;(iv)最重要的是,这些编译后的SMT d-DNNF可以通过标准的命题d-DNNF推理器在多项式时间内查询。作为概念验证,我们在最先进的d-DNNF包和MathSAT SMT求解器之上实现了一个工具。初步的实证评估支持了该方法的有效性。
英文摘要:
In Knowledge Compilation (KC) a propositional knowledge base is compiled off-line into some target form, typically into deterministic decomposable negation normal form (d-DNNF) or one of its subcases, which is then used on-line to answer a large number of queries in polytime, such as clausal entailment, model counting, and others. The general idea is to push as much of the computational effort into the off-line compilation phase, which is amortized over all on-line polytime queries. In this paper, we present for the first time a novel and general technique to leverage d-DNNF compilation and querying to SMT level. Intuitively, before d-DNNF compilation, the input SMT formula is combined with a list of pre-computed ad-hoc theory lemmas, so that the queries at SMT level reduce to those at propositional level. This approach has several features: (i) it works for every theory, or theory combination thereof; (ii) it works for all forms of d-DNNF; (iii) it is easy to implement on top of any d-DNNF compiler and any theory-lemma enumerator, which are used as black boxes; (iv) most importantly, these compiled SMT d-DNNFs can be queried in polytime by means of a standard propositional d-DNNF reasoner. As proof of concept, we have implemented a tool on top of state-of-the-art d-DNNF packages and of the MathSAT SMT solver. Some preliminary empirical evaluation supports the effectiveness of the approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。