Dual: Auditing a Self-Hosting Systems Language and Its Reversible Circuits
Dual is a statically typed, self-hosting language for deterministic computation and reversible circuits over fixed-width words. We ask which properties a recipient can check at the boundary between a source program and a delivered artifact. Across two isolated builds, three successive compiler generations agreed on all 109 compiler packets and produced identical downstream exports of 252 files per generation. For AES-128, the public F and OpenQASM representations of a full XOR oracle agree on every wire operand in a sequence of 483,112 gates. A separate functional test checked both directions on 1,026 inputs. A repeated Goldilocks field computation crossed 110 circuit segments and resumed in a second process, with measured peak resident sizes of 80.1MiB for export and 23.4MiB for execution. At the application boundary, a lossless streaming codec restored every frame in clean 4K trials and retained the previous output after an injected fault. Its measured endpoint latencies exceeded the frame budget for 60-Hz operation. These results identify which guarantees follow from the public contracts, which can be established by artifact comparison, and which depend on the input and measurement conditions.
Authors
- Vladislav Shepilov
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24758285
- Primary Topic
- Logic, programming, and type systems
- Type
- preprint