Field card

File: busy-beaver.html Pattern: emergence in time — a dumb local rule (read a cell, write, move, change state) producing global behaviour no glance at the rules could predict. The Truchet studies show a local rule making spatial structure; this shows one making a runtime you can't foresee, and a function that climbs out of reach of computation entirely. Companions: the Truchet series (truchet-loops.html … truchet-grains.html) for the same "no tile/rule knows the whole" theme; built from the Busy Beavers TIL stub.

The brief that produced it

Take the Busy Beaver idea — the n-state Turing machine that runs the most steps before halting — and make it a studio study. One idea: a program you can read in a glance can run absurdly long, and then the growth falls off a cliff no program can compute. Show the program as a tiny Byrne grid and the tape running beside it; let the reader play, step, and scrub to watch it halt where nothing in the rules said it would. Four honest colours; the numbers must be real.

Source of truth

  • The champion transition tables for 2, 3, and 4 states — the machines that run the longest before halting. These were not trusted from memory: a brute-force search + simulator confirmed each reproduces the known Busy Beaver step counts S(n) = 6, 21, 107 exactly (and the in-browser simulation halts at the same counts — 6/21/107 steps, 4/4/13 ones).

  • The cliff figure S(5) = 47,176,870 (proven 2024, Coq-verified by the bbchallenge project) is shown but not animated — 47 million frames. S(6) is stated only as "unknown, astronomically large", because that is the honest state of knowledge (its lower bounds are towers of exponentials).

Honesty check (why the numbers are safe)

The studio forbids a guessed quantity. My first 3-state table looked right but the simulator caught it: it halted in 14 steps, not 21 — it was a 6-ones machine, not the step-champion. A normalised brute force (A0=1RB fixed) over all 3-state machines found the true step-champion at 21 steps, which prints only 4 ones. That is itself the honest wrinkle the card keeps: the longest-running machine is not the one that prints the most — the step champion and the ones champion are different machines (Σ(3)=6). The cliff row therefore labels itself "steps the champion runs", not "ones".

Design choices worth keeping

  • The program is a Byrne grid, the tape is the figure. The whole "code" is a 2–4 row table of state × symbol-read; each cell shows write / move / next, the firing rule lit yellow, a HALT rule in red. Colour is state: a 1 on the tape is a solid blue square, 0 is bare paper, black key-lines between, the head yellow. Nothing coloured for decoration.

  • Scrub to feel the unpredictability. Play, single-step, or drag the scrubber; the readout names the rule about to fire so you see the local cause, while the halt time stays globally surprising.

  • The cliff carries the punchline without a dishonest chart. 6, 21, 107 you can watch; 47,176,870 you cannot; S(6) you cannot even know. Shown as a plain data strip — no bar chart could hold both 6 and 47 million, so it doesn't pretend to.

  • Accessible by construction: an sr-only telling of the machine and the lesson; keyboard parity (space plays/pauses, arrows step, R resets); meaning survives without colour (the readout states the halt in words).

  • Thread-back: "why can no program compute these numbers?" opens the uncomputability story — the reduction to the halting problem, and why S(n) outgrows every computable function.

What it teaches the studio

Emergence isn't only spatial. The Truchet plates make the case in space — a local arc rule, a global loop nobody placed. This makes the same case in time: a five-line rule, a runtime nobody could read off it, and — one step further than Truchet goes — a quantity that is provably uncomputable. And it is the cleanest demonstration yet of the studio's load-bearing ethic: verify the mechanic before the clever framing. The framing here ("tiny program, vast run") only survives because the simulator first caught a wrong table and a brute force found the right one.