ISoLA & AISoLA 2026

International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece

Talk

005 – Formalizing Rust Contracts

Time: Sunday, 25.10

Room: Room 2

Authors: Daniel Drodt, Reiner Hähnle

Abstract: Contracts are crucial for (deductive) verification due to the modularization they enable. While Rust verification has flourished, existing tools do not agree on a common specification or contract language, making interoperability challenging. No formal semantics of Rust contracts or adherence to a contract exists and Rust’s semantics prohibits usage of state-based Hoare-style contracts. We present a trace-based formalization of Rust contracts, enabling tool-independent reasoning over Rust specifications, thus laying the groundwork for cooperative deductive verification.

Paper: 978-3-032-40118-2_7