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

高阶约束Horn子句和精化类型

Higher-Order Constrained Horn Clauses and Refinement Types

Toby Cathcart Burn, C. -H. Luke Ong, Steven J. Ramsay

摘要:

出于高阶函数程序自动验证中的应用,我们开发了一个概念的约束霍恩条款在高阶逻辑和决策问题,其可满足性。我们表明,虽然高阶子句的可满足系统一般不具有最小模型,有一个规范模型的概念,通过减少到一种单调逻辑程序的问题。在高阶程序验证的工作之后,我们开发了一个细化类型的系统,以推理和自动搜索模型。这为解决决策问题提供了一个合理但不完整的方法。最后,我们证明了一个扩展的决策问题,其中细化类型直接用作警卫存在量词可以减少到原来的问题。这个结果可以用来表明,高阶函数的性质,可定义使用细化类型也表示使用高阶约束霍恩子句。

英文摘要:

Motivated by applications in automated verification of higher-order functional programs, we develop a notion of constrained Horn clauses in higher-order logic and a decision problem concerning their satisfiability. We show that, although satisfiable systems of higher-order clauses do not generally have least models, there is a notion of canonical model obtained through a reduction to a problem concerning a kind of monotone logic program. Following work in higher-order program verification, we develop a refinement type system in order to reason about and automate the search for models. This provides a sound but incomplete method for solving the decision problem. Finally, we show that an extension of the decision problem in which refinement types are used directly as guards on existential quantifiers can be reduced to the original problem. This result can be used to show that properties of higher-order functions that are definable using refinement types are also expressible using higher-order constrained Horn clauses.

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

↑