Substrate bench

generated 2026-09-06 19:04 UTC · revision f15ede4 (working tree had uncommitted changes) · assembled by scripts/render_bench.py · substrate scripts/bench/lattice.js sha256:0569d1d0d56a · rng scripts/bench/pyrandom.js sha256:9a8cd0eb7d54

Current state — every site right now, click to select

site 0site
Operations charged
0
rule evaluations billed to the system, reads included
Steps taken
0
one step is one interaction
Inversions
0
pairs anywhere on the line in the wrong order
Local disorder
0
adjacent pairs in the wrong order
Analyst's declared target
—
imposed from outside; the system holds no goal
Run status
idle
what the loop is doing right now
What am I looking at? — the idea, and how to read every mark on this page

What you are looking at. A lattice is a line of sites. Each site is empty or holds one entity. An entity carries an identity, a rule it follows, and any defects it has; when it moves, all three move with it. Nothing in the lattice knows what the system is for. There is no goal variable, no target, no fitness, no plan — only entities, their local rules, and a schedule saying who acts next.

Why that matters. Order can still appear. Run the sorting system and the line arranges itself into ascending order, even though no entity can see the line and nothing is coordinating them. Everything you might call the system's purpose is something you impose from outside, by measuring. That is the whole point of this laboratory: if a goal were stored inside the machine, discovering it would be reading a label rather than doing science.

What the bench is for. Configure a system, run it, damage it while it runs, and watch what happens next. Then do the scientifically hard thing: take a snapshot, run one way, restore, run a different way, and compare the two arms that started from the identical state. Two runs from states that merely look similar differ by noise as well as by what you did; two runs from the same snapshot differ only by what you did.

Legend — what everything on this page means

A row
One recorded sample of the whole lattice: the contents of every site at one moment. The current-state row at the top of the bench is the live one, drawn large; the space-time diagram below is a stack of past rows.
A column
One site — a fixed position on the line. Site 0 is at the left. Entities move between sites; sites do not move.
Downward
Time. The diagram grows downward as the run proceeds. When the recording outgrows the diagram, every other row is dropped and the number of steps each row represents doubles, so the whole run always stays in view. Each diagram prints its current steps-per-row underneath.
Colour (sorting)
The entity's identity, which is also its sort value. Low values are blue, high values are magenta: lowest valuehighest value A fully sorted line is one smooth left-to-right sweep. A jumbled one is speckle.
Colour (cellular automaton)
Cell state only: dark is 1, pale is 0. Cells here never move, which is the special case a classic cellular automaton occupies inside this more general substrate.
An operation
One rule evaluation, charged to the system that asked for it. Looking costs the same as acting: a coordinator that scans the line without changing anything still pays for every site it reads. This is the single currency that makes “robustness is bought, not free” a measurement rather than an opinion.
Inversions
The number of pairs of entities anywhere on the line that are in the wrong order relative to each other. Zero means fully sorted.
Local disorder
The number of adjacent pairs in the wrong order. This is what a purely local observer could count; it can reach zero only when inversions do.
The narrow band beside each diagram
The tracked measurement over the same downward time axis, growing rightward: inversions for sorting, live-cell count for the cellular automaton. A wide band is a disordered line.
Red horizontal line, red arrow
An intervention you injected, drawn at the row where it happened, so recovery afterwards is visible as a shape rather than a claim.
Grey dashed line
The row a counterfactual arm branched from. Everything above it is shared history, copied from the parent arm; everything below it is this arm's own.
Red bar across an entity
A contrarian: an entity running the opposite rule. Ordinary entities want the larger of a pair on the right; contrarians want it on the left.
Hatching / × / dotted underline
Defects. Hatched is frozen (never acts on its own initiative, but can still be acted upon). Crossed out is dead (blocks any interaction touching it, including one it did not start). Dotted underline is unreliable (acts, but fails with a set probability).