Temporal Verification of Higher-Order Functional Programs
Temporal Verification of Higher-Order Functional Programs
复制标题
高阶函数程序的时间验证
DOI:
10.1145/2837614.2837667
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
and Hiroshi Unno
中科院分区:
文献类型:
--
作者:
Akihiro Murase;Tachio Terauchi;Naoki Kobayashi;Ryosuke Sato;and Hiroshi Unno
We present an automated approach to verifying arbitrary omega-regular properties of higher-order functional programs. Previous automated methods proposed for this class of programs could only handle safety properties or termination, and our approach is the first to be able to verify arbitrary omega-regular liveness properties. Our approach is automata-theoretic, and extends our recent work on binary-reachability-based approach to automated termination verification of higher-order functional programs to fair termination published in ESOP 2014. In that work, we have shown that checking disjunctive well-foundedness of (the transitive closure of) the ``calling relation'' is sound and complete for termination. The extension to fair termination is tricky, however, because the straightforward extension that checks disjunctive well-foundedness of the fair calling relation turns out to be unsound, as we shall show in the paper. Roughly, our solution is to check fairness on the transition relation instead of the calling relation, and propagate the information to determine when it is necessary and sufficient to check for disjunctive well-foundedness on the calling relation. We prove that our approach is sound and complete. We have implemented a prototype of our approach, and confirmed that it is able to automatically verify liveness properties of some non-trivial higher-order programs.