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 条
  • [31] A Consistent Foundation for Isabelle/HOL
    Kuncar, Ondrej
    Popescu, Andrei
    INTERACTIVE THEOREM PROVING, 2015, 9236 : 234 - 252
  • [32] A Consistent Foundation for Isabelle/HOL
    Kuncar, Ondrej
    Popescu, Andrei
    JOURNAL OF AUTOMATED REASONING, 2019, 62 (04) : 531 - 555
  • [33] Owicki/Gries in Isabelle/HOL
    Nipkow, T
    Nieto, LP
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, 1999, 1577 : 188 - 203
  • [34] Nominal Techniques in Isabelle/HOL
    Christian Urban
    Journal of Automated Reasoning, 2008, 40 : 327 - 356
  • [35] Idernpotent relations in Isabelle/HOL
    Kammüller, F
    Sanders, JW
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2004, 2005, 3407 : 310 - 324
  • [36] Formalisation of B in Isabelle/HOL
    Chartier, P
    B'98: RECENT ADVANCES IN THE DEVELOPMENT AND USE OF THE B METHOD, 1998, 1393 : 66 - 82
  • [37] Algebraic Numbers in Isabelle/HOL
    Thiemann, Rene
    Yamada, Akihisa
    INTERACTIVE THEOREM PROVING (ITP 2016), 2016, 9807 : 391 - 408
  • [38] Hoare logics in Isabelle/HOL
    Nipkow, T
    PROOF AND SYSTEM-RELIABILITY, 2002, 62 : 341 - 367
  • [39] Liveness Reasoning with Isabelle/HOL
    Wang, Jinshuang
    Yang, Huabing
    Zhang, Xingyuan
    THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2009, 5674 : 485 - 499
  • [40] Formalizing the Metatheory of Logical Calculi and Automatic Provers in Isabelle/HOL (Invited Talk)
    Blanchette, Jasmin Christian
    PROCEEDINGS OF THE 8TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS (CPP' 19), 2019, : 1 - 13