Lune

PLDI2025Top-tier venue

A Hybrid Approach to Semi-automated Rust Verification

Sacha-Élie Ayoun, Xavier Denis, Petar Maksimovic, Philippa Gardner

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Miri: Practical Undefined Behavior Detection for Rust cites Verus: Verifying Rust Programs using Linear Ghost Types
  • Miri: Practical Undefined Behavior Detection for Rust cites A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libraries
  • Miri: Practical Undefined Behavior Detection for Rust cites Stacked borrows: an aliasing model for Rust
  • Miri: Practical Undefined Behavior Detection for Rust cites RefinedRust: A Type System for High-Assurance Verification of Rust Programs
  • RefinedC: automating the foundational verification of C code with refined ownership types cites The future is ours: prophecy variables in separation logic
  • Formal Foundations for Translational Separation Logic Verifiers cites RefinedC: automating the foundational verification of C code with refined ownership types
  • Verus: Verifying Rust Programs using Linear Ghost Types cites Stacked borrows: an aliasing model for Rust
  • A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libraries cites How do programmers use unsafe rust?
  • A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libraries cites Stacked borrows: an aliasing model for Rust
  • A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libraries cites RefinedRust: A Type System for High-Assurance Verification of Rust Programs
  • Compositional Symbolic Execution for the Next 700 Memory Models cites Formal Foundations for Translational Separation Logic Verifiers
  • RefinedRust: A Type System for High-Assurance Verification of Rust Programs cites RefinedC: automating the foundational verification of C code with refined ownership types
  • RefinedRust: A Type System for High-Assurance Verification of Rust Programs cites Verus: Verifying Rust Programs using Linear Ghost Types
  • RefinedRust: A Type System for High-Assurance Verification of Rust Programs cites Stacked borrows: an aliasing model for Rust
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. RefinedRust: A Type System for High-Assurance Verification of Rust ProgramsLennard Gäher, Michael Sammler, Ralf Jung, Robbert Krebbers et al.PLDI 2024 · 29 citations
  2. Miri: Practical Undefined Behavior Detection for RustRalf Jung, Benjamin Kimock, Christian Poveda, Eduardo Sánchez Muñoz et al.POPL 2026 · 8 citations
  3. Formal Foundations for Translational Separation Logic VerifiersThibault Dardinier, Michael Sammler, Gaurav Parthasarathy, Alexander J. Summers et al.POPL 2025 · 8 citations
  4. A Study of Undefined Behavior Across Foreign Function Boundaries in Rust LibrariesIan McCormack, Joshua Sunshine, Jonathan AldrichICSE 2025 · 5 citations
  5. Compositional Symbolic Execution for the Next 700 Memory ModelsAndreas Lööw, Seung Hoon Park, Daniele Nantes-Sobrinho, Sacha-Élie Ayoun et al.OOPSLA 2025 · 4 citations

Builds on11

  1. Verus: Verifying Rust Programs using Linear Ghost TypesAndrea Lattuada, Travis Hance, Chanhee Cho, Matthias Brun et al.OOPSLA 2023 · 86 citations
  2. RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian et al.PLDI 2021 · 83 citations
  3. How do programmers use unsafe rust?Vytautas Astrauskas, Christoph Matheja, Federico Poli, Peter Müller et al.OOPSLA 2020 · 78 citations
  4. Stacked borrows: an aliasing model for RustRalf Jung, Hoang-Hai Dang, Jeehoon Kang, Derek DreyerPOPL 2020 · 67 citations
  5. The future is ours: prophecy variables in separation logicRalf Jung, Rodolphe Lepigre, Gaurav Parthasarathy, Marianna Rapoport et al.POPL 2020 · 62 citations

Related papers

  1. RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe codeYusuke Matsushita, Xavier Denis, Jacques-Henri Jourdan, Derek DreyerPLDI 2022 · 44 citations
  2. VerusBelt: A Semantic Foundation for Verus's Proof-Oriented Extensions to the Rust Type SystemTravis Hance, Laila Elbeheiry, Yusuke Matsushita, Derek DreyerPLDI 2026
  3. Bringing Foundational Verification to Real-World Rust CodeLennard Gäher, Vincent Lafeychine, Sascha Kehrli, Avraham Shinnar et al.OOPSLA 2026
  4. Rust yDL: A Program Logic for RustDaniel Drodt, Reiner HähnleFM 2026
  5. Aliasing Limits on Translating C to Safe RustMehmet Emre, Peter Boyland, Aesha Parekh, Ryan Schroeder et al.OOPSLA 2023 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines