|
This article is cited in 1 scientific paper (total in 1 paper)
Verified Isabelle/HOL tactic for the theory of bounded integers based on quantifier instantiation and SMT
R. F. Sadykova, M. U. Mandrykinb a Lomonosov Moscow State University
b Ivannikov Institute for System Programming of the Russian Academy of Sciences
Abstract:
SMT solvers are widely applied for deductive verification of C programs using various verification platforms (Why3, Frama-C/WP, F*) and interactive theorem proving systems (Isabelle, HOL4, Coq) as the decision procedures implemented in SMT solvers are complete for some combinations of logical theories (logics), in particular for the QF_UFLIA logic. At the same time, when verifying C programs, it is often necessary to discharge formulas in other logical theories and their combinations, that are also decidable but not supported by all SMT solvers. Theories of bounded integers both with overflow (for unsigned integers in C) and without overflow (for signed integers), and also theory of finite interpreted sets (needed to support frame conditions) are good examples of such theories. One of the possible ways to support such theories is to directly implement them in SMT-solvers, however, this method is often time-consuming, as well as insufficiently flexible and universal. Another way is to implement custom quantifier instantiation strategies to reduce formulas in unsupported theories to formulas in widespread decidable logics such as QF_UFLIA. In this paper, we present an instantiation procedure for translating formulas in the theory of bounded integers without overflow into the QF_UFLIA logic. We formally proved soundness and completeness of our instantiation procedure in Isabelle. The paper presents an informal description of this proof as well as some considerations on the efficiency of the proposed procedure. Our approach is sufficient to obtain efficient decision procedures implemented as Isabelle/HOL proof methods for several decidable logical theories used in C program verification by relying on the existing capabilities of well-known SMT solvers, such as Z3 and proof reconstruction capabilities of the Isabelle/HOL proof assistant.
Keywords:
static verification, quantifier instantiation, SMT formulas, SMT solvers, automated decision procedures, software verification.
Citation:
R. F. Sadykov, M. U. Mandrykin, “Verified Isabelle/HOL tactic for the theory of bounded integers based on quantifier instantiation and SMT”, Proceedings of ISP RAS, 32:2 (2020), 107–124
Linking options:
https://www.mathnet.ru/eng/tisp502 https://www.mathnet.ru/eng/tisp/v32/i2/p107
|
Statistics & downloads: |
Abstract page: | 115 | Full-text PDF : | 63 | References: | 13 |
|