Series

Machines — the series

7 essays on one idea, from the one that introduces it to the one that assumes the rest.
  1. Four rows of lamps and three winning cuts. A Nim board of four rows of up to seven lamps, lit 7, 5, 3 and 2, with each row's binary beside it. The columns add without carrying to 011, a nim-sum of 3; the three rows carrying the middle bit each have a winning cut, to 4, to 0 and to 1, and the lamps each cut would put out are shaded.

    A machine that knew one theorem

    In 1940 a machine of relays played Nim against the public at the New York World's Fair, on four rows of up to seven lamps, and is reported to have won about nine games in ten. Everything it knew was Bouton's theorem, which is three column parities and one test per row. The record is the interesting number, and it is a measurement of the visitors rather than of the machine: against a visitor choosing at random the machine wins 98.5 per cent, and nine in ten is what a visitor earns by playing perfectly once seven lamps or fewer are lit. On the board the game is usually set up on, a visitor handed the first move cannot win at all.

    part 1 · history
  2. A Hex board read as a circuit. A three-by-four Hex board with Down to move, one Down stone and two Across stones. Each empty cell carries a disc whose area is the current through it when both players' edges are held at a unit voltage; the busiest cell is the current rule's move. The three cells that actually win for Down are shaded, and the busiest cell is not among them.

    A current through the board

    In the early 1950s Shannon and Moore built a machine that played Hex by wiring the board as a network of resistors and reading its move off the electrical potential. There is no theorem behind that rule, and on every Hex board small enough to solve it can be scored against perfect play. On boards to twelve cells it takes a winning cell on more than 98 per cent of the positions where one exists, far above chance. And it loses: every board of three rows or more it has to defend, and four by four moving first, because an opponent needs only one of the two per cent and can steer the game to it.

    part 2 · history
  3. Twelve openings, four answers. A three-by-four Hex board. Each cell is labelled with the cell the current rule of Shannon and Moore's Hex machine takes for Down when Across has a single stone on it. The twelve answers are only four cells, shaded, each answering three openings.

    A circuit asked once

    The Hex machine's circuit rule loses every board past two rows that it has to defend, and the strategy that holds those boards is a pairing — a partner for every cell, fixed before the game begins. So make the circuit commit: consult it once per cell on an empty board and never again. Its table answers twelve openings with four cells, and loses every board the running circuit lost. Forced to choose a whole pairing, it picks a losing one under seven of eight ways of reading its scores; the eighth finds the winning pairing of three by four by a margin of rescaling and gives up two by four for it.

    part 3 · history
  4. One chain given up. Two pairings of the three-by-four Hex board. Left, the pairing the chain-sharing scores choose, with the one chain it misses shaded. Right, the diagonal pairing, which meets all 25 chains.

    A pairing is checked, not measured

    The Hex machine's circuit chose pairings near the winning ones and never at them, which left a finite question: does any score of a pair of cells, computed from the board alone, have a winning pairing as its best? The obvious scores count the chains a pair shares. All four hold two by three; on three by four the plain count cannot choose between a winning pairing and a losing one, and the corrected counts choose the loser; on four by five every one loses. The reason is arithmetic — a sum will give up one chain to cover two others twice. Told which chains it missed, the count finds the diagonal pairing at one rate in three, and by then it is checking, not measuring.

    part 4 · history
  5. One rate in twelve. The chain count reweighted by the chains it misses, at 12 rates from 1.1 to 3, on the Hex boards 2 × 3, 3 × 4 and 4 × 5. The small boards are held at every rate by the diagonal pairing; 4 × 5 is held only at × 1.5, round 46, and every other rate stalls with chains still missed.

    The weights were not the argument

    A chain count corrected by its own misses held the four-by-five Hex board with the diagonal pairing, the one pairing there with a sentence behind it, and the hope was that its weights were the sentence in numbers. They are not. One rate in twelve holds the board and one start in twenty; the weights it ends on survive five per cent of noise and not twenty; and weighting exactly the chains the argument relies on finds no winning pairing at all. Told which pairing to prefer, a measurement reaches any of the three in a dozen corrections. What chain weights can do is rule a pairing out, and on three by four they rule out one that wins.

    part 5 · history
  6. Every winner but one. A perceptron over chain weights taught to make each winning Hex pairing the heaviest, on boards 3 × 4 to 6 × 7. Every winner is reached in at most sixteen corrections except the cross pairing of 3 × 4, which another winning pairing covers on every chain.

    The teacher's game

    A machine that weighs Across's chains could be taught every winning Hex pairing on four by five, and on three by four it could never be taught the one pairing another winner covers chain by chain. Whether anything else could hide from it — a winner covered not by one rival but by a mixture of several — is a question about a game between a teacher choosing weights and a rival choosing pairings, and Jean Ville's 1938 theorem of the alternative, written for von Neumann's games, answers it in general. On five by six and six by seven every winner is taught in sixteen corrections or fewer, and nothing hides at all.

    part 6 · history
  7. Three winners, none of them teachable. A graph of ten points on which Short, claiming points to join A to B while Cut deletes them, wins moving second. Three pairings of the contested points win, each holding one whole pair in every one of the six minimal separating sets; one, ce df gh ij, is drawn. No weighting of the separating sets makes any winning pairing outscore every losing one.

    Two losers that average to a winner

    On Hex boards to 6 × 7, a machine that weighs the opponent's winning sets could be taught every winning pairing except one, which another single winner covered. Ville's alternative allowed a second way to be out of reach — covered only by a mixture — and the switching game on points, where winners are many, is where it turns up. None in all graphs of seven points or in 4,000 of eight; 35 covers at nine and ten points. Every one is the even average of two losing pairings, and on six graphs Short wins and no weighting can teach the machine any winning pairing at all.

    part 7 · history

All series