betaFeedback

WorksComputer Science

A Complete, Formal Semantics for Rust Source Code

Abstract

Formally reasoning about Rust programs requires a rigorous formal semantics, especially in the context of deductive verification and concurrent programming. We present a modular, flexible semantics for a significant subset of (close to) source code level Rust, based on the recent locally abstract, globally concrete semantics framework, separating local evaluation of expressions from their composition into concrete traces. The semantics is extended to model Rust's asynchronous programming features and Rust's most popular async runtime, Tokio. Based on our more abstract formalization, we establish the fairness of Tokio's scheduler. Further, we show the applicability of our semantics to deductive verification of Rust by providing soundness proofs for a Rust program logic.

Introduction

Rust is a modern, flexible, systems-level programming language of growing importance. It is used in many crucial application domains, most notably the Linux kernel [44]. This importance and usage increases the need for formal analysis and formal verification of Rust programs, both of which are well supported by Rust’s language design. Accordingly, several verification tools for Rust are being developed [3, 6, 12, 21, 30, 43]. With its complex ownership model and reference system, Rust provides a powerful yet unusually restrictive type system that ensures memory safety and the absence of data races [42].

The lack of an official, formal, source code level Rust semantics makes validation of these tools problematic. Without such a semantics, interoperability of verification tools is difficult, as tools may not be based on the same, or even compatible, formalisms. Similarly, verification of the Rust compiler needs a formal semantics for each of Rust’s intermediate representations.

The semantics problem is partially addressed by formal models of parts of Rust’s type system or intermediate representations, typically the mid-level intermediate representation (MIR) [13, 28, 36, 39]. These semantics provide usable and rigorous formalizations of Rust’s borrow checker and operational semantics of subsets of the language, each offering different trade-offs and specializations. Nevertheless, they are limited in at least two respects. First, being low-level and focused on the MIR, they offer little for reasoning about Rust programs at a level closer to the source code. A high-level representation crucially allows, e.g., comprehension of the complex proof state [21].

Author’s Contact Information: Daniel Drodt, [email protected], Technical University of Darmstadt, Darmstadt, Hessen, Germany.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

ACM 1558-4593/2026/9-ARTZZZ

https://doi.org/XXXXXXX.XXXXXXX Second, no formal semantics for Rust’s concurrent features (“async Rust”) has been developed. As “fearless concurrency” is a major feature and promise of Rust [42], this is an unfortunate limitation. Without formal semantics, it remains difficult to reason about concurrent and parallel Rust programs or to prove them correct, free of deadlocks, and similar properties. Furthermore, it remains elusive to model concrete schedulers or runtimes, which is especially relevant as Rust allows different asynchronous runtimes to be used. Here too, a high-level view seems more promising than semantics of lower-level representations.

As Rust has matured and its type system, borrow checking, and memory model have been examined, refined, and formalized, we argue that a sensible next step is to examine the high-level features, building on these closely-studied foundations.

Hence, we see a crucial gap left open: a formal semantics of Rust suitable for formalizing high-level properties of Rust programs. Ideally, such a semantics should (1) be highly flexible and compositional to accommodate future language extensions; (2) formalize Rust at the source code level (or close to it); (3) allow the formalization of asynchronous Rust code; (4) permit modeling of and reasoning about asynchronous runtimes; and (5) ease deductive verification of Rust programs.

To meet these goals, modularity of the semantics is paramount: Extendability is only feasible if adding a new language feature does not require to significantly rewrite the existing semantics rules. Additionally, a modular semantics eases verification effort, as calculus proof rules are also made modular in the sense that it is possible to extend the calculus with new rules and constructs without revising the rest of the calculus.

However, semantics in the style of structural operational semantics (SOS) struggle with modularity. As Peter Mosses put it, “conventional SOS descriptions of programming languages have quite poor modularity,” which leads to complex semantics, as “[w]hen extending a pure functional language with concurrency primitives and/or references, for instance, the SOS rules for all the functional constructs had to be completely reformulated” [50]. While Mosses [50] provides a modification of SOS that improves modularity, recent developments in trace-based semantics offer an even more flexible, complete, and modular path [7, 8, 32, 41].

The present paper remedies this situation by providing a comprehensive, formal semantics for most parts of safe Rust’s high-level intermediate representation (HIR) based on the locally abstract, globally concrete (LAGC) semantics framework [17], which was developed with concurrent and parallel programs and deductive verification in mind. LAGC achieves a modular and flexible semantics by separating the local evaluations of expressions from the global state and concerns such as scheduling. This approach is modular in the sense that each syntactic structure—expressions or statements—have one local rule that is independent of the global context. Adding new language features consists largely of formulating new local rules. Furthermore, the approach is well-suited for concurrency by delegating all scheduling concerns to the global layer and building hybrid traces over states and events for each program execution. These traces contain all relevant information of state changes and scheduling relevant events. Combining these elements, LAGC defines the semantics of a specific program as the set of all well-formed traces generated by the global composition rules.

