Higher-Order Constrained Horn Clauses for Verification

被引:17
作者
Burn, Toby Cathcart [1 ]
Ong, C-H Luke [1 ]
Ramsay, Steven J. [2 ]
机构
[1] Univ Oxford, Oxford, England
[2] Univ Bristol, Bristol, Avon, England
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2018年 / 2卷
基金
英国工程与自然科学研究理事会;
关键词
higher-order program verification; constrained Horn clauses; refinement types;
D O I
10.1145/3158099
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 arid automate the search for models. This provides a sound but incomplete method for solving the decision problem. Finally, we show that there is a sense in which we can use refinement types to express properties of terms whilst staying within the higher-order constrained I lore clause framework.
引用
收藏
页数:28
相关论文
共 39 条
  • [1] Beyene Tewodros A., 2013, LNCS, DOI [10.1007/978-3-642-39799-861, DOI 10.1007/978-3-642-39799-8_61]
  • [2] Bjesse Per, 1998, P 3 ACM SIGPLAN INT, P174, DOI [10.1145/289423.289440, DOI 10.1145/289423.289440]
  • [3] Bjorner N., 2012, EPIC SERIES COMPUTIN, V20, P3, DOI DOI 10.29007/1L7F
  • [4] Horn Clause Solvers for Program Verification
    Bjorner, Nikolaj
    Gurfinkel, Arie
    McMillan, Ken
    Rybalchenko, Andrey
    [J]. FIELDS OF LOGIC AND COMPUTATION II: ESSAYS DEDICATED TO YURI GUREVICH ON THE OCCASION OF HIS 75TH BIRTHDAY, 2015, 9300 : 24 - 51
  • [5] Bjorner N, 2013, LECT NOTES COMPUT SC, V7935, P105
  • [6] Bjurner Nikolaj, 2013, ABS13065264
  • [7] BLASS A, 1987, LECT NOTES COMPUT SC, V270, P20
  • [8] Broadbent C.H., 2013, LIPICS, V23, P129, DOI DOI 10.4230/LIPICS.CSL.2013.129
  • [9] Broadbent C, 2013, ACM SIGPLAN NOTICES, V48, P13, DOI [10.1145/2500365.2500589, 10.1145/2544174.2500589]
  • [10] Minimum Model Semantics for Extensional Higher-order Logic Programming with Negation
    Charalambidis, Angelos
    Esik, Zoltan
    Rondogiannis, Panos
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2014, 14 : 725 - 737