Model checking for symbolic-heap separation logic with inductive predicates
Model checking for symbolic-heap separation logic with inductive predicates
复制标题
DOI:
10.1145/2837614.2837621
复制
发表时间:
2016-01
期刊:
影响因子:
--
通讯作者:
J. Brotherston;Nikos Gorogiannis;M. Kanovich;R. Rowe
中科院分区:
文献类型:
--
作者:
J. Brotherston;Nikos Gorogiannis;M. Kanovich;R. Rowe
We investigate the *model checking* problem for symbolic-heap separation logic with user-defined inductive predicates, i.e., the problem of checking that a given stack-heap memory state satisfies a given formula in this language, as arises e.g. in software testing or runtime verification. First, we show that the problem is *decidable*; specifically, we present a bottom-up fixed point algorithm that decides the problem and runs in exponential time in the size of the problem instance. Second, we show that, while model checking for the full language is EXPTIME-complete, the problem becomes NP-complete or PTIME-solvable when we impose natural syntactic restrictions on the schemata defining the inductive predicates. We additionally present NP and PTIME algorithms for these restricted fragments. Finally, we report on the experimental performance of our procedures on a variety of specifications extracted from programs, exercising multiple combinations of syntactic restrictions.