LAGC has been successfully applied to a number of programming languages and settings, such as ProMeLa and active object languages [10] like ABS [17, 18], demonstrating its flexibility. Further examples include Real-Time ABS [62] and Timed Rebeca [25]. The LAGC approach has also been used, in a slightly different form, in the context of deductive verification [8]. These examples demonstrate that LAGC, with its modular approach, separation of local and global context, and hybrid traces, is more suitable than the traditional SOS semantics for purposes of verification and the modeling of concurrent programming languages.

For these reasons, LAGC is a viable semantics framework to achieve the goals outlined above and it allows a semantics of higher-level Rust. Hence, the presented semantics is based on LAGC. Our detailed contributions are:

  1. We provide a semantics for most parts of safe Rust’s HIR in the LAGC framework and demonstrate the semantics’ usability with a number of examples. To demonstrate the applicability of the semantics, we support complex language features and control flows, such as loops with breaks and continues.

  1. We extend this semantics to async Rust, modeling any possible scheduling of async functions. Notably, to our knowledge, this is the first formal semantics of async Rust in the literature.

  1. Based on the asynchronous semantics, we formalize Rust’s most widely-used runtime, the “current thread runtime” of Tokio [64], and prove its fairness. We stress that our approach is straightforwardly adaptable to other runtimes, with the async Rust semantics carrying over.

  1. Finally, we show how our semantics can be used to prove soundness of the calculus for RustyDL, a program logic for Rust [21] based on dynamic logic (DL) [53], demonstrating how the modular rules of LAGC ease such proofs. Thereby, we also highlight the interaction of DL and LAGC.

§ 2 introduces the necessary background and definitions on which our semantics is built, as well as the general LAGC approach. We present the semantics for synchronous Rust in § 3 and extend it to async Rust in § 4. § 5 then builds upon the async semantics to represent one of Tokio’s runtimes in LAGC and proves its fairness guarantees. The calculus of the program logic RustyDL [21] is proven sound in § 6. We present related work in § 7 and conclude the paper in § 8.

Prerequisites

The goal of the LAGC approach [17] is to represent a program run as a trace consisting of states and events and to represent a program’s entire behavior as the set of all possible traces starting from a concrete state. As a principle idea to tackle the complexity of all possible executions, LAGC consists of many local rules for each syntactic structure, which consider abstract states and traces, and global rules, which consider concrete states and traces and are concerned with the correct composition of such traces. Events in traces aid this effort by providing more structural information, e.g., that a function was invoked or a panic occurred.

Building an LAGC semantics consists of four steps: (1) the local evaluation, mapping expressions to (abstract) continuation traces, without knowledge of the surrounding context; (2) a well-formedness predicate, restricting the set of allowed traces and enforcing, e.g., proper ordering of events; (3) trace composition rules, defining how the local traces are stitched together to concrete traces; and (4) global program semantics, defining the initial state and allowed end states. This framework yields a set of concrete traces describing all possible executions for a given program from an initial state and achieves a modular semantics: Each kind of expression has exactly one local rule irrespective of context.

This section gives the necessary background for states, events, and traces, mainly following the definitions in [17], modified to adapt to Rust’s more functional, expression-based structure. This modification in fact simplifies some parts of the LAGC approach.

Values and States

Due to the high-level concerns of our semantics, we do not map Rust constructs to low-level or even machine-level domains; rather, we map to mathematical domains: Rust’s concrete, machine word integer types, such as i32 and u8, are mapped to mathematical integers Z\mathbb{Z}, while bool is mapped to boolean values tt\mathrm{tt} and ff\mathrm{ff}. We proceed similarly with compound types like arrays and structs. This abstraction is not a limitation of the semantics. We ensure the correct behavior of Rust types as part of the evaluation of the relevant expressions.

Definition 2.1 (Starred) Semantic Values. We write VarVar for the set of program variables with typical elements xx, yy, zz, etc. Further, we define a place p∈Placep \in Place as an abstract representation of memory locations. Such a place is either a program variable xx, an array field p[n]p[n] of another place pp where nn is a natural number, or a field access p.identifierp.identifier.

x∈Var::=identifierx \in Var ::= identifier
p∈Place::=x∣p[n]∣p.identifierp \in Place ::= x \mid p[n] \mid p.identifier
n∈N::=0∣1∣⋯n \in\mathbb{N} ::= 0 \mid1 \mid\cdots

