Reference. A Framework for Debugging Automated Program Verification Proofs via Proof Actions

Many program verification tools provide automation via SMT solvers, allowing them to automatically discharge many proofs. However, when a proof fails, it can be hard to understand why it failed or how to fix it. The main feedback the developer receives is simply the verification result (i.e., success or failure), with no visibility into the solver’s internal state. To assist developers using such tools, we introduce ProofPlumber, a novel and extensible proof-action framework for understanding and debugging proof failures. Proof actions act on the developer’s source-level proofs (e.g., assertions and lemmas) to determine why they failed and potentially suggest remedies. We evaluate ProofPlumber by writing a collection of proof actions that capture common proof debugging practices. We produce 17 proof actions, each only 29–177 lines of code.

Cite

Cite as @cho-2024-a (helia, typst) · \cite{cho-2024-a} (LaTeX)
BibTeX
bibtex · 1 line
@inbook{cho-2024-a, title={A Framework for Debugging Automated Program Verification Proofs via Proof Actions}, ISBN={9783031656279}, ISSN={1611-3349}, url={http://dx.doi.org/10.1007/978-3-031-65627-9_17}, DOI={10.1007/978-3-031-65627-9_17}, booktitle={Computer Aided Verification}, publisher={Springer Nature Switzerland}, author={Cho, Chanhee and Zhou, Yi and Bosamiya, Jay and Parno, Bryan}, year={2024}, pages={348–361} }
hayagriva YAML (typst)
yaml · 19 lines
cho-2024-a:
  type: chapter
  title: A Framework for Debugging Automated Program Verification Proofs via Proof Actions
  author:
  - Cho, Chanhee
  - Zhou, Yi
  - Bosamiya, Jay
  - Parno, Bryan
  date: 2024
  page-range: 348-361
  url: http://dx.doi.org/10.1007/978-3-031-65627-9_17
  serial-number:
    doi: 10.1007/978-3-031-65627-9_17
    isbn: '9783031656279'
    issn: 1611-3349
  parent:
    type: book
    title: Computer Aided Verification
    publisher: Springer Nature Switzerland
Cites 40 works (1 here)
With notes (1)

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
External (39)
cho-2024-a reference entries/refs/cho-2024-a/cho-2024-a.hel