Where it stops

One move fewer and the table closes

With a held pass on the board, Nim heaps up to four have no finite table: the count of classes runs 43, 55, 71, 87 as the box grows. The proposed test — heaps of four that cannot be cut to three — turns out to be a renaming, since such a heap is a heap of three. But delete any one of the pool's ten moves, from any heap, and the table stops growing every time, at six, fourteen or sixteen classes. Every deletion also leaves every heap worth ∗3 or less.

Assumes: The table closes, until heaps of four · A pass is not a move

A held pass is one token on a Nim board, usable once by either player and never as the move that ends the game; the first essay on it found that this one clause is enough to take the value of a position out of the nim-sum’s hands. The table it induces on a pool of components — the classes of positions that no company tells apart, combined the way a misère quotient combines — is finite on every pool that was tried except one. Nim heaps up to three close at fourteen classes. Kayles rows up to five close at nineteen. Nim heaps up to four never close, and the reason was found: a single line of losses, 2k+32k + 3 heaps of two beside 2k2k heaps of four, which gives every count of twos a class of its own.

That left a question about the boundary. Heaps up to three close and heaps up to four do not; what property of a pool decides which side it falls on? The test proposed for it was the smallest one available — a pool with heaps of four and nothing to pair them with, heaps of one, two and four, where a four cannot be cut to three.

That test has an answer, and it is not the interesting one. The interesting one comes from running the test the other nine ways.

Every deletion closes the table. The number of classes of the held-pass quotient on Nim heaps up to four as the box of positions grows, for the full game and for each of the ten games made by deleting one move. The full pool grows 43, 55, 71, 87; every deletion gives a count that stops moving, at 6, 14 or 16.
Fig. 1 Nim heaps up to four with a held pass, and each of the pool’s ten moves deleted in turn. The full pool gains classes at every box. Every deletion — from a heap of four, three, two or one — gives a count that is the same at every box from four on.

A heap of four without its move to three is a heap of three

Remove the move from four to three and look at what a heap of four can still do. It can become a heap of two, a heap of one, or nothing. Those are exactly the options of a heap of three. Two games with the same options are the same game, not merely equal ones: every line of play from one is a line of play from the other, move for move.

So the pool “heaps of one, two and four, where four cannot reach three” is the pool of Nim heaps up to three, with the label 4 written on what everyone else calls a 3. Its table is Nim up to three’s table, and it has to be.

Deleting the top move renames the heap. The held-pass class counts of four pools. A heap of four that cannot be cut to three plays exactly as a heap of three, so that pool has Nim up to three's counts, fourteen at every box; a heap of five that cannot be cut to four plays as a heap of four and grows exactly as Nim up to four does.
Fig. 2 A heap that cannot reach the size just below it is that size under another name. Four without three gives Nim up to three’s fourteen classes at every box, and five without four gives exactly Nim up to four’s growing counts, 43, 55, 71, 87.

The counts agree at every box, and the same identity works one size up. A heap of five that cannot be cut to four has options three, two, one and nothing — a heap of four — and a pool of heaps one, two, three and five, with that move gone, grows exactly as Nim up to four does: 43, 55, 71, 87. Deleting a heap’s top move does not test anything about the heap. It renames it.

That disposes of the proposed test, and the reason it seemed promising is worth recording. The losses that keep the full pool growing involve pairs of fours whose cuts cancel each other, and a cut from four to three was the obvious cut to suspect. But the pairing is not a property of one cut. It is a property of the whole option set, and removing the top cut changes the option set into a familiar one rather than a damaged one.

Every other deletion closes it too

The pool of Nim heaps up to four contains ten moves: a heap of four can become three, two, one or nothing; a heap of three can become two, one or nothing; a heap of two, one or nothing; a heap of one, nothing. Delete them one at a time, and each deletion makes a new ruleset that is not Nim and not a renaming of it — a heap of four that cannot be emptied in one move, a heap of two that cannot be emptied at all except by halves.

