使用回答集编程求解约束 Horn 子句的正则 Herbrand 模型
Finding Regular Herbrand Models for CHCs using Answer Set Programming
AI总结:
针对代数数据类型上约束 Horn 子句的可满足性证明问题,提出用回答集编程工具Clingo编码构建树自动机的新方法,实现半完备可满足性检查器。
摘要:
我们关注代数数据类型(ADTs)上约束 Horn 子句(CHCs)的可满足性证明问题。我们提出通过构建可识别 CHCs 的 Herbrand 模型的树自动机来证明可满足性;若此类自动机存在,则称该模型是正则的,即 Herbrand 模型是正则原子集合。Kostyukov 等人已展示当 CVC4 找到 CHCs 的有限模型时如何推导自动机。我们提出另一种构建自动机的方法:使用回答集编程(ASP)工具 Clingo 将问题编码为 SAT 问题。我们实现了带 ADTs 的 CHCs 到 ASP 问题的转换。结合 Clingo,我们得到一个半完备可满足性检查器:若存在正则 Herbrand 模型,它能找到树自动机;若问题不可满足,它能找到反例。
英文摘要:
We are interested in proving satisfiability of Constrained Horn Clauses (CHCs) over Algebraic Data Types (ADTs). We propose to prove satisfiability by building a tree automaton recognizing the Herbrand model of the CHCs. If such an automaton exists then the model is said to be regular, i.e., the Herbrand model is a regular set of atoms. Kostyukov et al. have shown how to derive an automaton when CVC4 finds a finite model of the CHCs. We propose an alternative way to build the automaton using an encoding into a SAT problem using Clingo, an Answer Set Programming (ASP) tool. We implemented a translation of CHCs with ADTs into an ASP problem. Combined with Clingo, we obtain a semi-complete satisfiability checker: it finds a tree automaton if a regular Herbrand model exists or finds a counter-example if the problem is unsatisfiable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。