blob: b09297aa0c5f5ad1fa5d155c3044001989a7d5aa [file] [view]
<!-- Copyright 2026 The Fuchsia Authors
Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
<LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
This file may not be copied, modified, or distributed except according to
those terms. -->
<!-- Maintenance rubric:
- Credit external papers, tools, libraries, or datasets in the same PR whenever
they offered substantial, distinctive help to Anneal.
- Name the creators, link the canonical upstream work, and state what it
contributed to Anneal.
- Wrap prose at <= 80 columns and keep reference link definitions at the bottom.
- This file is rendered directly to the hosted `/acknowledgments/` page by
`ci/build_site.py`:
- Avoid GFM `$...$` math (use Unicode such as `𝔽₂` instead).
- Avoid Tera template delimiters (`{{`, `{%`, `{#`, including Zola
`{#custom-id}` heading anchors); `ci/build_site.py` rejects them.
- Committed third-party source trees and bundled static assets must also carry
a dedicated `### ` section in `THIRD_PARTY_NOTICES.md`. -->
# Acknowledgments
Anneal builds on decades of work and research in formal verification and the
study of programming languages, among other fields. It is only possible thanks
to the work of countless researchers and software engineers. Some of the most
significant influences are listed here, grouped by area; this list is far from
exhaustive.
## Rust Verification, Program Logics, and Translation
- Son Ho and Jonathan Protzenko's [Aeneas] inspired PureLift's translation of
Rust borrows and updates into pure computations. Early Anneal used Aeneas to
translate Rust into Lean and [Charon] to extract Rust programs for analysis.
Charon is by Son Ho, Guillaume Boisseau, Lucas Franceschino, Yoann Prak,
Aymeric Fromherz, and Jonathan Protzenko. Son Ho, Aymeric Fromherz, and
Jonathan Protzenko's [work on symbolic borrow checking][symbolic-borrows]
informed Anneal's study of the semantics behind this translation. Johannes
Hostert's [Aeneas layout model][aeneas-layouts] informed `SpatialMem`'s
byte-level aggregate codecs.
- PureLift uses lawful bidirectional lenses. J. Nathan Foster, Michael B.
Greenwald, Jonathan T. Moore, Benjamin C. Pierce, and Alan Schmitt developed
these foundations in [Combinators for Bidirectional Tree
Transformations][tree-lenses].
- Anneal's proof-lifting experiments drew on Magnus O. Myreen, Michael J. C.
Gordon, and Konrad Slind's [decompilation into logic][decompilation] to
reason about one basic block at a time. [Tree Borrows][tree-borrows] by Neven
Villani, Johannes Hostert, Derek Dreyer, and Ralf Jung guided experiments on
how to account for mutable borrow permissions. [Gillian-Rust] by Sacha-Élie
Ayoun, Xavier Denis, Petar Maksimović, and Philippa Gardner, [CN] by
Christopher Pulte, Dhruv C. Makwana, Thomas Sewell, Kayvan Memarian, Peter
Sewell, and Neel Krishnaswami, and [Fulminate] by Rini Banerjee, Kayvan
Memarian, Dhruv Makwana, Christopher Pulte, Neel Krishnaswami, and Peter
Sewell informed `SpatialMem`'s hybrid pure-and-byte pinning and padding
representation.
- Google DeepMind's [`code-verification`][code-verification] (`ProofLib`,
Apache-2.0) inspired Anneal's balanced Braun-tree separation-logic AC
reflection (`Anneal.Core.SepPCM`) and sparse linear bitvector offset
normalizer (`Anneal.PureLift.BvLin`).
- Michael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian, Derek
Dreyer, and Deepak Garg's [RefinedC][refinedc] and its Lithium
separation-logic engine inspired `Anneal.SepAC.RangeSpan`'s deterministic
non-backtracking `PTree.diffWith` framing rules.
## Rust Semantics, Operational Models, and Toolchains
- Anneal's MIR correspondence proofs use a pinned, patched copy of [lean-miri].
Yuichi Nishiwaki's port builds on the Rust compiler's MIR interpreter and the
work of the [Miri developers and contributors][Miri]. Ralf Jung's [MiniRust]
and the Rust Unsafe Code Guidelines contributors' [discussion of moved
values][ucg-moves] helped inform Anneal's treatment of moves, and a pinned
snapshot of the [MiniRust] specification (`vendor/minirust/`) anchors Anneal's
secondary operational correspondence proofs (`Anneal.MiniRustProof`). Xavier
Leroy and the [CompCert] contributors' work on simulation proofs provided a
comparison for how Anneal relates its model to its reference semantics.
- [Lean 4], by Leonardo de Moura, Sebastian Ullrich, and the Lean contributors,
checks Anneal's proofs. Lean's [declaration replay][lean-replay],
[environment importer][lean-env], compiler-attribute handling, and kernel
reduction behavior guided Anneal's auditor and PureLift's combinators.
- The Rust contributors' [compiler source][rustc] (including
[`rustc_const_eval`][rustc-const-eval] and [a padding-clearing
issue][rust-148470]) and [Rust Reference] guided Anneal's MIR capture and
model of Rust behavior. The earlier memory model also drew on the [standard
library documentation][rust-std].
- The [`rustc_apfloat`][rustc-apfloat] contributors and Rust [RFC 3514
(`float_semantics`)][rfc-3514] contributors informed Anneal's IEEE 754-2008
floating-point formalization (`Anneal.Float.SoftFloat` and
`Anneal.Float.IeeeCast`), alongside classical Jury–Stein–Lyapunov and
Sterbenz stability certificates (`Anneal.Float.JuryStein`).
- The LLVM and Clang contributors' [language reference][llvm-linkage] guided
Anneal's treatment of Rust's linkage attributes, and Clang's
[LibTooling][clang-libtooling] and `clang::Sema` frontend power Anneal's C11
and C++20 lowering and AST capture tools (`tools/anneal-clang-dump/` and
`tools/anneal-cpp/`).
## Proof Checking, Decision Procedures, and Optimization
- Independent external Lean 4 proof checkers and export tooling power Anneal's
multi-kernel replay and comparator architecture: Joachim Breitner and the
Lean FRO's [`con-ron`][con-ron] and [`con-leche`][con-leche], Chris Bailey's
(`ammkrn`) [`nanoda_lib`][nanoda-lib], Mario Carneiro's (`digama0`)
[`lean4lean`][lean4lean], and the Lean FRO's [`lean4export`][lean4export] (by
Joachim Breitner, Kim Morrison, Sebastian Ullrich, Chris Bailey, and
contributors).
- Andrew W. Appel and Xavier Leroy's [canonical positive radix
tries][appel-leroy-ptree] (from CompCert's `Maps.PTree`) informed Anneal's
extensional positive radix trie library (`Anneal.PTree`).
- LuĂ­s Cruz-Filipe, Marijn J. H. Heule, Warren A. Hunt Jr., Matt Kaufmann, and
Peter Schneider-Kamp's [LRAT propositional proof certificates][lrat-paper]
informed Anneal's kernel-checked propositional proof checker
(`Anneal.BitTrieLrat`).
- Li-yao Xia, Yannick Zakowski, Paul He, Chung-Kil Hur, Gregory Malecha,
Benjamin C. Pierce, and Steve Zdancewic's [Interaction Trees][itree-paper]
informed Anneal's trace-based differential comparator (`tests/itree_diff`).
- Ross Tate, Michael Stepp, Zachary Tatlock, and Sorin Lerner's [equality
saturation][eqsat-paper], Max Willsey, Chandrakana Nandi, Yichen Wang,
Olivier FlĂĽckiger, and Zachary Tatlock's [`egg`][egg-paper], and Nuno P.
Lopes, Juneyoung Lee, Chung-Kil Hur, Zhengyang Liu, and John Regehr's
[Alive2][alive2-paper] (`poison` and `freeze` refinement semantics) informed
Anneal's congruence-DAG rewrite rules and optimization refinement proofs
(`Anneal.Backend`).
- Anneal's tristate-number (`tnum`) bitwise and carry-propagation transfer
functions adapt the `tnum` abstract domain formalized by Harishankar
Vishwanathan, Matan Shachnai, Srinivas Narayana, and Santosh Nagarakatte in
[Sound, Precise, and Fast Abstract Interpretation with Tristate
Numbers][tnum-paper] and used in the Linux kernel's eBPF verifier. Anneal's
reduced-product MIR abstract-interpretation checker (`Anneal.AiPcc`) combines
`tnum` with [wrapped intervals][wrapped-intervals] by Jorge A. Navas, Peter
Schachte, Harald Søndergaard, and Peter J. Stuckey, [arithmetical
congruences][congruences] by Philippe Granger, and single-pass cutpoint
post-fixpoint checking following François Bourdoncle's [weak topological
orderings][bourdoncle-wto].
- Anneal's 𝔽₂-linear and 𝔽₂-bilinear SIMD and carryless-multiply certificate
evaluators draw on Shay Gueron and Michael E. Kounavis's [carryless
polynomial multiplication and reduction][clmul-gcm] and Wojciech Muła, Nathan
Kurz, and Daniel Lemire's [split-nibble SIMD table lookups][mula-simd].
## Sandboxing and Isolation
- Anneal's elaborator sandbox builds on [Bubblewrap], by Alexander Larsson,
Colin Walters, and the Bubblewrap contributors, on Linux's [Landlock]
security module, by Mickaël Salaün and the Linux kernel contributors, and on
Linux's [seccomp-BPF] syscall filter, by Will Drewry and the Linux kernel
contributors.
## First Customers, Benchmarks, and Ecosystem Context
- The [`google/zerocopy`][zerocopy] contributors incubated Anneal and provide
its primary first-customer verification targets and dogfood corpus.
- The [Fuchsia] and [Starnix eBPF][starnix-ebpf] contributors' production Rust
crates and build integration shaped Anneal's out-of-tree verification
interface and end-to-end verification tests.
- Early design work drew on [research into security risks in
Rust][rust-security] by Xiaoye Zheng, Zhiyuan Wan, Yun Zhang, Rui Chang, and
David Lo. Lars Bergstrom's [Rust Nation UK talk][rust-nation], Jeff Vander
Stoep's [Android delivery data][android-rust], and Hongliang Tian's [account
of the Asterinas kernel][asterinas] gave the early design concrete examples
of Rust development and the work involved in writing unsafe code.
For license and provenance notices covering committed third-party source trees
and bundled static assets, see
[`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md).
[Aeneas]: https://arxiv.org/abs/2206.07185
[Charon]: https://link.springer.com/chapter/10.1007/978-3-031-98685-7_18
[symbolic-borrows]: https://arxiv.org/abs/2404.02680
[aeneas-layouts]: https://github.com/AeneasVerif/aeneas/pull/1447
[tree-lenses]: https://doi.org/10.1145/1232420.1232424
[tnum-paper]: https://arxiv.org/abs/2105.05398
[wrapped-intervals]: https://doi.org/10.1007/978-3-642-35182-2_9
[congruences]: https://doi.org/10.1080/00207168908803778
[bourdoncle-wto]: https://doi.org/10.1007/BFb0039704
[clmul-gcm]: https://doi.org/10.1016/j.ipl.2010.04.011
[mula-simd]: https://doi.org/10.1093/comjnl/bxx046
[decompilation]: https://www.cl.cam.ac.uk/~mom22/decompilation/fmcad12.pdf
[tree-borrows]: https://iris-project.org/pdfs/2025-pldi-treeborrows.pdf
[Gillian-Rust]: https://doi.org/10.1145/3729289
[CN]: https://doi.org/10.1145/3571194
[Fulminate]: https://doi.org/10.1145/3704879
[lean-miri]: https://github.com/proofs-rs/lean-miri
[Miri]: https://github.com/rust-lang/miri
[MiniRust]: https://github.com/minirust/minirust
[ucg-moves]: https://github.com/rust-lang/unsafe-code-guidelines/issues/188
[CompCert]: https://compcert.org/
[Lean 4]: https://lean-lang.org/papers/lean4.pdf
[lean-replay]: https://github.com/leanprover/lean4/blob/5045d0056413266e57c625dcd7c365b10e377c52/src/Lean/Replay.lean
[lean-env]: https://github.com/leanprover/lean4/blob/5045d0056413266e57c625dcd7c365b10e377c52/src/Lean/Environment.lean
[Bubblewrap]: https://github.com/containers/bubblewrap
[Landlock]: https://docs.kernel.org/userspace-api/landlock.html
[seccomp-BPF]: https://docs.kernel.org/userspace-api/seccomp_filter.html
[rustc]: https://github.com/rust-lang/rust/tree/main/compiler
[rustc-const-eval]: https://github.com/rust-lang/rust/tree/main/compiler/rustc_const_eval/src/interpret
[rust-148470]: https://github.com/rust-lang/rust/issues/148470
[Rust Reference]: https://doc.rust-lang.org/reference/
[rust-std]: https://doc.rust-lang.org/std/
[rustc-apfloat]: https://github.com/rust-lang/rustc_apfloat
[rfc-3514]: https://github.com/rust-lang/rfcs/blob/master/text/3514-float-semantics.md
[llvm-linkage]: https://llvm.org/docs/LangRef.html#linkage-types
[clang-libtooling]: https://clang.llvm.org/docs/LibTooling.html
[con-ron]: https://github.com/leanprover/con-ron
[con-leche]: https://github.com/leanprover/con-leche
[nanoda-lib]: https://github.com/ammkrn/nanoda_lib
[lean4lean]: https://github.com/digama0/lean4lean
[lean4export]: https://github.com/leanprover/lean4export
[appel-leroy-ptree]: https://doi.org/10.1007/s10817-022-09655-x
[lrat-paper]: https://doi.org/10.1007/978-3-319-63046-5_14
[itree-paper]: https://doi.org/10.1145/3371119
[eqsat-paper]: https://doi.org/10.1145/1480881.1480915
[egg-paper]: https://doi.org/10.1145/3434304
[alive2-paper]: https://doi.org/10.1145/3453483.3454030
[zerocopy]: https://github.com/google/zerocopy
[rust-security]: https://arxiv.org/abs/2308.15046
[rust-nation]: https://www.youtube.com/watch?v=QrrH2lcl9ew
[android-rust]: https://blog.google/security/rust-in-android-move-fast-fix-things/
[asterinas]: https://asterinas.github.io/2025/06/04/kernel-memory-safety-mission-accomplished.html
[Fuchsia]: https://fuchsia.dev/
[starnix-ebpf]: https://fuchsia.googlesource.com/fuchsia/+/823a15538f191b9dbd9ebafaa6ba23220b87d2e1/src/starnix/lib/ebpf/core/src
[code-verification]: https://github.com/google-deepmind/code-verification
[refinedc]: https://doi.org/10.1145/3453483.3454036