The set of semantic values ValVal, with typical elements vv, v1v_1, v2v_2, …\ldots, includes boolean, integer, reference, function, tuple, array, struct, and enum variant values. The latter compound types are defined as their Rust counterparts, where all fields are values. Reference values are either shared (denoted by ss) or mutable (denoted by mm) and contain a place p∈Placep \in Place and a borrow identifier b∈BIdb \in BId; e.g., Ref⁡x[1]m(b0)\operatorname{Ref}^{m}_{x[1]}(b_0) is a mutable reference of place x[1]x[1] with borrow identifier b0b_0. Function values are represented as function names.

v∈Val::=tt∣ff∣z∣Ref⁡ps(b)∣Ref⁡pm(b)∣(v)∣[v]∣structs∣enums∣functionsv \in Val ::= \mathrm{tt} \mid\mathrm{ff} \mid z \mid\operatorname{Ref}^{s}_{p}(b) \mid\operatorname{Ref}^{m}_{p}(b) \mid(v) \mid[v] \mid structs \mid enums \mid functions
z∈Z::=n∣−1∣−2∣⋯z \in\mathbb{Z} ::= n \mid-1 \mid-2 \mid\cdots

The set of starred values SVal⊃ValSVal \supset Val, with typical element svsv, extends values with the starred value ∗\ast, representing unknown, symbolic values.

sv∈SVal::=v∣∗sv \in SVal ::= v \mid\ast

Example 2.2. The semantic value to which the Rust expression (true, 4∗24 * 2, &mut n), where nn is a program variable of type i32, evaluates is (tt,8,Ref⁡nm(b0))(\mathrm{tt}, 8, \operatorname{Ref}^{m}_{n}(b_0)), where b0∈BIdb_0 \in BId is unique.

To associate variables with values, we use a symbolic state σ\sigma, modelled as a partial mapping σ:Var⇀SVal\sigma: Var \rightharpoonup SVal from variables to starred values. We express a modification of a variable xx with the (starred) value svsv as the state update of σ\sigma:

