Published 2024 | Version v3
Other Open

Replication Package for "Usability Lessons Towards Adopting Deductive Verification in Mainstream Rust Development" (useable-uf-cert-artifact)

  • 1. ROR icon Lawrence Livermore National Laboratory
  • 2. ROR icon University of California, San Diego

Description

This artifact is a case study on automated deductive verification for Rust for practical programs. It seeks to answer the question ”Can Rust developers today use Rust verifiers to verify their code?”. To answer this question, it contrasts the verification experience of two mature Rust verifiers, Creusot and Prusti, by using the tools to develop a verified implementation of union-find in Rust. The union-find implementation is based on real-world code as used in the popular egg E-graph library.

In this study, we develop two different verified libraries, one using Creusot and one using Prusti. The libraries have similar Rust interfaces and high-level proofs but differ in their details: Creusot and Prusti have different annotation languages and support different proof styles. Each implementation can be verified with its respective tool and compiles as a traditional Rust development.

Files

usable-cert-uf-artifact.zip

Files (402.1 kB)

Name Size Download all
md5:dfc92a23fa96f73a6ed5854274a5ffc0
402.1 kB Preview Download