All ten deletions close. The table counts stop moving at the first box tried and stay still through the fourth: fourteen classes for six of the deletions, sixteen for two of them, six for the last two. The full pool, on the same boxes, gains twelve, sixteen and sixteen classes in turn.

That is a far stronger statement about the boundary than the one the test was designed to make. It says that Nim heaps up to four are not merely on the growing side of the line; they are on it by a margin of one move in every direction. There is no single cut, and no single heap, whose presence is responsible. The whole pool is needed, and any part of it missing is enough.

What every deletion does to the values

The first thing to look for, with ten closing tables and one growing one, is something the ten share and the one lacks. The Grundy values are where to look first, because the held pass is decided by them on a crowded board — the closed tables were found to have the normal-play group at the bottom of every closed table, with the loss moved to nim-sum one.

Every deletion keeps the values below four. The Grundy values of heaps of one to four in Nim and in each game made by deleting one move, with the held-pass class count. Only full Nim has a heap worth ∗4; every deletion leaves all four heaps worth at most ∗3, and every one of them closes.
Fig. 3 The values of heaps of one to four under each deletion. Full Nim has a heap worth ∗4, and no deletion does: every one of them leaves every heap worth ∗3 or less, so every nim-sum in the pool fits in two bits.

They share one thing exactly. In full Nim the heap of four is worth ∗4. Under every deletion, every heap is worth ∗3 or less. The reason is the mex rule and nothing deeper: a heap of four is worth ∗4 only if its options take all four values nought to ∗3, and that needs all four of its moves and the three smaller heaps to keep their own values — which needs all of theirs. Delete any move anywhere and some value below goes missing, either from the four’s options directly or from a smaller heap whose own value then shifts. The ∗4 is the top of a tower in which every move is a floor.

The deletions land in different places. Without four-to-nothing the heap of four is worth nought; without four-to-one it is worth ∗1; without three-to-nothing the heap of three is worth nought and the four ∗3. But all of them stay inside nought to ∗3, and every nim-sum of such heaps is one of four values. In full Nim the nim-sums run over eight.

The line, and what replaces it

The growth in the full pool came from one geometric fact: in the plane of positions made only of heaps of two and heaps of four, the losses lie along a line that never repeats. Each deletion changes that plane, and the picture says how.

Where the losses lie among twos and fours. Losses for the player to move among positions of heaps of two and heaps of four only, with a held pass, in full Nim, without 4 → 3, without 4 → 2, without 4 → nothing. Full Nim's losses run along a line that never repeats; each deletion's losses fall into a pattern that does.
Fig. 4 Losses for the player to move among positions of twos and fours only, with the held pass on the board. Full Nim loses along a diagonal — two more twos for every two more fours — that gives every count of twos its own class. Without four-to-three the losses fill a repeating lattice; without four-to-two almost nothing is lost; without four-to-nothing the losses stand in one column.

In the full game the diagonal is the whole story. A position with 2k2k fours and 2k+32k + 3 twos is lost, for every kk the box reaches, and since each count of twos sits on the line at exactly one count of fours, no two counts of twos can be in the same class: a company of the right number of fours separates them. Infinitely many counts, infinitely many classes.

Under the deletions the plane loses its slope. Without four-to-three the losses form a lattice repeating every two rows and every two columns, which is Nim up to three’s plane, since that pool is Nim up to three. Without four-to-two the losses are five small positions near the corner and then nothing — the twos and fours together are almost always a win. Without four-to-nothing the heap of four is worth nought and, past the empty board, the losses stand in a single column: exactly three heaps of two, whatever the fours. A repeating pattern, an empty one and a constant one, and none of them a line.

