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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Dual: Auditing a Self-Hosting Systems Language and Its Reversible Circuits

Vladislav Shepilov
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
preprint

Dual: Auditing a Self-Hosting Systems Language and Its Reversible Circuits

Vladislav Shepilov
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
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