RV32I in ACL2
Carl Kwan · 2025
Read RV32I in ACL2 by Carl Kwan (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-19009.txt.
Description
Carl Kwan builds a verified simulator for the RISC-V base instruction set in a theorem prover, in work from 2025. Hardware models must be provably right, or chips built on them inherit silent errors. The ACL2 prover is a strict home for such models.
The simulator follows the operational style, stepping a single-threaded state object. Core theorems cover reading after writing and state well-formedness. Decoding functions sit apart from their semantic partners, unlike many models. Encoding and decoding are verified for every base instruction. Those proofs run entirely automatically, a notable convenience. The clean split eases reuse in larger hardware verification projects.
Catalog record
| CREATOR | Carl Kwan |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 13 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2507-19009