Where the losses lie among twos and fours. Losses for the player to move among positions of heaps of two and heaps of four only, with a held pass, in full Nim, without 4 → 1, without 3 → nothing, without 2 → nothing. Full Nim's losses run along a line that never repeats; each deletion's losses fall into a pattern that does.
Fig. 5 The same plane for full Nim and three more deletions — four to one, three to nothing, two to nothing. Each deletion’s losses repeat with a short period, or settle into a single row or column; only full Nim’s run off along a diagonal.

The other deletions draw the same moral in other shapes. Without four-to-one the plane is a lattice again; without three-to-nothing it is the very lattice four-to-three gave; without two-to-nothing a heap of two has no way to vanish in one move, and nothing in the plane is lost but the empty board. A line of losses with a slope is what an unbounded table needs, and every deletion flattens it.

Other pools that stay below four

If the values are what matters, other pools whose components never reach ∗4 should close too, and pools that do reach it should be at risk. The subtraction games give four pools to test in a few seconds each.

Four more pools that close, and one that does not. Held-pass class counts for four subtraction-game pools, whose components are all worth ∗3 or less, and for Nim heaps up to five. The subtraction pools close; Nim up to five keeps gaining classes.
Fig. 6 Four subtraction-game pools, every component worth ∗3 or less, and Nim heaps up to five. The subtraction pools close — at fourteen, four, seven and nineteen classes — and Nim up to five, with two heaps worth more than ∗3, keeps growing.

They do. Subtraction {1,2}\{1, 2\} on heaps to five closes at fourteen classes; {1,3}\{1, 3\} at four; {2,3}\{2, 3\} at seven; {1,2,3}\{1, 2, 3\} at nineteen. Every one of their components is worth nought to ∗3. Nim heaps up to five, which contain a ∗4 and a ∗5, grow — 45, 64 and 79 at boxes two to four.

So in twenty-one pools — the ten deletions, Nim up to three, four and five, the two renamings, the four subtraction games, and the Nim heaps up to two and of one measured before — the table closes exactly when no component is worth more than ∗3. That is a pattern worth stating and not yet a rule, for a reason Kayles already supplies.

The pool that does not fit

Kayles rows up to five close at nineteen classes, and a Kayles row of five is worth ∗4. So the values alone do not decide it. A pool can contain a ∗4 and close.

What separates a Kayles row of five from a Nim heap of four is not its value — both are ∗4 — and not the values of its options — both reach nought, ∗1, ∗2 and ∗3. It is how it reaches them. A heap of four reaches ∗3 by becoming a heap of three, a single component; a Kayles row of five reaches ∗2 by splitting into rows of one and three, two components that each persist on the board and can each be answered separately. The line of losses in Nim needs fours whose cuts cancel in pairs, and a cut that leaves two pieces is a different object to cancel.

So the evidence now has two parts that pull in different directions. Among single-heap take-away games, closing coincides with staying inside two bits of value, in every pool tried. Among take-and-break games, one pool already crosses into a third bit and closes anyway. The candidate rule, stated carefully, is about take-away pools only, and the Kayles exception says that a split is a way of reaching a value that a held pass sees differently.

Nim is tame under misère play and not under the pass

The deletions say something about the held pass that is easy to miss: it is a harsher convention for Nim than misère play is.

Under misère play — the player who makes the last move loses — Nim heaps are the textbook case of a tame game. Bouton’s own paper solved them with one extra clause about heaps of one, and on the same boxes used here the misère table for Nim heaps up to four has ten classes at every box, as against eight for normal play. Every pool of Nim heaps has a finite misère table; the wildness that misère quotients were invented to tame begins in Kayles and the octal games, never in Nim.

Of the three conventions measured on these boxes, the held pass is the only one under which Nim itself is wild. Its table on heaps up to three is fourteen classes, already larger than misère play’s ten for heaps up to four, and on heaps up to four it has no table at all. That is the more surprising for how small the change is. The pass is one token, spendable once; misère play inverts the outcome of every game that reaches the end. Measured by what it does to Nim’s algebra, the single token is the bigger change.

The deletions put a boundary on it. The held pass does not make every Nim-like pool wild; it makes the complete one wild — the pool where every heap can become every smaller heap — and leaves every pool one move short of completeness with a small table. That is a very different shape of wildness from the octal games’, where a pool turns wild as it grows by adding heap sizes. Here the pool turns wild by gaining its last move, and a pool of four heap sizes with nine of the ten moves is as tame as Nim up to three.

It also says why a single pass on three heaps was so hard to describe. Three Nim heaps of arbitrary size contain every complete pool up to their largest heap, so every three-heap position with a heap of four or more is drawn from a pool with no finite table. The periods that appeared and lengthened there, slice by slice, are at least consistent with that: a game read through an algebra that does not close should not be expected to settle into one pattern.

What the box cannot show

A count that stops moving is evidence, not a proof. Every table here is computed on boxes of up to six components of each size; a class split by a company outside the box would be invisible to it. The ten deletions are stable from the first box to the last, which is the same evidence the closed pools of heaps up to three were accepted on, and no more.

The subtraction pool {1,2,3}\{1, 2, 3\} is read on three small boxes. Its count is sixteen, nineteen, nineteen. Two equal counts are the least a closing claim can rest on, and a larger box would be needed to say it more firmly.

And the pattern is not explained. That every deletion keeps the values below ∗4 is proved by the mex rule above. That every pool below ∗4 closes is measured on twenty-one pools. Why a third bit of value should be what lets a line of losses run away — and why Kayles’ third bit does not — is not shown by any figure here.

The convention the counts depend on

The held pass. Normal play — the player who cannot move loses — with one pass token on the board, usable by either player, once, and never as the move that ends the game. Under it the player to move wins if some move leaves a loss, or if the board is not empty and its nim-sum is nought, since spending the pass then hands the opponent a normal-play loss.

A deletion removes one move from one heap size, everywhere. A ruleset “without four to two” forbids every heap of four from becoming a heap of two, in every position, for both players. The other moves are Nim’s. A position is any number of heaps of each size from one to four, and the pool always contains every size, so a deletion never removes a component — only an edge between two of them.

A class is a set of positions that win and lose alike beside every position in the same box. Two positions in one class combine alike with anything, so the classes form a commutative monoid, and the count is its size.

Still open: whether a third bit of value is what a line needs

Every take-away pool tried closes exactly when no component is worth more than ∗3. The test that would turn that into a claim, or break it, is a take-away pool with a ∗4 that is not a Nim heap of four. Subtraction games supply one, and it is further out than expected. Among all sets of takes up to eight, no game reaches ∗4 before heap seven except by containing one, two, three and four — which on heaps up to four is Nim. The first that does it differently is {1,2,4,6}\{1, 2, 4, 6\}, whose values run 0,1,2,0,1,2,3,40, 1, 2, 0, 1, 2, 3, 4: a heap of seven worth ∗4 that cannot reach most of the heaps below it. Its pool has seven components, and the box method that settles a four-component pool in a second exhausts its memory on this one before its third box, so the measurement needs a solver that stores positions more compactly than a map of strings.

If such a pool grows, the third bit is what a line of losses needs, and the deletions closed the table by taking it away. If it closes, the line needs the third bit and Nim’s particular way of reaching it — every smaller size, one move each — and the full pool of heaps up to four is unbounded because it is complete, not because it is large. Either way the plane of the two commonest components, drawn as above, is the place a growing table will show itself first: a line with a slope in it is what the boxes have so far always found behind a count that will not stop.

Part 5 of 5

One argument about Pass. The parts either side of it:

The objects named here

The third axis, after the field and the series: the games, values and theorems themselves, and every essay that touches each one.

Bounded universeCounterexampleExhaustive searchGrundy valueIndistinguishabilityMisère quotientMonoidNimNim-sumSubtraction game