σ[x↦sv](y)={svx=yσ(y)x≠y\sigma[x \mapsto sv](y) = \begin{cases} sv & x = y \\ \sigma(y) & x \ne y \end{cases}

As values can be nested in arrays, tuples, structs, and enums, we define syntactic sugar for updating not just variables but places p∈Placep \in Place. The base case of p=xp = x for some variable xx is handled by state updates. Updates to an array place p[n]p[n] is resolved by updating place pp with a changed array value.

σ[p[n]↦sv]=σ[p↦[sv0,…,svn−1,sv,svn+1,…,svm]]where n≤m∧σ(p)=[sv0,…,svm]\sigma[p[n] \mapsto sv] = \sigma[p \mapsto[sv_0,\ldots,sv_{n-1},sv,sv_{n+1},\ldots,sv_m]] \quad\text{where } n \le m \land\sigma(p) = [sv_0,\ldots,sv_m]

The case for updating field places p.identifierp.identifier is analogous: σ[p.identifier↦sv]\sigma[p.identifier \mapsto sv].

The symbolic variables of state σ\sigma are defined as sym⁡(σ)={X∈Var∣σ(X)=∗}\operatorname{sym}(\sigma) = \{X \in Var \mid\sigma(X) = \ast\} and are used to abstract from concrete evaluations, e.g., for function parameters. We typically denote them with capital letters. If sym⁡(σ)=∅\operatorname{sym}(\sigma) = \varnothing, we call σ\sigma concrete.

As our semantics may introduce new variables, we require a notion of state extension.

Definition 2.3 (State Extension). Let σ1\sigma_1, σ2\sigma_2 be two states. We say σ2\sigma_2 extends σ1\sigma_1—written as σ1⊆σ2\sigma_1 \subseteq\sigma_2—iff dom⁡(σ1)⊆dom⁡(σ2)\operatorname{dom}(\sigma_1) \subseteq\operatorname{dom}(\sigma_2) and ∀x∈dom⁡(σ1). σ1(x)=σ2(x)\forall x \in\operatorname{dom}(\sigma_1).\,\sigma_1(x) = \sigma_2(x).

Traces and Events

Traces are sequences of states and events, the latter of which give a structure and additional information to traces. Events cannot change the state; we add the relevant events for Rust as we go along. Like states, traces can be symbolic.

Definition 2.4 (Symbolic Trace). We define symbolic traces inductively by the following rules, where ε\varepsilon is the empty trace:

τ::=ε∣τ↷t(trace)t::=σ∣ev(ep‾)(trace element)ep::=x∣v(event parameter)\begin{aligned} \tau&::= \varepsilon\mid\tau\curvearrowright t && \text{(trace)}\\ t &::= \sigma\mid ev(\overline{ep}) && \text{(trace element)}\\ ep &::= x \mid v && \text{(event parameter)} \end{aligned}

where ev(ep‾)ev(\overline{ep}) is an event marker and ep‾\overline{ep} are the event parameters, i.e., variables or values.

Example 2.5. Let σ0:=[X↦∗,y↦ff]\sigma_0 := [X \mapsto\ast, y \mapsto\mathsf{ff}] be a symbolic state and ev0ev_0 an event marker with one parameter. Then, τ0:=ε↷σ0↷ev0(X)↷σ0[y↦tt]\tau_0 := \varepsilon\curvearrowright\sigma_0 \curvearrowright ev_0(X) \curvearrowright\sigma_0[y \mapsto\mathsf{tt}] is a symbolic trace, representing an execution starting in (symbolic) state σ0\sigma_0, then event ev0(X)ev_0(X), and ending in the updated state where y’s value is changed to false.

We take care that each event in a trace is surrounded on either side by a state. This ensures that that functions over traces like last(τ)last(\tau) and lastEv(τ)lastEv(\tau), which evaluate to the last state and event of trace τ\tau, respectively, are always defined for non-empty traces.

Often, it is necessary to construct a trace τ\tau from two given traces τ1,τ2\tau_1, \tau_2. We call this process trace composition. We write ⟨σ⟩\langle\sigma\rangle for the singleton trace ε↷σ\varepsilon\curvearrowright\sigma and τ1⋅τ2\tau_1 \cdot\tau_2 for the concatenation of two symbolic traces τ1,τ2\tau_1, \tau_2. For example, we write the trace from Example 2.5 as

τ0=⟨σ0⟩↷ev0(X)↷σ0[y↦tt].\tau_0 = \langle\sigma_0\rangle\curvearrowright ev_0(X) \curvearrowright\sigma_0[y \mapsto\mathsf{tt}] .

Traces τ1\tau_1 and τ2\tau_2, where τ1\tau_1 ends in the state with which τ2\tau_2 begins, can be “stitched together” with the semantic chop operation1:

τ1∗∗τ2=τ⋅τ2 where τ1=τ↷σ and τ2=⟨σ⟩⋅τ′.\tau_1 \ast\ast\tau_2 = \tau\cdot\tau_2 \text{ where } \tau_1 = \tau\curvearrowright\sigma\text{ and } \tau_2 = \langle\sigma\rangle\cdot\tau'.

Note that the chop is a partial operation: If τ1\tau_1 is empty or if the last state of τ1\tau_1 and first state of τ2\tau_2 are incompatible, the chop is undefined.

We also require a way to concretize symbolic traces into concrete traces. To this end, we work with concretization mappings ρ\rho.

Definition 2.6 (Concretization Mapping). A concretization mapping ρ:Var⇀Val\rho: Var \rightharpoonup Val is a partial mapping for state σ\sigma if dom⁡(ρ)∩dom⁡(σ)=symb⁡(σ)\operatorname{dom}(\rho) \cap\operatorname{dom}(\sigma) = \operatorname{symb}(\sigma). We denote the concretization of σ\sigma with ρ\rho as

ρ∙σ=ρ∪{x↦σ(x)∣x∈dom⁡(σ)∖dom⁡(ρ)}.\rho\bullet\sigma= \rho\cup\{x \mapsto\sigma(x) \mid x \in\operatorname{dom}(\sigma) \setminus\operatorname{dom}(\rho)\}.

Proposition 2.7. Let σ\sigma be a state and ρ\rho a σ\sigma concretization mapping. Then ρ∙σ\rho\bullet\sigma is a concrete state.

References

  1. [1]Wolfgang Ahrendt, Bernhard Beckert, Richard Bubel, Reiner Hähnle, Peter H. Schmitt, and Mattias Ulbrich, (Eds.) 2016. Deductive Software Verification – the KeY Book: From Theory to Practice. Number 10001 in LNCS. Springer. doi:10.1007/978-3-319-49812-6.DOI
  2. [2]Wolfgang Ahrendt, Bernhard Beckert, Richard Bubel, Reiner Hähnle, and Mattias Ulbrich. 2025. The many uses of dynamic logic. In Go Where the Bugs Are – Essays Dedicated to Wolfgang Reif on the Occasion of His 65th Birthday (LNCS) number 15765. Gidon Ernst, Matthias Güdemann, Alexander Knapp, Florian Nafz, Frank Ortmeier, Hella Ponsar, Gerhard Schellhorn, and Alexander Schierndorfer, (Eds.) Springer, Cham, (June 2025), 56–82. doi:10.1007/978-3-031-92196-4_4.DOI
  3. [3]Vytautas Astrauskas, Aurel Bílý, Jónas Fiala, Zachary Grannan, Christoph Matheja, Peter Müller, Federico Poli, and Alexander J. Summers. 2022. The Prusti project: Formal verification for Rust. In NFM 2022 Proceedings (LNCS) number 13260. Joyti­moy V. Deshmukh, Klaus Havelund, and Ivan Perez, (Eds.) Springer, 88–108. doi:10.1007/978-3-031-06773-0_5.DOI
  4. [4]Bernhard Beckert and Daniel Bruns. 2013. Dynamic logic with trace semantics. In Automated Deduction – CADE-24 (LNAI) number 7898. Maria Paola Bonacina, (Ed.) Springer, Berlin, Heidelberg, 315–329. doi:10.1007/978-3-642-38574-2_22.DOI
  5. [5]Bernhard Beckert, Richard Bubel, Daniel Drodt, Reiner Hähnle, Florian Lanzinger, Wolfram Pfeifer, Mattias Ulbrich, and Alexander Weigl. 2025. The Java verification tool KeY: A tutorial. In Formal Methods (LNCS) number 14934. Andre Platzer, Kristin Yvonne Rozier, Matteo Pradella, and Matteo Rossi, (Eds.) Springer Nature Switzerland, Cham, 597–623. ISBN: 978-3-031-71177-0. doi:10.1007/978-3-031-71177-0_32.DOI
  6. [6]Karthikeyan Bhargavan, Maxime Buysе, Lucas Franceschino, Lasse Letager Hansen, Franziskus Kiefer, Jonas Schneider-Bensch, and Bas Spitters. 2025. Hax: Verifying security-critical Rust software using multiple provers. In Verified Software, Theories, Tools and Experiments 2024 Proceedings (LNCS) number 15525. Jonathan Protzenko and Azalea Raad, (Eds.) Springer, 96–119. doi:10.1007/978-3-031-86695-1_7.
  7. [7]Stephen Brookes. 2007. A semantics for concurrent separation logic. Theor. Comput. Sci., 375, 1–3, 227–270. doi:10.1016/j.tcs.2006.12.034.DOI
  8. [8]Richard Bubel, Dilian Gurov, Reiner Hähnle, and Marco Scaletta. 2023. Trace-based deductive verification. In LPAR 2023: Proceedings of 24th International Conference on Logic for Programming, Artificial Intelligence and Reasoning, Manizales, Colombia, 4–9th June 2023 (EPiC Series in Computing). Ruzica Piskac and Andrei Voronkov, (Eds.) Vol. 94. EasyChair, 73–95. doi:10.29007/VDFD.DOI
  9. [9]Will Crichton, Gavin Gray, and Shriram Krishnamurthi. 2023. A grounded conceptual model for ownership types in Rust. Proc. ACM Program. Lang., 7, (Oct. 2023), 265:1–265:29, OOPSLA2, (Oct. 2023). Michael Hicks, (Ed.) doi:10.1145/3622841.DOI
  10. [10]Frank de Boer et al. 2017. A survey of active object languages. ACM Computing Surveys, 50, 5, (Oct. 2017), 76:1–76:39. doi:10.1145/3122848.DOI
  11. [11]Leonardo de Moura and Sebastian Ullrich. 2021. The Lean 4 theorem prover and programming language. In CADE (LNCS) number 12699. Springer, 625–635. doi:10.1007/978-3-030-79876-5_37.
  12. [12]Xavier Denis, Jacques-Henri Jourdan, and Claude Marché. 2022. Creusot: A foundry for the deductive verification of Rust programs. In ICFEM 2022, Proceedings (LNCS) number 13478. Adrián Riesco and Min Zhang, (Eds.) Springer, 90–105. doi:10.1007/978-3-031-17244-1_6.DOI
  13. [13][SW] The Rust developers, A-Mir-Formality 2026. URL: https://github.com/rust-lang/a-mir-formality.
  14. [14][SW] The Rust developers, Polonius 2025. URL: https://github.com/rust-lang/polonius.
  15. [15]Crystal Chang Din, Richard Bubel, and Reiner Hähnle. 2015. KeY-ABS: A deductive verification tool for the concurrent modelling language ABS. In Proc. 25th Intl. Conf. on Automated Deduction (CADE), Berlin, Germany (LNCS) number 9195. Amy Felty and Aart Middeldorp, (Eds.) Springer, 517–526. doi:10.1007/978-3-319-21401-6_35.DOI
  16. [16]Crystal Chang Din, Johan Dovland, Einar Broch Johnsen, and Olaf Owe. 2012. Observable behavior of distributed systems: Component reasoning for concurrent objects. Journal of Logic and Algebraic Programming, 81, 3, 227–256. doi:10.1016/j.jlap.2012.01.003.DOI
  17. [17]Crystal Chang Din, Reiner Hähnle, Ludovic Henrio, Einar Broch Johnsen, Violet Ka I Pun, and Silvia Lizeth Tapia Tarifa. 2024. Locally abstract, globally concrete semantics of concurrent programming languages. Transactions on Programming Languages and Systems, 46, 1, (Mar. 2024), 3:1–3:58. doi:10.1145/3648439.DOI
  18. [18]Crystal Chang Din, Reiner Hähnle, Einar Broch Johnsen, Violet Ka I Pun, and Silvia Lizeth Tapia Tarifa. 2017. Locally abstract, globally concrete semantics of concurrent programming languages. In TAPL 2017 (LNCS). Cláudia Nalon and Renate Schmidt, (Eds.) Vol. 10501. Springer, (Sept. 2017), 22–43. doi:10.1007/978-3-319-66902-1_2.DOI
  19. [19]Crystal Chang Din and Olaf Owe. 2015. Compositional reasoning about active objects with shared futures. Formal Asp. Comput., 27, 3, 551–572. doi:10.1007/s00165-014-0322-y.DOI
  20. [20][SW] Daniel Drodt, Rust-LAGC Sept. 21, 2026. URL: https://github.com/Drodt/Rust-LAGC.
  21. [21]Daniel Drodt and Reiner Hähnle. 2026. RustyDL: A program logic for Rust. In Proc. 27th Intl. Symp. on Formal Methods, Tokyo, Japan, Part I (LNCS) number 16556. Augusto Sampaio, Marielle Stoelinga, Achim D. Brucker, and Marie-Christine Jakobs, (Eds.) Springer, Cham, (May 2026), 357–377. doi:10.1007/978-3-032-26204-2_19.
  22. [22]Daniel Drodt and Reiner Hähnle. 2026. RustyDL: A Program Logic for Rust. Technical report. arXiv: 2602.22075 [cs.PL]. doi:10.48550/arXiv.2602.22075.
  23. [23][SW] Glommio Developers, Glommio version 0.9.0, Mar. 25, 2024. URL: https://docs.rs/glommio/0.9.0/glommio/Retrieved Aug. 22, 2026 from.
  24. [24]Reiner Hähnle and Ludovic Henrio. 2024. Provably fair cooperative scheduling. Art Sci. Eng. Program., 8, 2. doi:10.22152/PROGRAMMING-JOURNAL.ORG/2024/8/6.
  25. [25]Reiner Hähnle, Einar Broch Johnsen, and Silvia Lizeth Tapia Tarifa. 2025. An LAGC semantics for Timed Rebeca. In Rebeca for Actor Analysis in Action – Essays Dedicated to Marjan Sirjani on the Occasion of Her 60th Birthday (LNCS) number 15560. Edward A. Lee, Mohammad Reza Mousavi, and Carolyn L. Talcott, (Eds.) Springer, 326–348. doi:10.1007/978-3-031-85134-6_14.
  26. [26]Reiner Hähnle, Eduard Kamburjan, and Marco Scaletta. 2024. Context-aware trace contracts. In Active Object Languages: Current Research Trends (LNCS) number 14360. Frank De Boer, Ferruccio Damiani, Reiner Hähnle, Einar Broch Johnsen, and Eduard Kamburjan, (Eds.) Springer, Cham, 292–325. doi:10.1007/978-3-031-51060-1_11.
  27. [27]Joseph Halpern, Zohar Manna, and Ben Moszkowski. 1983. A hardware semantics based on temporal intervals. In Automata, Languages and Programming. Josep Diaz, (Ed.) Springer, Berlin, Heidelberg, 278–291. doi:10.1007/BFb0036915.
  28. [28]Son Ho, Aymeric Fromherz, and Jonathan Protzenko. 2024. Sound borrow-checking for Rust via symbolic semantics. Proc. ACM Program. Lang., 8, 426–454, ICFP. doi:10.1145/3674640.DOI
  29. [29]Son Ho, Aymeric Fromherz, and Jonathan Protzenko. 2024. Sound borrow-checking for Rust via symbolic semantics (long version). (July 1, 2024). arXiv: 2404.02680 [cs]. Pre-published.arxiv.org/abs/2404.02680
  30. [30]Son Ho and Jonathan Protzenko. 2022. Aeneas: Rust verification by functional translation. Proc. ACM Program. Lang., 6, 711–741, ICFP. doi:10.1145/3547647.DOI
  31. [31]C. A. R. Hoare. 1969. An axiomatic basis for computer programming. Commun. ACM, 12, 10, (Oct. 1, 1969), 576–580. doi:10.1145/363235.363259.DOI
  32. [32]Kevin J. Hoffman, Patrick Eugster, and Suresh Jagannathan. 2009. Semantics-aware trace analysis. SIGPLAN Not., 44, 6, (June 2009), 453–464. doi:10.1145/1543135.1542527.DOI
  33. [33]Gerard J. Holzmann. 2004. The SPIN Model Checker – Primer and Reference Manual. Addison-Wesley.
  34. [34]Eric Huss, Felix Klock, Joel Marcey, and Mara Bos. 2023. Our vision for the Rust specification. Inside Rust Blog. (Nov. 15, 2023). Retrieved July 23, 2026 from https://blog.rust-lang.org/inside-rust/2023/11/15/spec-vision/.
  35. [35]Einar Broch Johnsen, Reiner Hähnle, Jan Schäfer, Rudolf Schlatte, and Martin Steffen. 2011. ABS: A core language for abstract behavioral specification. In FMCO 2010 Proceedings (LNCS) number 6957. Bernhard K. Aichernig, Frank de Boer, and Marcello M. Bonsangue, (Eds.) Springer, 142–164. doi:10.1007/978-3-642-25271-6_8.DOI
  36. [36][SW] Ralf Jung, MiniRust Mar. 25, 2026. mini rust. URL: https://github.com/minirust/minirust.
  37. [37]Ralf Jung, Hoang-Hai Dang, Jeehoon Kang, and Derek Dreyer. 2019. Stacked borrows: an aliasing model for Rust. Proc. ACM Program. Lang., 4, (Dec. 20, 2019), 41:1–41:32, POPL, (Dec. 20, 2019). doi:10.1145/3371109.DOI
  38. [38]Ralf Jung, Jacques-Henri Jourdan, Robbert Krebbers, and Derek Dreyer. 2017. RustBelt: Securing the Foundations of the Rust Programming Language. Technical appendix. Retrieved July 23, 2026 from https://plv.mpi-sws.org/rustbelt/popl18/.
  39. [39]Ralf Jung, Jacques-Henri Jourdan, Robbert Krebbers, and Derek Dreyer. 2018. RustBelt: Securing the foundations of the Rust programming language. Proc. ACM Program. Lang., 2, 66:1–66:34, POPL. doi:10.1145/3158154.DOI
  40. [40]Ralf Jung, David Swasey, Filip Sieczkowski, Kasper Svendsen, Aaron Turon, Lars Birkedal, and Derek Dreyer. 2015. Iris: Monoids and invariants as an orthogonal basis for concurrent reasoning. In Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 2015, Mumbai, India, January 15–17, 2015. Sriram K. Rajamani and David Walker, (Eds.) ACM, 637–650. doi:10.1145/2676726.2676980.DOI
  41. [41]Eduard Kamburjan. 2019. Behavioral program logic. In TABL EAU X 2019 (LNCS). Serenella Cerrito and Andrei Popescu, (Eds.) Vol. 11714. Springer, 391–408. doi:10.1007/978-3-030-29026-9_22.DOI
  42. [42]Steve Klabnik, Carol Nichols, and Chris Krycho. 2026. The Rust Programming Language. (3rd ed.). No Starch Press, San Francisco, CA, (Mar. 2026). Retrieved July 23, 2026 from https://doc.rust-lang.org/stable/book/.
  43. [43]Andrea Lattuada, Travis Hance, Chanhee Cho, Matthias Brun, Isitha Subasinghe, Yi Zhou, Jon Howell, Bryan Parno, and Chris Hawblitzel. 2023. Verus: Verifying Rust programs using linear ghost types. Proc. ACM Program. Lang., 7, 286–315, OOPSLA1. doi:10.1145/3586037.DOI
  44. [44]Hongyu Li, Liwei Guo, Yexuan Yang, Shangguang Wang, and Mengwei Xu. 2024. An empirical study of Rust-for-Linux: The success, dissatisfaction, and compromise. In USENIX ATC 2024 Proceedings. Saurabh Bagchi and Yiying Zhang, (Eds.) USENIX Association, 425–443. https://www.usenix.org/conference/atc24/presentation/li-hongyu.
  45. [45]Niko Matsakis. 2018. An alias-based formulation of the borrow checker. (Apr. 27, 2018). Retrieved July 23, 2026 from https://smallcultfollowing.com/babysteps/blog/2018/04/27/an-alias-based-formulation-of-the-borrow-checker/.
  46. [46]Niko Matsakis. 2023. Polonius revisited, part 2: baby steps. (Sept. 29, 2023). Retrieved July 23, 2026 from https://smallcultfollowing.com/babysteps/blog/2023/09/29/polonius-part-2/.
  47. [47]Niko Matsakis. 2023. Polonius revisited, part 1: baby steps. (Sept. 22, 2023). Retrieved July 23, 2026 from https://smallcultfollowing.com/babysteps/blog/2023/09/22/polonius-part-1/.
  48. [48]Yusuke Matsushita, Xavier Denis, Jacques-Henri Jourdan, and Derek Dreyer. 2022. RustHornBelt: A semantic foundation for functional verification of Rust programs with unsafe code. In PLDI ’22: 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation. San Diego, CA, USA, June 13 - 17, 2022. Ranjit Jhala and Isil Dillig, (Eds.) ACM, 841–856. doi:10.1145/3519939.3523704.DOI
  49. [49]Yasuhiko Minamide. 1998. A functional representation of data structures with a hole. In Proc. of the 25th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL ’98). ACM, San Diego, California, USA, 75–84. doi:10.1145/268946.268953.DOI
  50. [50]Peter D Mosses. 2004. Modular structural operational semantics. The Journal of Logic and Algebraic Programming. Structural Operational Semantics 60–61, (July 1, 2004), 195–228. doi:10.1016/j.jlap.2004.03.008.DOI
  51. [51]Peter Müller, Malte Schwerhoff, and Alexander J. Summers. 2016. Viper: A verification infrastructure for permission-based reasoning. In Verification, Model Checking, and Abstract Interpretation. Barbara Jobstmann and K. Rustan M. Leino, (Eds.) Springer Berlin Heidelberg, Berlin, Heidelberg, 41–62. ISBN: 978-3-662-49122-5. doi:10.1007/978-3-662-49122-5_2.DOI
  52. [52]David J. Pearce. 2021. A lightweight formalism for reference lifetimes and borrowing in Rust. ACM Trans. Program. Lang. Syst., 43, 1, (Apr. 17, 2021), 3:1–3:73. doi:10.1145/3443420.DOI
  53. [53]Vaughan R Pratt. 1976. Semantical considerations on Floyd-Hoare logic. In 17th Annual Symposium on Foundations of Computer Science, Houston, TX, USA. IEEE, Los Alamitos, CA, 109–121. doi:10.1109/SFCS.1976.27.
  54. [54]Rémy Rakic and Niko Matsakis. 2023. Polonius update. Inside Rust Blog. (Oct. 6, 2023). Retrieved July 23, 2026 from https://blog.rust-lang.org/inside-rust/2023/10/06/polonius-update/.
  55. [55]Tobias Reinhold. 2024. Formal Semantics for Smart Contracts. BA thesis. Technical University of Darmstadt, Department of Computer Science, Darmstadt, Germany, (Dec. 11, 2024). 68 pp.
  56. [56]Rust Community. 2026. Rust Compiler Development Guide. Retrieved July 23, 2026 from https://rustc-dev-guide.rust-lang.org/.
  57. [57]Rust Community. 2026. The Rust Reference. Reference. Rust Foundation. Retrieved July 23, 2026 from https://doc.rust-lang.org/stable/reference/introduction.html.
  58. [58][SW] Marco Scaletta. Key4CATS: A Deductive Verification Tool for Context-Aware Trace Contracts. June 2026. Zenodo. doi:10.5281/zenodo.20762522.
  59. [59]Marco Scaletta. 2026. Modular Specification and Verification of Concurrent Programs with Context-Aware Trace Contracts. Ph.D. Dissertation. Technical University of Darmstadt, Department of Computer Science. doi:10.26083/tuprints-805276.DOI
  60. [60][SW] smol Developers, smol version 2.0.2, Sept. 7, 2024. URL: https://docs.rs/smol/2.0.2/smol/ Retrieved Aug. 22, 2026 from.
  61. [61]Dominic Steinhöfel and Nathan Wasser. 2017. A new invariant rule for the analysis of loops with non-standard control flows. In iFM 2017 Proceedings (LNCS) number 10510. Nadia Polikarpova and Steve A. Schneider, (Eds.) Springer, 279–294. doi:10.1007/978-3-319-66845-1_18.
  62. [62]Silvia Lizeth Tapia Tovar. 2022. Locally abstract globally concrete semantics of time and resource aware active objects. In The Logic of Software. A Tasting Menu of Formal Methods – Essays Dedicated to Reiner Hähnle on the Occasion of His 60th Birthday (LNCS) number 13360. Wolfgang Ahrendt, Bernhard Beckert, Richard Bubel, and Einar Broch Johnsen, (Eds.) Springer, 481–499. doi:10.1007/978-3-031-08166-8_23.
  63. [63]The Ferrocene developers and The Rust project contributors. 2026. Ferrocene Language Specification. Reference. Rust Foundation. Retrieved July 23, 2026 from https://rust-lang.github.io/fls.
  64. [64][SW] Tokio Developers, Tokio version 1.53.1, July 20, 2026. URL: https://crates.io/crates/tokio.
  65. [65]Tokio Developers. 2026. tokio::runtime – Documentation. (July 20, 2026). Retrieved July 23, 2026 from https://docs.rs/tokio/1.53.1/tokio/runtime/index.html#detailed-runtime-behavior.
  66. [66]Neven Villani, Johannes Hostert, Derek Dreyer, and Ralf Jung. 2025. Tree borrows. Proc. ACM Program. Lang., 9, (June 13, 2025), 188:1019–188:1042, PLDI, (June 13, 2025). doi:10.1145/3735592.DOI
  67. [67]Philip Wadler. 2018. Programming language foundations in Agda. In Formal Methods: Foundations and Applications (LNCS) number 11254. Tiago Massoni and Mohammad Reza Mousavi, (Eds.) Springer, Cham, 56–73. doi:10.1007/978-3-030-03044-5_5.

Paper details

vlnc:W_2ezpzeuk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents