Sums and comparison

The heap that breaks is not the heap that changed

Length-equivalence failed to survive a third heap only when take a Fibonacci number was in the pool, and the move of eight looked like the reason. Replace that game by seventeen relatives and the long move explains nothing: without the eight it fails worse, a game with a lone move of eight holds, and in six of the seven pools that fail, the heaps that break away belong to take one, three or four — a game that held in every pool before. Whether a heap keeps its class depends on who else is in the pool.

Assumes: A third heap finds what two could not · A stripped heap is a count of lengths

Two heaps are length-equivalent when, beside every partner, their two-heap sums last the same number of moves: the winner hurrying to the shortest win, the loser stalling to the longest loss, by the rule how long it lasts sets out. A third heap found what two could not: on a pool of eight subtraction games, 52 of the 548 equivalent pairs come apart beside some pair of partners, and in every case the heap that breaks away belongs to the game take a Fibonacci number, which allows taking one, two, three, five or eight counters. Leave that game out and the classes hold beside every pair of partners and every triple tried.

The natural suspect was the move of eight. It is the only move in the pool longer than five, and in the worked example it let the winner skip a stretch the loser would otherwise have spent stalling. If that is the mechanism, the failures should follow the long move: remove the eight and they should vanish, add a long move to some other game and they should appear.

They do not follow it. Remove the eight and the failures get worse. Give a game a single move of eight and nothing fails. And when the eighth game is changed, the heaps that break away are usually not the new game’s at all. They are heaps of take one, three or four, a game whose heaps held their classes in every pool measured before, now broken by a partner the new game supplies.

The control

The test is the same as before, run with one game swapped. Each pool is heaps from nought to twenty-four of seven fixed games, take {1, 2, 3}, {1, 2}, {2, 3}, {1, 3, 4}, {1, 4}, {2, 4, 5} and the squares {1, 4, 9}, plus one eighth game. Every sum of three heaps from the pool, of any three games in any combination, is solved exactly by working up from the empty heaps on the product of their state spaces.

The control. The seven subtraction games alone have 61 length classes and no pair that a third heap separates. With take a Fibonacci number added they have 73 classes by pairs and 81 by triples, and 52 of 548 alike pairs come apart.
Fig. 1 The seven games alone, and with take a Fibonacci number added. Alone, they have 61 length classes and no pair of alike heaps comes apart beside any pair of partners. With the Fibonacci game, the earlier measurement comes back exactly: 73 classes by pairs, 81 by triples, 52 of 548 alike pairs split.

The control reproduces the earlier numbers exactly, which matters because the computation here is a fresh one. It was written against a list of games rather than the earlier fixed pool, so it can take any eighth game. It also solves each multiset of three games once rather than each ordered triple, which is valid because the length of a sum does not depend on the order its heaps are listed in. On the seven games alone, there are 175 heaps, 61 classes, 460 pairs of alike heaps, and no split. With the Fibonacci game, 200 heaps, 73 classes becoming 81, and 52 splits, all of them Fibonacci heaps breaking away.

Eighteen eighth games

The candidates are the Fibonacci game’s relatives and a spread of other rules. Some remove the eight: {1, 2, 3, 5}. Some replace it: {1, 2, 3, 5, 6}, {1, 2, 3, 5, 7}. Some keep a single long move beside short ones: {1, 2, 6}, {1, 2, 7}, {1, 2, 8}, {1, 2, 3, 8}. And some have no long move at all.

The failures do not follow the long move. Eighteen pools of eight subtraction games, each the same seven games plus one variant of take a Fibonacci number, with length classes by two-heap and three-heap sums, the pairs a third heap separates, and the game whose heaps break away. Seven pools fail and eleven hold; in six of the failing pools the heaps that break away belong to take one, three or four.
Fig. 2 Eighteen pools, each the seven games plus one eighth game, with length classes by pairs and by triples, the pairs of alike heaps a third heap splits, and whose heaps break away. Seven pools fail and eleven hold. Only the Fibonacci game’s failures are entirely its own heaps.

Seven of the eighteen pools fail and eleven hold, and the list does not sort by length of move. {1, 2, 3, 5}, the Fibonacci game without its eight, fails with 73 split pairs, more than the 52 of the Fibonacci game itself. {1, 2, 8}, with a move of eight beside one and two, holds completely. So does {1, 2, 3, 4, 8}. {1, 2, 3, 8} fails, and {1, 2, 3, 6} does not. Among the games with a single long move beside one and two, {1, 2, 6} fails while {1, 2, 5}, {1, 2, 7} and {1, 2, 8} all hold.

The last column is the more striking. In the Fibonacci pool, every heap that breaks away is a Fibonacci heap, which is what made the game look responsible. In all six of the other failing pools, heaps of take one, three or four break away, and in three of them nothing else does. A game that was never touched, whose heaps held their classes beside every pair of partners when the Fibonacci game was in the pool and when it was not, now has heaps coming apart from their classes.

Nothing in the rule decides it

The obvious next move is to look for the property of the eighth game that predicts failure.

Nothing simple in the rule decides it. The eighteen candidate eighth games with their longest take, widest gap between takes and run of consecutive small takes, sorted by whether their pool fails the triple test. Every one of the three quantities takes overlapping values on the two sides.
Fig. 3 The eighteen eighth games with three facts about each rule: its longest take, its widest gap between consecutive takes, and how many of one, two, three and so on it allows before its first gap. The failing rules come first. On every one of the three, the values on the two sides overlap.

None of the three simple quantities works. The failing rules have longest takes from five to eight and the holding ones from four to eight. The widest gap runs from two to five among the failures and from one to six among the games that hold. Every failing rule allows one and two, and so do most of the holding ones. The table rules out the hypothesis the last essay ended on in its plainest form: the failures do not follow the long move, and they do not follow the gap a long move leaves either.

The facts were chosen because each is the kind of thing a reader of the rule sees at once, and each had a story behind it. The longest take is the move-of-eight hypothesis. The widest gap is a version of it that asks how far a move can jump past the moves beside it. The run of small takes measures how freely a loser can stall one counter at a time, which is what a long move lets a winner skip. All three stories are reasonable, and all three are refuted by pairs of rules that agree on the quantity and disagree on the outcome: {1, 2, 3, 8} and {1, 2, 3, 4, 8} share a longest take, and only the first fails.

That does not mean there is no rule, only that it is not a fact about the eighth game’s move set read alone. The next two figures say why it cannot be. Whether a pool fails depends on what the eighth game’s heaps do in sums with the seven others, and that is a question about the pool, not the game.

Take one, three or four comes apart

The heaps of take one, three or four that break away are not scattered.

A well-behaved game's heaps break away. Heaps 0 to 24 of take one, three or four, in the 6 pools where some of them come apart from their length class beside a pair of partners. The heaps that break are always 7 or more and 0, 1 or 2 modulo 7.
Fig. 4 Heaps 0 to 24 of take one, three or four in the six pools where some of them break from their length class. The broken heaps sit in blocks of three — seven, eight and nine, then fourteen to sixteen, then twenty-one to twenty-three — at the residues 0, 1 and 2 modulo seven.

Take one, three or four has Grundy values repeating with period seven, 0, 1, 0, 1, 2, 3, 2, as subtraction games with a small set of takes always eventually do, and its heaps fall into length classes with heaps of other games accordingly. Its remoteness grows with the heap, so its heaps of seven, fourteen and twenty-one are alike in value and different in length, and each joins a different class of heaps from the other games. Every heap of it that breaks away is seven or larger and leaves remainder 0, 1 or 2 on division by seven, the residues where its values are nought, star and nought. Three pools break all nine of those heaps up to twenty-four, {1, 2, 3, 5}, {1, 2, 3, 7} and {1, 2, 3, 8}. The other three break a subset: only the seven in {1, 2, 3, 5, 7}, four heaps in {1, 2, 6}, and six in {1, 2, 3, 5, 6}, leaving out the heaps at residue 0.

The pattern is periodic in the old game and has nothing to do with the new one. Something about the residues 0, 1 and 2 of take one, three or four makes its heaps sensitive to a kind of partner, and some eighth games supply that partner while others do not. The Fibonacci game, notably, does not: in its pool these heaps hold. So the earlier finding that one game carries the failure was a fact about which games had been paired, not about which games are dangerous.

The partner that does it

The smallest heap that breaks is seven in take one, three or four, and it can be followed in one pool.

The partner that tells them apart. In the pool of seven games with take one, two, three or eight, heap 7 of take one, three or four lasts alike with ten other heaps beside every single partner. Beside a heap of 23 in take a square number together with a heap of 21 in the new game, it lasts 23 moves against their 25, the same pair separating all ten.
Fig. 5 In the pool with take one, two, three or eight: the ten heaps that last alike with heap seven of take one, three or four beside every single partner, and the first pair of partners beside which the sums differ. It is the same pair every time, twenty-three in the squares game with twenty-one in the new game, and heap seven’s sum lasts 23 moves against 25 for each of the others.

In the pool with take one, two, three or eight, heap seven of take one, three or four has ten class-mates: eight in take one, two or three, six in take one or two, ten and eleven in take two or three, and so on through the other games. Beside every single heap of the pool, its sum with that heap lasts exactly as long as each class-mate’s does. Beside the pair made of twenty-three in the squares and twenty-one in the new game, heap seven’s sum lasts 23 moves and every class-mate’s lasts 25. A heap of the new game is one of the two partners every time.

Swap the eighth game for {1, 2, 3, 6} and heap seven has eleven class-mates, the same ten and a heap of eight in the new game. No pair of partners separates it from any of them. So the new game does two things to a pool. It adds heaps that can join existing classes, and it adds partners that can separate them. In the {1, 2, 3, 8} pool it adds a partner that sees something about heap seven of take one, three or four that no other heap in the pool, alone or in a pair without it, can see.

That is the earlier essay’s mechanism, moved one place. There, a separation needed a Fibonacci heap on both sides: one in the class, breaking away, and one among the partners. Here the new game appears only among the partners. The broken heap is a heap of an old game, and the new game is the witness. Whatever take one, three or four’s heaps at those residues carry that their class does not record, it was there in the seven-game pool all along. Nothing in that pool could see it.

Without the eight, more breaks

Four of the eighteen candidates have heaps of their own that break away.

Without the eight, more breaks. The four candidate eighth games whose own heaps come apart from their length class beside a pair of partners, with which of their heaps break, which heaps of take one, three or four break in the same pool, and how many pairs split.
Fig. 6 The four eighth games whose own heaps come apart from their classes beside a pair of partners, with which heaps break, which heaps of take one, three or four break in the same pool, and how many pairs split. Only the Fibonacci game has nothing else break.

The Fibonacci game’s own broken heaps are 10, 11, 12, 14, 20, 21, 22 and 24, and nothing else breaks. Remove the eight, leaving take one, two, three or five, and its own heaps still break, now at 12, 16, 20 and 24. Heaps of take one, three or four break as well, nine of them, and the count of split pairs rises from 52 to 73. The move of eight was not causing the failure. If anything, it was suppressing part of it, since with the eight present the heaps of take one, three or four held.

There is a plausible reading of that, offered as a reading. A long move changes which heaps of its own game are alike with heaps of other games, so it changes the classes themselves before any third heap is added. A pool’s two-heap classes are relative to that pool, and the eighth game reshapes them. With the eight, the heaps of take one, three or four at residues 0, 1 and 2 may land in classes that a third heap cannot split; without it, in classes it can. The two-heap classes in the two pools are different partitions, and the measurement compares a third heap’s verdict against whichever partition the pool has made.

A class belongs to its company

Put together, the eighteen pools change what the earlier result means.

A heap’s length class was always defined relative to a pool: two heaps are alike when their sums with every heap of the pool last the same time. The earlier essay found that the relation fails to survive a third heap in one pool and holds in another, and read the difference as a property of the one game present in the first and absent from the second. The pools here show that the reading does not survive either. Whether a given heap keeps its class beside pairs of partners depends on which other games are in the pool, and a heap of an untouched game can be safe in one pool and broken in the next.

That makes length-equivalence resemble the misère quotient more closely than the earlier essay could say. Misère quotients describe sums of heaps by a finite algebra, relative to a chosen set of heaps, and the algebra changes when a heap is added to the set, including how the old heaps behave. A heap that was tame in one universe can be split into several classes in a bigger one. Here a heap of take one, three or four that was one class in the seven-game pool becomes two once a game like {1, 2, 3, 8} supplies the right partner. A universe grows by days found the same shape for partizan values, with the company’s depth deciding how fine the classes are; here it is the company’s breadth.

The difference from value is the useful part. Game value is a congruence on every universe of short games at once: the Sprague–Grundy value of a heap does not depend on which other games are around, and two heaps of equal value are equal in every company, a pair of partners included. The length of a sum is a different kind of quantity. The parts say who wins, not how long: the values of the heaps fix the parity of the length but not the length, and what a value leaves out is exactly what the classes here are trying to record. Length has no such universal congruence on these pools. A theory of how long a sum lasts would have to name its universe first, and the classes it found would be classes of that universe only.

The convention, and the pools

Normal play, impartial heaps, the disjunctive sum. Length is remoteness under Steinhaus’s rule: a player who can win moves to the option of least even remoteness, a player who cannot moves to the option of greatest remoteness, and a position with no move has remoteness nought. Remoteness is odd exactly when the player to move wins, so every separation here is by an even number of moves.

Each pool is heaps nought to twenty-four of eight games. Two heaps are alike when their two-heap sums with every heap of the pool last the same time, and a pair is split when some pair of partners from the pool, possibly including the empty heap, gives sums of different length. A split of two heaps of the same two-heap class into different three-heap classes is a heap breaking away, credited to the heaps outside the largest part. Every three-heap sum of every combination of games is solved exactly; nothing is sampled.

What eighteen pools cannot show

The rule that decides a pool. Seven fail and eleven hold, and none of the three simple facts about the eighth game separates them. The decisive property, if there is one, is about the eighth game’s heaps in company: which classes they join and which partners they supply. No test on the move set alone is suggested by these eighteen.

That the holding pools are congruences. Eleven pools have no split beside pairs of partners, on heaps to twenty-four. The earlier essay found a fourth heap separating what three could not, and nothing here tries a fourth heap on the new pools.

Why residues 0, 1 and 2 of take one, three or four. The broken heaps follow that game’s period exactly, which says the sensitivity belongs to its value pattern. What it is about nought, star and nought at those residues, as against star two, star three and star two at residues 4, 5 and 6, is not found here.

Still open: what the partner sees

The witness in the {1, 2, 3, 8} pool is one pair of partners separating heap seven of take one, three or four from ten class-mates, by two moves. That is a single sum, three heaps, small enough to play through, and it is where the question now lives. The line of play would show at which point heap seven’s sum and its class-mates’ sums part, and which heap’s moves carry the difference, as the worked line in the earlier essay showed a move of eight skipping a stretch of stalling. If the difference is carried by the new game’s heap of twenty-one, the partner is doing the work and the broken heap is merely the one that cannot answer it; if it is carried by heap seven itself, then take one, three or four’s heaps hold something about their own length that the pair test never asks. Either way, the eighteen pools say where not to look: not at the length of the longest move, and not at one game’s rules on their own. What a heap must report about its moves asked what a single heap has to carry for sums of two, and a stripped heap is a count of lengths answered it; the answer for sums of three now looks like it has to be stated relative to the pool, which is a different kind of answer.

Part 8 of 8

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

CompanyContextCounterexampleDisjunctive sumEquivalenceExhaustive searchGame lengthQuotientRemotenessSubtraction game