Reference. Cazamariposas: Automated Instability Debugging in SMT-Based Program Verification

Program verification languages such as Dafny and F⋆ often rely heavily on Satisfiability Modulo Theories (SMT) solvers for proof automation. However, SMT-based verification suffers from instability, where semantically irrelevant changes in the source program can cause spurious proof failures. While existing mitigation techniques emphasize preemptive measures, we propose a complementary approach that focuses on diagnosing and repairing specific instances of instability-induced failures. Our key technique is a novel differential analysis to pinpoint problematic quantified formulas in an unstable query. We implement this technique in Cazamariposas, a tool that automatically identifies such quantified formulas and suggests fixes. We evaluate Cazamariposas on multiple large-scale systems verification projects written in three different program verification languages. Our results demonstrate Cazamariposas’ effectiveness as an instability debugger. In the majority of cases, Cazamariposas successfully isolates the issue to a single problematic quantifier, while providing a stabilizing fix.

Cite

Cite as @zhou-2025-cazamariposas (helia, typst) · \cite{zhou-2025-cazamariposas} (LaTeX)
BibTeX
bibtex · 1 line
@inbook{zhou-2025-cazamariposas, title={Cazamariposas: Automated Instability Debugging in SMT-Based Program Verification}, ISBN={9783031999840}, ISSN={1611-3349}, url={http://dx.doi.org/10.1007/978-3-031-99984-0_5}, DOI={10.1007/978-3-031-99984-0_5}, booktitle={Automated Deduction – CADE 30}, publisher={Springer Nature Switzerland}, author={Zhou, Yi and Shah, Amar and Lin, Zhengyao and Heule, Marijn J. H. and Parno, Bryan}, year={2025}, pages={75–94} }
hayagriva YAML (typst)
yaml · 20 lines
zhou-2025-cazamariposas:
  type: chapter
  title: 'Cazamariposas: Automated Instability Debugging in SMT-Based Program Verification'
  author:
  - Zhou, Yi
  - Shah, Amar
  - Lin, Zhengyao
  - Heule, Marijn J. H.
  - Parno, Bryan
  date: 2025
  page-range: 75-94
  url: http://dx.doi.org/10.1007/978-3-031-99984-0_5
  serial-number:
    doi: 10.1007/978-3-031-99984-0_5
    isbn: '9783031999840'
    issn: 1611-3349
  parent:
    type: book
    title: Automated Deduction – CADE 30
    publisher: Springer Nature Switzerland
Cites 34 works (4 here)
With notes (4)

Formally Verified Cloud-Scale Authorization chakarov-2025-formally

DOI · pldb

Verus: A Practical Foundation for Systems Verification lattuada-2024-verus

DOI

Verus: Verifying Rust Programs using Linear Ghost Types lattuada-2023-verus

The Rust programming language provides a powerful type system that checks linearity and borrowing, allowing code to safely manipulate memory without garbage collection and making Rust ideal for developing low-level, high-assurance systems. For such systems, formal verification can be useful to prove functional correctness properties beyond type safety. This paper presents Verus, an SMT-based tool for formally verifying Rust programs. With Verus, programmers express proofs and specifications using the Rust language, allowing proofs to take advantage of Rust’s linear types and borrow checking. We show how this allows proofs to manipulate linearly typed permissions that let Rust code safely manipulate memory, pointers, and concurrent resources. Verus organizes proofs and specifications using a novel mode system that distinguishes specifications, which are not checked for linearity and borrowing, from executable code and proofs, which are checked for linearity and borrowing. We formalize Verus’ linearity, borrowing, and modes in a small lambda calculus, for which we prove type safety and termination of specifications and proofs. We demonstrate Verus on a series of examples, including pointer-manipulating code (an xor-based doubly linked list), code with interior mutability, and concurrent code.
PDF · DOI · arXiv · pldb

IronFleet: proving practical distributed systems correct hawblitzel-2015-ironfleet

DOI
External (30)
zhou-2025-cazamariposas reference entries/refs/zhou-2025-cazamariposas/zhou-2025-cazamariposas.hel