The fringe is read by a gap
Assumes: A live pair is two bits, and only in company · A compulsion that points elsewhere
Top Entails is a game of heaps of coins in which a move takes the top coin of a heap or splits a heap in two, and taking a coin while leaving the heap non-empty entails a reply. In the version a compulsion that points elsewhere set up, the compelled reply must be made in a different heap, and that one change breaks the theory that makes sums of games easy. No list of nimbers is enough showed that no number of values per heap can describe a heap’s behaviour in sums. So sums are described the other way, by a quotient: two sums are equivalent when they have the same outcome beside every context in a stated pool, and the quotient is the set of classes.
A live pair is two bits, and only in company read the large part of that quotient. Relative to a company of heaps up to some largest size , a sum with enough material is live, and a live sum’s class is decided by two parities alone: the parity of its heaps of one, and the parity of its coins beyond the first in each heap. A pair of equal heaps is live exactly when is at least half of , rounded up. Everything not live was left as the fringe — twenty classes and ninety-six sums with heaps to six — and the essay ended by asking whether the fringe is read by a few quantities too, suggesting the nim-sum of the small heaps beside the parities.
It is read by a few quantities, and the nim-sum is not one of them. The fringe has the same shape as the live part, one level down: a free parity from the ones, and then a rule about pairs of heaps that depends on how big the pair is relative to its company. The rule is about the difference between two heaps, and the live rule turns out to be its first two cases.
How fast the fringe grows
The quotient was recomputed for every company with largest heap from three to nine — sums of up to five heaps for the smaller companies, up to four beyond six, against every context of up to two further heaps.
The live part never grows: four classes at every company, read by the two parities. The fringe grows, and it grows by an exact amount. Each time the largest heap goes up by one, the fringe gains classes — four, then six, six, eight, eight, ten — so the whole quotient has classes: 8, 12, 18, 24, 32, 40, 50. That formula holds at every one of the seven companies, and it is quadratic in the largest heap.
A count with a closed form is a strong hint that the classes have a simple description, and the increment says roughly where to look: is exactly the live threshold, the smallest heap that can be half of a live pair. Whatever the fringe is counting, it is counted in units set by the same threshold that decides liveness, which points at pairs of heaps measured against the largest one.
The ones are a free bit
The first simplification is the same one that started the live rule.
A pair of heaps of one cancels in every class of every company, live or fringe, tested on every sum short enough for two more heaps to fit. The reason is the oldest argument in the subject. A heap of one has no entailing move, since taking its coin empties it, so a heap of one is exactly a Nim heap of one, and a second one answers the first as in the mirror: whatever is played in one, the opponent plays in the other. So only the parity of the ones can matter, and in the fringe it always does: every class of heaps of two or more appears twice, once beside an even number of ones and once beside an odd number. The twenty classes at heaps to six are ten classes, twice.
That halves the problem. What is left is to read the ten classes of heaps of two or more, and at they are small enough to read off the table. Six of them hold a single sum: nought, a heap of two, of three, of four, of six, and two heaps of two. The other four hold several: , , and .
The first two are the clue. In the first, every two-heap sum has heaps two apart; in the second, three apart.
A pair of heaps is its gap
Take a company with largest heap , and a sum of two heaps and , the gap being . Ask whether it is equivalent to the largest pair with the same gap, .
With heaps up to nine, the answer is the same in every row. A pair joins the largest pair of its gap exactly when its two heaps hold at least as many coins as the largest heap in company: . Below that line it is in some other class; at or above it, its class depends on and on nothing else. Gap two: is out, holding six coins, and through are in. Gap five: , and are all in, since even the smallest holds nine.
The pairs below the line are told apart from the top of their row by small contexts, and the contexts say what is missing. With heaps to nine, and share a gap of two, and beside a heap of two and a heap of eight the first is a win for the player to move and the second a loss. and share the same gap, and a single heap of nine separates them: is a win for the player to move, a loss. The likeliest reading, in both, is that the larger context heap can absorb more compulsions than the small pair can generate — the same mechanism that made fall out of the live class when a heap of seven joined the company. The pair runs out of material before the company does; above the line it never does, and only the gap is left to matter.
And the gaps nought and one are the live rule. A pair of equal heaps joins when , which is , the threshold the earlier essay found. A near-pair joins when , which is the near-pair the earlier essay found live beside the pairs. Those two gaps fall into the four live classes, read by parities. With heaps to nine, every gap from two upward is its own class, distinct from every other gap and from the live part.
The rule is not a fact about nine. In every company from five to nine and every gap, the smallest that joins is , or two where that is smaller, and every larger joins as well. Thirty entries, one formula.
So the picture of the whole quotient is this. A sum of two heaps big enough for its company is read by the gap between them. Gaps nought and one are absorbed into a four-element group — two parities — because a pair, or a near-pair, can pass compulsions back and forth until only parity is left. Gaps of two or more are not absorbed. The larger heap has coins the smaller cannot match, and those coins are an endgame of their own that the compulsions do not erase, and that endgame depends only on how many of them there are. The live part is the bottom of a scale of gaps, and the fringe is the rest of the scale plus the sums too small to be on it.
That accounts for the count, too. Between the threshold and , each new heap size adds a new largest gap, and the pairs below the line — too small to be read by their gap — are the singles and short sums that sit in classes of their own. The classes gained per heap size, doubled by the ones, are what the measurement shows; that they are exactly one new gap plus a fixed stock of short sums per step is consistent with every table here, but it has not been derived.
No nim-sum reads it
The earlier essay’s suggestion — that the fringe might be the nim-sum of the heaps below the threshold, together with the parities — can be tested directly, along with two other keys.
A key reads the fringe when no value of it is shared by sums from two different classes. The suggested key — the two parities and the nim-sum of the heaps below the threshold — fails completely: it takes only eight values, and every one of them holds sums from two classes. The nim-sum of every heap, with the parities, does better and still fails on ten of its twenty-six values. The key built from the gap never fails: the parity of the ones, the number of heaps of two or more, and the difference between the two largest put no two classes together. It is not a complete reading — it uses thirty values for twenty classes, so it splits some classes that the quotient merges — but it is the right kind of quantity, and the nim-sums are the wrong kind.
That is the surprising part of the answer. In Nim, two heaps combine by exclusive-or, and every game the Sprague–Grundy theorem covers inherits that arithmetic. A difference is a different arithmetic: it is how two heaps combine when one player can keep copying the other’s reductions in both, so that only the excess matters. Wythoff’s game is the classical case where differences rather than nim-sums organise the positions. Top Entails pointed elsewhere is not Wythoff’s game, and nothing here says the classes are Wythoff’s. But once the compulsions start circulating between two heaps, the game forgets their sizes and remembers their difference, and that is the same kind of forgetting.
The heap one short of the largest
A single heap is never live — it has nowhere to send a compulsion — and almost every single heap is a fringe class of its own.
The exception is regular. In every company from three to nine, a heap of is equivalent to . At that is the class in the earlier table; at it is a heap of eight beside . In the gap reading, is the largest pair with gap , and so the heap one short of the largest belongs to the top of the scale of gaps. A single heap of coins can be split into , and a pair holds the same total; why the two end in one class and no other single heap does is not explained by anything here, but the identity is exact on all seven companies.
What the fringe says about the whole game
The earlier essay found that liveness is a relation between a sum and its company rather than a property of the sum. The fringe sharpens that into something quantitative. Every threshold in this game is the same threshold: a pair is live when its heaps together hold at least as many coins as the largest heap, a pair with a larger gap is read by its gap under the same condition, and below that condition sums are small enough to be told apart by the details. The company sets one number, , and the quotient is that number’s consequences.
That is a cleaner kind of answer than misère quotients usually give. A misère quotient is relative to a chosen set of heaps, and changes in kind when the set changes; here the relativity is to a single number, and the quotient’s size is a closed formula in it. It is also a sharper failure of the theory this game breaks. One value more than Nim needed a single extra value when the compulsion stayed in its own heap. Pointed elsewhere, the game needs a number of classes that grows as the square of the largest heap, and no list of values per heap could have produced that, which is no list of nimbers is enough given a growth rate.
The quotient and its limits
Normal play. Top Entails pointed elsewhere, strict convention: a move takes the top coin of a heap or splits a heap into two non-empty heaps; a take that leaves the heap non-empty compels the reply to be made in a different heap, and a compelled player with no other heap has no move and loses. 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 or a Nim heap of one to seven — the pool a move that must be answered and its successors used. Sums of up to five heaps are classed for and of up to four for ; at the counts for four and five heaps agree, 32 classes each. The gap of a two-heap sum is the difference of its heaps. Every count comes from computing the outcome of every sum beside every context by exhaustive search; the company of nine is the largest, at 715 sums against 153 contexts, and takes about a minute and a half.
What a table of classes cannot show
Sums longer than the measurement. Every class count is for sums of at most four or five heaps, and contexts of at most two parts. A larger pool can only split classes, and the formula is a count of what this pool separates. The threshold essay is the warning: enlarging the company split classes that looked settled.
Why the gap. The gap rule is measured on every pair and every company to nine and explained only by analogy — a pair that passes compulsions back and forth forgets its sizes except for the excess. A proof would follow the compulsions through a sum and show that and can be matched move for move once ; nothing here does that.
The lapsing convention. Under the convention in which a compelled player with no other heap may move in the same heap after all, the fringe keeps growing with the length of the sums, as the earlier essay found. The gap rule was measured under the strict convention only.
Still open: whether three heaps have a gap
Two heaps big enough for their company are read by their difference. The fringe tables show that three heaps join the same classes in a pattern nobody has written down: with heaps to nine, sits beside , and beside the gap-two pairs. A first count says how much of that pattern a simple rule already covers. With heaps to nine there are 120 sums of three heaps of two or more: 92 are live, 7 are in other fringe classes, and 21 join one of the gap classes. All 21 join the gap , where is the largest heap: the two smaller heaps act as a single heap with one coin fewer than they hold together. joins gap two, as does; joins gap six, as does. Merging two heaps costs exactly one coin, and a heap built that way then pairs with the largest by its gap. The rule does not say when a three-heap sum is live rather than gapped — sums such as contain a live near-pair and are live whatever the merge predicts — so the natural statement is a priority: a live pair anywhere decides, and otherwise the smaller heaps merge. The measurement is the same quotient on four-heap sums and larger companies, to see whether the merge-and-priority rule predicts every class, including the seven three-heap sums at heaps to nine that it leaves unplaced. If it is, the whole quotient has a description in which every sum is a gap and two parities, and Top Entails pointed elsewhere becomes one of the few games outside the reach of nimbers whose sums are completely described.
Part 6 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
- A pass is not a move disjunctive sum, entailing move, equivalence, exhaustive search, impartial, nim
- A stripped heap is a count of lengths context, disjunctive sum, equivalence, exhaustive search, quotient
- A third heap finds what two could not context, disjunctive sum, equivalence, exhaustive search, quotient
- The heap that breaks is not the heap that changed context, disjunctive sum, equivalence, exhaustive search, quotient
- What a heap must report about its moves context, disjunctive sum, equivalence, exhaustive search, quotient
- When the nested sum only sees the value disjunctive sum, equivalence, exhaustive search, impartial, nim