IsaRARE: Automatic Verification of SMT Rewrites in Isabelle/HOL

被引:0
|
作者
Lachnitt, Hanna [1 ]
Fleury, Mathias [4 ]
Aniva, Leni [1 ]
Reynolds, Andrew [2 ]
Barbosa, Haniel [3 ]
Notzli, Andres [5 ]
Barrett, Clark [1 ]
Tinelli, Cesare [2 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] Univ Iowa, Iowa City, IA USA
[3] Univ Fed Minas Gerais, Belo Horizonte, Brazil
[4] Univ Freiburg, Freiburg, Germany
[5] Cubist Inc, San Diego, CA USA
关键词
RECONSTRUCTION;
D O I
10.1007/978-3-031-57246-3_17
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Satisfiability modulo theories (SMT) solvers are widely used to ensure the correctness of safety- and security-critical applications. Therefore, being able to trust a solver's results is crucial. One way to increase trust is to generate independently checkable proof certificates, which record the reasoning steps done by the solver. A key challenge with this approach is that it is difficult to efficiently and accurately produce proofs for reasoning steps involving term rewriting rules. Previous work showed how a domain-specific language, RARE, can be used to capture rewriting rules for the purposes of proof production. However, in that work, the RARE rules had to be trusted, as the correctness of the rules themselves was not checked by the proof checker. In this paper, we present IsaRARE, a tool that can automatically translate RARE rules into Isabelle/HOL lemmas. The soundness of the rules can then be verified by proving the lemmas. Because an incorrect rule can put the entire soundness of a proof system in jeopardy, our solution closes an important gap in the trustworthiness of SMT proof certificates. The same tool also provides a necessary component for enabling full proof reconstruction of SMT proof certificates in Isabelle/HOL. We evaluate our approach by verifying an extensive set of rewrite rules used by the cvc5 SMT solver.
引用
收藏
页码:311 / 330
页数:20
相关论文
共 50 条
  • [1] Automatic Proof and Disproof in Isabelle/HOL
    Blanchette, Jasmin Christian
    Bulwahn, Lukas
    Nipkow, Tobias
    FRONTIERS OF COMBINING SYSTEMS, 2011, 6989 : 12 - 27
  • [2] Combination of Isabelle/HOL with automatic tools
    Tverdyshev, S
    FRONTIERS OF COMBINING SYSTEMS, PROCEEDINGS, 2005, 3717 : 302 - 309
  • [3] Systematic Verification of the Modal Logic Cube in Isabelle/HOL
    Benzmueller, Christoph
    Claus, Maximilian
    Sultana, Nik
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2015, (186): : 27 - 41
  • [4] A verification environment for sequential imperative programs in Isabelle/HOL
    Schirmer, N
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2005, 3452 : 398 - 414
  • [5] Verification of file comparison algorithm fcomp in isabelle/HOL
    Song L.-H.
    Wang H.-T.
    Ji X.-J.
    Zhang X.-Y.
    Ruan Jian Xue Bao/Journal of Software, 2017, 28 (02): : 203 - 215
  • [6] Formal verification of dead code elimination in Isabelle/HOL
    Blech, JO
    Gesellensetter, L
    Glesner, S
    SEFM 2005: Third IEEE International Conference on Software Engineering and Formal Methods, Proceedings, 2005, : 200 - 209
  • [7] Verification of Model Transformations Using Isabelle/HOL and Scala
    Meghzili, Said
    Chaoui, Allaoua
    Strecker, Martin
    Kerkouche, Elhillali
    INFORMATION SYSTEMS FRONTIERS, 2019, 21 (01) : 45 - 65
  • [8] Verification of Model Transformations Using Isabelle/HOL and Scala
    Said Meghzili
    Allaoua Chaoui
    Martin Strecker
    Elhillali Kerkouche
    Information Systems Frontiers, 2019, 21 : 45 - 65
  • [9] Importing HOL into Isabelle/HOL
    Obua, Steven
    Skalberg, Sebastian
    AUTOMATED REASONING, PROCEEDINGS, 2006, 4130 : 298 - 302
  • [10] Mutual Exclusion Verification of Peterson's solution in Isabelle/HOL
    Ji, Xiaojun
    Song, Lihua
    PROCEEDINGS 2016 THIRD INTERNATIONAL CONFERENCE ON TRUSTWORTHY SYSTEMS AND THEIR APPLICATIONS (TSA), 2016, : 81 - 86