vix.ing · top · new · best · stats · spec

A Hybrid Approach to Semi-automated Rust Verification

2024/03/22 by Sacha-Élie Ayoun, Xavier Denis, Ayoun, Sacha-Élie +5 · 4 citations
Engineering · Materials Science · #Electromagnetic Compatibility and Noise Suppression #FOS: Computer and information sciences #Metallurgy and Material Science #Programming Languages (cs.PL)

paper · pdf · doi:10.48550/arxiv.2403.15122

openalex publication_date 2024/03/22 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

We propose a hybrid approach to end-to-end Rust verification where the proof effort is split into powerful automated verification of safe Rust and targeted semi-automated verification of unsafe Rust. To this end, we present Gillian-Rust, a proof-of-concept semi-automated verification tool built on top of the Gillian platform that can reason about type safety and functional correctness of unsafe code. Gillian-Rust automates a rich separation logic for real-world Rust, embedding the lifetime logic of RustBelt and the parametric prophecies of RustHornBelt, and is able to verify real-world Rust standard library code with only minor annotations and with verification times orders of magnitude faster than those of comparable tools. We link Gillian-Rust with Creusot, a state-of-the-art verifier for safe Rust, by providing a systematic encoding of unsafe code specifications that Creusot can use but cannot verify, demonstrating the feasibility of our hybrid approach.

Cited by

Related