A Traversal-based Algorithm for Higher-Order Model Checking

被引:13
|
作者
Neatherway, Robin P. [1 ]
Ong, C. -H. Luke [1 ]
Ramsay, Steven J. [1 ]
机构
[1] Univ Oxford, Oxford OX1 2JD, England
基金
英国工程与自然科学研究理事会;
关键词
Algorithms; Verification; Model-checking; Higher-order Programs; RECURSION SCHEMES; ABSTRACTION;
D O I
10.1145/2398856.2364578
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Higher-order model checking-the model checking of trees generated by higher-order recursion schemes (HORS)-is a natural generalisation of finite-state and pushdown model checking. Recent work has shown that it can serve as a basis for software model checking for functional languages such as ML and Haskell. In this paper, we introduce higher-order recursion schemes with cases (HORSC), which extend HORS with a definition-by-cases construct (to express program branching based on data) and non-determinism (to express abstractions of behaviours). This paper is a study of the universal HORSC model checking problem for deterministic trivial automata: does the automaton accept every tree in the tree language generated by the given HORSC? We first characterise the model checking problem by an intersection type system extended with a carefully restricted form of union types. We then present an algorithm for deciding the model checking problem, which is based on the notion of traversals induced by the fully abstract game semantics of these schemes, but presented as a goal-directed construction of derivations in the intersection and union type system. We view HORSC model checking as a suitable backend engine for an approach to verifying functional programs. We have implemented the algorithm in a tool called TRAVMC, and demonstrated its effectiveness on a test suite of programs, including abstract models of functional programs obtained via an abstraction-refinement procedure from pattern-matching recursion schemes.
引用
收藏
页码:353 / 364
页数:12
相关论文
共 50 条
  • [31] Adaptive filtering algorithm based on higher-order statistics
    Zhao, Zhi-Jin
    [J]. Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2000, 28 (12): : 83 - 84
  • [32] Higher-order vibration of thick composite and sandwich plates based on an alternative higher-order model
    Jinghui DENG
    Tangzhen WU
    Zhen WU
    Zhengliang LIU
    Xiaohui REN
    [J]. Chinese Journal of Aeronautics, 2023, 36 (03) : 406 - 420
  • [33] Higher-order vibration of thick composite and sandwich plates based on an alternative higher-order model
    Jinghui DENG
    Tangzhen WU
    Zhen WU
    Zhengliang LIU
    Xiaohui REN
    [J]. Chinese Journal of Aeronautics, 2023, (03) : 406 - 420
  • [34] Higher-order vibration of thick composite and sandwich plates based on an alternative higher-order model
    Deng, Jinghui
    Wu, Tangzhen
    Wu, Zhen
    Liu, Zhengliang
    Ren, Xiaohui
    [J]. CHINESE JOURNAL OF AERONAUTICS, 2023, 36 (03) : 406 - 420
  • [35] Checking conservativity of overloaded definitions in higher-order logic
    Obua, Steven
    [J]. TERM REWRITING AND APPLICATIONS, PROCEEDINGS, 2006, 4098 : 212 - 226
  • [36] Transmission model of higher-order elliptical bevel gearing and motion simulation for interference checking
    Lin, Chao
    Hou, Yu-Jie
    Ran, Xiao-Hu
    Liu, Gang
    Qiu, Hua
    Ruan, Xiao-Yong
    [J]. Chongqing Daxue Xuebao/Journal of Chongqing University, 2010, 33 (10): : 1 - 6
  • [37] The Complexity of Model-Checking Tail-Recursive Higher-Order Fixpoint Logic
    Bruse, Florian
    Lange, Martin
    Lozes, Etienne
    [J]. FUNDAMENTA INFORMATICAE, 2021, 178 (1-2) : 1 - 30
  • [38] CTL model checking based on forward state traversal
    Iwashita, H
    Nakata, T
    Hirose, F
    [J]. 1996 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN - DIGEST OF TECHNICAL PAPERS, 1996, : 82 - 87
  • [39] Compositional Higher-Order Model Checking via ω-Regular Games over Bohm Trees
    Tsukada, Takeshi
    Ong, C-H Luke
    [J]. PROCEEDINGS OF THE JOINT MEETING OF THE TWENTY-THIRD EACSL ANNUAL CONFERENCE ON COMPUTER SCIENCE LOGIC (CSL) AND THE TWENTY-NINTH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2014,
  • [40] Improved higher-order cyclic cumulant based VAD algorithm
    Dept. of Electronics and Information Eng., Huazhong University of Science and Technology, Wuhan 430074, China
    [J]. Dianzi Yu Xinxi Xuebao, 2006, 6 (1021-1025):