Unrolled

Proposition II

The ant of a word

Given any word, to make of its letters the rule of an ant upon a grid, and to show that the word alone decides the figure the ant draws.

Fig. 1.

Construction

Let the word be stripped to its letters, at most twelve, and let each letter stand for one shade, from the bare ground for the first letter to full ink for the last. Let every square of a grid 257 squares on a side begin in the first shade, and let an ant stand on the middle square facing up.

At each step the ant reads the shade of its square. If that shade’s letter is a vowel, it turns a quarter left; if a consonant, a quarter right. It then moves the square on to the next shade, the last shade returning to the first, and steps forward one square. The grid is closed on itself, so an ant that walks off one edge comes back on the opposite one. Let it take 400,000 steps. The figure shows the smallest square of grid that holds everything the ant has reached so far.

With the word la, a consonant and then a vowel, this is Langton’s ant;1 longer words give the many-coloured ants of Turk and Propp.2

Demonstration

The word fixes the number of shades and the turn for each. The ant’s first square, first heading and the blank grid are the same for every word. Each step depends only on the step before it. So there is one walk for each word, and nothing in it is drawn by lot.

Therefore whoever gives the same word sees the same figure, step for step; and two words with the same pattern of vowels and consonants, as cat and dog, draw the same figure, differing only in name.

Which was to be shown.

Corollaries

Exchange every vowel for a consonant and every consonant for a vowel, and every left turn becomes a right: the ant walks the same walk reflected left for right. So aunt draws tree reflected.

A word with no vowel turns right at every step and walks forever round one small square. Many words wander in a blot; some, after long wandering, settle into a straight road out, which on this closed grid comes back round and crosses its own trail. Even for Langton’s own ant, no one has proved that every start ends on the road.1 No shortcut is known for telling which word does which: the figure has to be drawn to be known, though it can only be drawn one way.

Notes

1. Christopher Langton, “Studying artificial life with cellular automata,” Physica D 22 (1986), 120–149. See “Langton’s ant,” Wikipedia.

2. The extension to many colours, each with its own turn, is credited to Greg Turk and Jim Propp in the same Wikipedia article.