SparkOS V1: A Bare-Metal Kernel for Byte-Exact Judgment

SparkOS V1 is a bare-metal AArch64 kernel written entirely in assembly, with no C runtime, no scheduler and no object model. It keeps one operation — comparing stored bytes for exact equality — and the structures that survived experiments around it: indexes, gaps, reversible negation, and a variable layer built by single-linkage clustering with a cut at the largest merge gap. Negation is reversible without counting: a negation is a claim with reasons, and when every reason has itself been negated the record returns to the affirmative side. Chains alternate by level; reasons that defeat each other are detected as a cycle and recorded as undecided rather than resolved. Clustering is ported without simplification — pairwise Euclidean distances, integer square root, insertion sort, single linkage, and a cut at the largest ratio between consecutive merge distances. Tests are not recorded, they are performed: a test routine sends commands through an actuator table and reads through a sensor table, then derives motion from the signed difference between consecutive frames. Seven assembly files, about 2,780 lines. The image boots on two QEMU profiles (virt and raspi3b) and prints six lines including the clustering result and the four measured properties. The code has never run on physical hardware, and the properties printed by the variable line describe the built-in pattern driver, not a world.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24775042
Primary Topic
Logic, programming, and type systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

SparkOS V1: A Bare-Metal Kernel for Byte-Exact Judgment

谷文堃
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
preprint

SparkOS V1: A Bare-Metal Kernel for Byte-Exact Judgment

谷文堃
preprint en

Abstract

SparkOS V1 is a bare-metal AArch64 kernel written entirely in assembly, with no C runtime, no scheduler and no object model. It keeps one operation — comparing stored bytes for exact equality — and the structures that survived experiments around it: indexes, gaps, reversible negation, and a variable layer built by single-linkage clustering with a cut at the largest merge gap. Negation is reversible without counting: a negation is a claim with reasons, and when every reason has itself been negated the record returns to the affirmative side. Chains alternate by level; reasons that defeat each other are detected as a cycle and recorded as undecided rather than resolved. Clustering is ported without simplification — pairwise Euclidean distances, integer square root, insertion sort, single linkage, and a cut at the largest ratio between consecutive merge distances. Tests are not recorded, they are performed: a test routine sends commands through an actuator table and reads through a sensor table, then derives motion from the signed difference between consecutive frames. Seven assembly files, about 2,780 lines. The image boots on two QEMU profiles (virt and raspi3b) and prints six lines including the clustering result and the four measured properties. The code has never run on physical hardware, and the properties printed by the variable line describe the built-in pattern driver, not a world.

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