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 条
  • [21] Random testing in Isabelle/HOL
    Berghofer, S
    Nipkow, T
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2004, : 230 - 239
  • [22] Nominal techniques in Isabelle/HOL
    Urban, Christian
    JOURNAL OF AUTOMATED REASONING, 2008, 40 (04) : 327 - 356
  • [23] Data Refinement in Isabelle/HOL
    Haftmann, Florian
    Krauss, Alexander
    Kuncar, Ondrej
    Nipkow, Tobias
    INTERACTIVE THEOREM PROVING, ITP 2013, 2013, 7998 : 100 - 115
  • [24] A comparison of PVS and Isabelle/HOL
    Griffioen, D
    Huisman, M
    THEOREM PROVING IN HIGHER ORDER LOGICS, 1998, 1479 : 123 - 142
  • [25] From LCF to Isabelle/HOL
    Paulson, Lawrence C.
    Nipkow, Tobias
    Wenzel, Makarius
    FORMAL ASPECTS OF COMPUTING, 2019, 31 (06) : 675 - 698
  • [26] Linear Resources in Isabelle/HOL
    Smola, Filip
    Fleuriot, Jacques D.
    JOURNAL OF AUTOMATED REASONING, 2024, 68 (02)
  • [27] Nominal techniques in Isabelle/HOL
    Urban, C
    Tasson, C
    AUTOMATED DEDUCTION - CADE-20, PROCEEDINGS, 2005, 3632 : 38 - 53
  • [28] Markov Processes in Isabelle/HOL
    Hoelz, Johannes
    PROCEEDINGS OF THE 6TH ACM SIGPLAN CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, CPP'17, 2017, : 100 - 111
  • [29] A Consistent Foundation for Isabelle/HOL
    Ondřej Kunčar
    Andrei Popescu
    Journal of Automated Reasoning, 2019, 62 : 531 - 555
  • [30] Nominal techniques in isabelle/HOL
    Urban, Christian
    Journal of Automated Reasoning, 2008, 40 (04): : 327 - 356