Arrayset Revisited

Rust has gained significant popularity as a modern, type-safe, memory-safe, and formally analyzable programming language. We also see potential for Rust as a High-Level Synthesis (HLS) language, providing hardware/software co-assurance for critical systems, and have crafted a Rust subset for this purpose inspired by Russinoff's Restricted Algorithmic C (RAC), a language we have imaginatively named Restricted Algorithmic Rust (RAR). In this paper, we revisit an array-backed set (technically, a multiset) data structure, suitable for hardware implementation and previously implemented using a number of formal and semi-formal tools. We describe a revised implementation of the RAR arrayset, which has allowed us to prove full functional correctness for arbitrary-sized backing arrays in ACL2. We compare and contrast the ACL2 formalization to that accomplished in Verus, an SMT-based verification tool employing requires/ensures annotations. Verus is used in various development efforts at Amazon Web Services, and has been integrated into the INSPECTA Model-Based Systems Engineering toolchain for the DARPA PROVERS program. On the PROVERS effort, we have adopted a hybrid approach, in which Verus establishes basic correctness properties, and an interactive theorem prover such as ACL2 is employed as needed to discharge more difficult theorems. We also report on progress toward hardware synthesis capability for the INSPECTA toolchain, allowing engineers to allocate verified system functionality to either hardware or software, and to revisit those allocations as differing product variants are developed from the same basic system model.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2026-12-02
DOI
https://doi.org/10.4204/eptcs.459.7
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Arrayset Revisited

David Hardin
Electronic Proceedings in Theoretical Computer Science
Logic, programming, and type systems
article

Arrayset Revisited

David Hardin
article en

Abstract

Rust has gained significant popularity as a modern, type-safe, memory-safe, and formally analyzable programming language. We also see potential for Rust as a High-Level Synthesis (HLS) language, providing hardware/software co-assurance for critical systems, and have crafted a Rust subset for this purpose inspired by Russinoff's Restricted Algorithmic C (RAC), a language we have imaginatively named Restricted Algorithmic Rust (RAR). In this paper, we revisit an array-backed set (technically, a multiset) data structure, suitable for hardware implementation and previously implemented using a number of formal and semi-formal tools. We describe a revised implementation of the RAR arrayset, which has allowed us to prove full functional correctness for arbitrary-sized backing arrays in ACL2. We compare and contrast the ACL2 formalization to that accomplished in Verus, an SMT-based verification tool employing requires/ensures annotations. Verus is used in various development efforts at Amazon Web Services, and has been integrated into the INSPECTA Model-Based Systems Engineering toolchain for the DARPA PROVERS program. On the PROVERS effort, we have adopted a hybrid approach, in which Verus establishes basic correctness properties, and an interactive theorem prover such as ACL2 is employed as needed to discharge more difficult theorems. We also report on progress toward hardware synthesis capability for the INSPECTA toolchain, allowing engineers to allocate verified system functionality to either hardware or software, and to revisit those allocations as differing product variants are developed from the same basic system model.

Electronic Proceedings in Theoretical Computer ScienceVol. 459
Collins Aerospace (United States) (US)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon