Where it stops

A live pair is two bits, and only in company

Top Entails with the compelled reply sent to another heap has no theory of nimbers, and a pair of equal heaps does not cancel. Sums of three, four, five and six heaps of up to six coins all fall into the same 24 classes, so the algebra closes; 828 of 924 sums land in four classes read exactly by two parities — of the heaps of one coin, and of the coins beyond the first in every heap. A live pair absorbs a heap of three and flips on a heap of four. And a pair is live only when its heaps are at least half the size of the largest heap in company.

Assumes: No list of nimbers is enough · A compulsion that points elsewhere

No list of nimbers is enough took Top Entails — a heap of coins from which a player either takes the top coin or splits the heap in two, where taking the top coin and leaving the heap non-empty compels the reply — and sent the compelled reply to a different heap. It proved that no description of a heap by nimbers, however many, can decide the sums — the values Sprague–Grundy assigns are exactly such a description: any such description makes a heap added to itself worth nothing, and in this game a pair of equal heaps of two or more is not nothing. Then it computed the object any description would have to reproduce, the quotient of sums — two sums equivalent when beside every context in a pool the player to move wins both or loses both — and found it growing with the heaps, twelve classes at heaps up to four and forty at eight.

One class stood out. Every pair of equal heaps from three to six — 3 + 3, 4 + 4, 5 + 5, 6 + 6 — fell in it together, along with a dozen sums of three heaps, and the essay called such a pair a live pair. It closed on three questions about sums of four heaps, one size past what it had computed: whether a live pair is idempotent, which heaps it absorbs, and whether the algebra the sums form has a shape the subject already knows.

All three have answers, and a fourth question turns up that none of them anticipated. The algebra closes. The live part of it is two bits. And whether a pair is live is not a fact about the pair.

Longer sums bring nothing new

The obvious worry about a quotient computed on sums of three heaps is that sums of four will bring new classes, and sums of five more, so that no window is ever big enough. That worry is answerable directly: compute the classes for longer and longer sums with the same context pool, and watch the count.

Longer sums, no new classes. The number of classes among sums of Top Entails heaps with the compelled reply pointed elsewhere, as the number of heaps in a sum grows. With heaps up to six, sums of up to three, four, five and six heaps all give 24 classes; with heaps up to seven and eight, three and four heaps give 32 and 40.
Fig. 1 The number of classes among sums of Top Entails heaps pointed elsewhere, as the number of heaps a sum may hold grows, under the strict convention. With heaps up to six, sums of up to three, four, five and six heaps all give 24 classes; with heaps up to seven and eight, sums of three and four give 32 and 40.

With heaps of one to six coins, sums of up to three heaps fall into 24 classes — the number the earlier essay found. Sums of up to four heaps, 210 of them, fall into the same 24. So do the 462 sums of up to five and the 924 sums of up to six. With heaps up to seven, three heaps and four both give 32 classes; with heaps up to eight, both give 40.

That settles the first worry: within a fixed size of heap, the quotient is closed under lengthening the sums. Every sum of any number of heaps is equivalent, beside every context in the pool, to a sum of at most three. The growth the earlier essay measured is growth in the heaps, not in the sums, and that is the better kind of growth to have: a description that has to grow with the largest heap in play is a description of the heaps, and one that had to grow with the number of heaps would be a description of nothing.

The strict convention matters here. In it, a player compelled away from the only heap left has no move and loses. Under the other convention, lapsing, the story is different, and the last figure returns to it.

Two bits

The classes are of very unequal size. With heaps up to six and sums of up to six heaps, four classes hold 828 of the 924 sums between them and the other twenty share the remaining 96.

Two bits for every live sum. The four largest classes of sums of Top Entails heaps pointed elsewhere, with heaps up to six and sums of up to six heaps: 828 of 924 sums, and each class is exactly one combination of the parity of the heaps of one and the parity of the coins beyond one per heap. The rule holds with heaps up to seven and eight.
Fig. 2 The four largest classes of sums, with heaps up to six and sums of up to six heaps: 828 of 924 sums. Each class is exactly one combination of two parities — of the number of heaps holding a single coin, and of the coins beyond the first in every heap. The rule names the class of every one of the 828, and it holds again with heaps up to seven and up to eight.

The four large classes are read by two numbers, each taken to its parity. The first is how many heaps hold a single coin. The second is how many coins there are beyond the first in each heap — a heap of h contributes h − 1 — added up over the sum. Each of the four classes is exactly one of the four combinations of those two parities, and the two bits name the class of every one of the 828 sums, with no exception. With heaps up to seven and sums of up to four, 240 of 330 sums are live in the same sense and the same two bits name every one; with heaps up to eight, 362 of 495.

Call the sums in these four classes live. For a live sum, nothing about it matters except two parities: not the sizes of its heaps, not how many there are, not which heaps are paired. Two coins added to any heap leave its class unchanged; one coin added flips the second bit. A heap of one flips the first.

It is worth seeing why both bits have a natural reading. A heap of one has no entailing move — taking its coin empties it — so ones are the only heaps that can be taken without compelling anything, and a pair of them cancels by the old mirror argument: their parity is all that can matter. The coins beyond the first are the material for compulsions and splits, and the second bit says whether the last of them falls to the player to move. In a live sum the compulsions can always be passed back and forth until only parity is left, which is exactly what a sum looks like when neither player can be forced into a position that ends early.

What a live pair absorbs

The earlier essay’s questions can now be read straight off the rule.

What a live pair absorbs. Sums containing the live pair 3 + 3 compared with 3 + 3 itself, with heaps up to six. Two live pairs are one, and a heap of three or five or a pair of ones is absorbed; a heap of four or six or a single one changes the class, and the sum alone shows it.
Fig. 3 Sums containing the live pair 3 + 3, compared with 3 + 3 itself, with heaps up to six. Two live pairs are one, and a heap of three or five or a pair of ones is absorbed. A heap of four or six, or a single heap of one, changes the class, and the sum alone shows it: 3 + 3 is a loss for the player to move and 3 + 3 + 4 a win.

Is a live pair idempotent? Yes: 3 + 3 + 4 + 4 is equivalent to 3 + 3, and so is 3 + 3 + 3 + 3. Every coin beyond the first in a pair is counted twice, so a pair adds an even number to the second bit and nothing to the first. Any pair of heaps of two or more is therefore absorbed by a live sum — which is what idempotence looks like from inside the rule.

Which heaps does it absorb? A heap of three adds two coins beyond its first, an even number, and is absorbed: 3 + 3 + 3 is equivalent to 3 + 3, as the earlier essay found. So is a heap of five. A heap of four adds three, an odd number, and flips the second bit: 3 + 3 + 4 is a different class, and the earlier essay’s puzzle — why a heap of three is absorbed and a heap of four is not — is a parity. A pair of ones is absorbed, a single one is not.

What does a live sum look like? It is a Klein four-group bolted onto the rest. Adding two live sums adds their bits, adding any heap to a live sum adds that heap’s bits, and nothing ever leaves the live part once it is in it: of the 2,310 ways of adding one more heap to a live sum of up to five heaps with heaps to six, not one leaves the four classes, and the same holds on the larger pools. That is the shape one value more than Nim found when the compulsion stayed at home — a group with an absorbing part — with one difference that matters: there the absorbing part was a single extra value. Here it is four, and it absorbs almost everything.

A pair is live only in company

So far every number was computed with contexts drawn from heaps of the same sizes as the sums. The essay before called 3 + 3 live because, with heaps up to six, it is equivalent to 6 + 6. But equivalence is always relative to a pool of contexts, and enlarging the pool can only split classes. So the question is whether 3 + 3 stays live when bigger heaps are allowed in company.

A pair is live relative to its company. For company of Top Entails heaps up to five through twelve, the pairs of equal heaps equivalent to the pair of the largest, and the largest pair that is not, with the context that separates it. A pair is live exactly when each of its heaps has at least half as many coins as the largest heap in company.
Fig. 4 For company of Top Entails heaps up to five and up to twelve, the pairs of equal heaps equivalent to the pair of the largest heaps, and the largest pair that is not, with the context that separates it. A pair is live exactly when each of its heaps has at least half as many coins as the largest heap in company, rounded up; the pair just below is told apart by one heap of the largest size.

It does not. With heaps up to seven in company, 3 + 3 is no longer equivalent to 7 + 7: beside a single heap of seven, 3 + 3 + 7 is a win for the player to move and 7 + 7 + 7 a loss. With heaps up to eight, the live pairs are 4 + 4 to 8 + 8; up to nine, 5 + 5 to 9 + 9; and so on to twelve, where they are 6 + 6 to 12 + 12. The rule is exact over every company measured: a pair is live when each of its heaps holds at least half as many coins as the largest heap in company, rounded up. And the pair just below the threshold is always separated by the simplest possible context — one heap of the largest size.

This is the fourth question, and it is a better one than the three it came from. A live pair is not a kind of object. It is a relation between a pair and its company: two heaps big enough, relative to the biggest heap around, that a compulsion bouncing between them cannot be outlasted by anything else on the board. A small pair beside a large heap can be exhausted while the large heap still has moves to spare, and then the sum is not decided by parity at all. That is why a heap of seven separates 3 + 3 from 7 + 7. Each heap of the pair has three coins, enough for one entailing move and a little more, and the heap of seven can absorb compulsions for longer than the pair can generate them.

Why the company and not the pair

The threshold explains a feature of the earlier essay’s table that looked like noise. A pair of twos was a class of its own with heaps up to six, and joined the live class only with a three beside it. On the rule found here that is exactly expected: with heaps up to six in company, the live threshold is three, a pair of twos falls below it, and a three beside the twos supplies the material that lifts the sum over. The earlier essay’s live class was the class of sums above the threshold its own pool happened to set.

It also says why no fixed list of heap values could ever have described these sums. In Nim, and in every game the Sprague–Grundy theorem covers, a heap’s value is what it is beside anything. Here a pair’s behaviour depends on the largest heap it might meet. What a component has to carry sorted games whose sums break by whether a component could be repaired by carrying more information about itself. Top Entails pointed elsewhere is a case that sort cannot place: what a pair would have to carry is information about the rest of the board, and the only part of the rest of the board it needs is one number, the size of the largest heap.

The smallest live sums

If liveness is relative to the company, so is the set of sums that are live, and the smallest of them say what liveness needs.

The smallest live sums. Sums of Top Entails heaps pointed elsewhere that are live but stop being live if any heap is removed, with heaps up to six and up to eight. With heaps to six the minimal live pairs start at three; with heaps to eight at four, and several minimal sums contain no equal pair.
Fig. 5 Sums that are live but stop being live if any one heap is removed, with heaps up to six and up to eight in company. With heaps to six the minimal sums of two heaps are pairs and near-pairs of three or more; with heaps to eight they start at four. Several minimal sums contain no equal pair at all.

The minimal live sums of two heaps are not only pairs but near-pairs: with heaps up to six, 3 + 4, 4 + 5 and 5 + 6 are live alongside the pairs; with heaps up to eight, the near-pairs from 4 + 5 up. Two heaps whose sizes differ by one can pass compulsions back and forth as well as two equal heaps can, and the parity of the extra coins takes care of the difference.

The minimal live sums of three heaps are more surprising: 2 + 3 + 5 and 2 + 4 + 6 are live with heaps up to six, though neither contains a pair. Three heaps, even small ones, can sustain the same exchange, the third heap supplying a place for a compulsion to land when the other two cannot. With heaps up to eight the list of minimal triples is longer and shifted up, from 2 + 3 + 4 to 4 + 6 + 8, and it is still the relative sizes that decide.

So the earlier essay’s description — the leftover heaps, and whether a live pair is present — was close and not quite right. What decides whether a sum is in the absorbing part is not the presence of a pair but whether the sum as a whole has enough material, relative to the company, for compulsions to circulate; and once it does, the leftover heaps do not matter either, except through two parities.

The other convention keeps growing

Under the lapsing convention, a player compelled away from the only heap left may move in it after all. The earlier essay found this convention gives more classes at every heap size, and asked why; the lengthening test adds a second difference.

The lapsing convention keeps growing. Classes of sums of Top Entails heaps up to six pointed elsewhere, by how many heaps a sum may hold, under the strict and lapsing conventions. Strict stays at 24; lapsing grows from 32 to 38, while its live classes are still read exactly by the two parities.
Fig. 6 Classes of sums of Top Entails heaps up to six pointed elsewhere, by how many heaps a sum may hold, under both conventions. The strict quotient stays at 24. The lapsing one grows from 32 to 36 to 38 — but its four largest classes are still read exactly by the two parities, so the growth is in the fringe of small sums.

The strict quotient closes; the lapsing one does not, or not yet. With heaps up to six it has 32 classes for sums of three, 36 for four and 38 for five. And yet its four largest classes are the same two bits, reading 385 of the 462 sums exactly — as many as the strict convention’s four largest classes hold. The growth is all in the fringe — the sums that are not live — where the lapsing rule keeps an endgame alive that the strict rule ends at once, and every new length of sum can reach an ending of a new shape. The live part of the algebra is the same under both conventions; what differs is how much of the board stays outside it.

The pool, the convention and the counts

Normal play. Top Entails pointed elsewhere: a move takes the top coin of a heap or splits a heap into two non-empty heaps; taking the top coin and leaving the heap non-empty is an entailing move, and the reply must be made in a different heap. The game and both conventions are the ones a compulsion that points elsewhere set up. Strict: a compelled player with no other heap has no move and loses; lapsing: the compulsion is dropped. Two sums are equivalent when they have the same outcome beside every context of up to two further parts, each a Top Entails heap up to the largest size in the pool or a Nim heap of one to seven; one check used three-part contexts with heaps to six and found the same 24 classes for sums of four. Every count is therefore a lower bound on what a larger pool might separate, and the threshold figure is exactly a measurement of what enlarging the pool separates.

What the counts do not settle

Whether the closure is a theorem. Sums of up to six heaps at sizes to six, and up to four at sizes to eight, all fall into the classes of three. A proof that every sum reduces to three heaps — by showing that any four contain a sub-sum that can be replaced — would make the closure general; it was not attempted.

The fringe’s own shape. Twenty classes with heaps up to six are not live, and their structure is unread here: some look like Nim on small heaps, others mix pairs of twos with single heaps, and the lapsing convention adds more of them with every length.

Whether the threshold holds past twelve. Eight companies show liveness beginning at half the largest heap, rounded up. The mechanism suggested above — a pair must outlast the largest heap’s capacity to absorb compulsions — predicts it continues, but a prediction is all it is.

Still open: what the fringe is

The live part of the algebra is now small and explicit, so what remains is the fringe — the sums too small, relative to their company, for compulsions to circulate. With heaps up to six it is twenty classes and ninety-six sums, and it grows with the heaps, because the threshold that separates it from the live part rises with the largest heap. The measurement that would describe it is the same quotient restricted to sums below the threshold, with the company varied as here: whether the fringe classes are read by a small number of quantities — the nim-sum of the heaps below half the largest, say, together with the parities — or whether they stay as irregular as the earlier essay’s counts suggested. If they are read cleanly, Top Entails pointed elsewhere has a complete description of a kind the subject has rarely had for a game that breaks the mirror: a Nim-like part on small sums, a two-bit part on large ones, and a threshold between them set by the company. And misère quotients, which describe sums by a finite algebra relative to a chosen set of heaps, would have a normal-play cousin whose relativity is to the size of the heaps rather than to their kind.

Part 5 of 6

One argument about Entailing. 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.

ContextDisjunctive sumEntailing moveEquivalenceExhaustive searchImpartialNimParityQuotient