gpojani

Transmission № 0032 minsigil · rule 137

Rule 137: eight bits that compute everything

The emblem of this site is a mirror image of Rule 110, and Rule 110 is a universal computer.

REundecidable

Take a row of cells, each black or white. To get the next row, each cell looks at itself and its two neighbours: three bits, so eight possible neighbourhoods. A rule says what each of the eight becomes. Eight answers of one bit each make one byte, so there are exactly 256 rules. Stephen Wolfram numbered them by reading the eight answers as a binary number.

Here is Rule 137:

neighbourhood111110101100011010001000
becomes10001001

Read the bottom row as binary: 10001001 = 137. That’s the whole rule. Here it is running from a single cell. Change the number to try any of the other 255 rules:

The mirror

Now swap black and white everywhere: in the input, and in the output. You get a different rule, 01101110, which is Rule 110. In symbols, if f110f_{110} is Rule 110’s update and a bar means complement,

f137(p,q,r)  =  f110(pˉ,qˉ,rˉ)‾.f_{137}(p, q, r) \;=\; \overline{f_{110}(\bar p, \bar q, \bar r)}.

The two rules describe the same universe with the colours swapped. Compare Rule 110 from random noise with Rule 137 above:

Rule 110 itself fits in one line of Boolean logic, where p,q,rp, q, r are left, centre and right:

q′=(q⊕r) ∨ (q∧¬p).q' = (q \oplus r) \,\lor\, (q \land \lnot p).

The shock

In the 1980s Wolfram sorted elementary automata into four behavioural classes: die out, repeat, turn to noise, or something else. That last class, Class IV, makes long-lived structures that move and collide. Rule 110 was its poster child, and he conjectured it could compute.

Matthew Cook proved it, and the proof was published in 2004. Gliders drifting through Rule 110’s periodic background can be arranged to emulate a cyclic tag system, and cyclic tag systems can emulate any Turing machine. So an eight-bit rule table, applied to an infinite row of bits, can in principle run any program you can write.

Since Rule 137 is the same system in a mirror, it inherits all of that.

Why the class is RE

Once a system is universal, questions about its long-term behaviour become as hard as the halting problem. “Will this pattern ever die out?” “Will this cell ever turn black?” In general, no algorithm can answer those for Rule 137. You can run it and watch, and if the answer is yes you’ll eventually see it. If the answer is no, you may wait forever. That’s the recursively enumerable class, and that’s why this post is filed under RE.

The sigil at the top of this page is Rule 137 running from a seed derived from this title. It’s in the header too, next to the site’s name, running continuously.


Further reading: Matthew Cook, “Universality in Elementary Cellular Automata,” Complex Systems 15 (2004).

Related transmissions

Cite this transmission

BibTeX

@misc{pojani2026rule,
  author       = {Pojani, Gianni},
  title        = {{Rule 137: eight bits that compute everything}},
  year         = {2026},
  month        = {sep},
  howpublished = {\url{https://gpojani.me/posts/rule-137/}},
  note         = {gpojani, Transmission no. 003}
}

APA

Pojani, G. (2026, September 25). Rule 137: eight bits that compute everything. gpojani. https://gpojani.me/posts/rule-137/

Filed under RE: Semi-decidable at best. Speculation, alien technology, questions that may never halt.

Discussion

replies are stored as GitHub Discussions · sign in with GitHub to post

establishing link…

esc

↑↓ move · ↵ open~ terminal · ? shortcuts

gsh — gianni@gpojani

manual · keyboard

Shortcuts

/ ⌘K
search & jump
~
terminal
C
live channel (chat)
J K
next / previous transmission
G then HZLAN
home · zoo · lab · atlas · network
?
this sheet
P
pause / run the colony
R
reseed
1–4
Conway · HighLife · Day & Night · Anneal
M
listen to the colony
click · shift-click · drag
glider · glider gun · paint
↑↑↓↓←→←→BA
first contact