The thread: What a search costs — page 4
Cram is played in pieces, and the pieces are small
A table of Cram rectangles answers the opening and nothing after it. Of the 58,830 positions reachable on a 4 × 5 board, 86% have already fallen into pieces no domino can cross, and the exclusive-or of the pieces' values is right on every one. The pieces come in 2,304 shapes, thirteen of them rectangles; two in five pieces are worth nothing at all; and no shape of up to eleven squares is worth more than ∗4.
Day four is wider in kind, not in proportion
The largest set of mutually confused values in a sample of 120 grows by half from day three to day four. Measured at 30, 60, 120 and 240 values, the half is not a constant: day four's width is 1.24 times day three's at thirty values and 1.67 times at two hundred and forty, under both recipes, and the gap opens by about a tenth at every doubling. Day three's growth bends towards the 86 its whole day holds; day four's keeps an exponent near 0.7. At 240 values the narrowest day-four sample is wider than the widest day-three one.
The coin's mistake comes first
A player who makes the random-turn move at every turn of an alternating game, against an opponent who knows it, loses 957 of 133,502 won positions across the day-three values and eight Domineering boards — and every one of them is lost at the first choice. Not one position is lost by a later move after a correct first one. The errors do not compound; they arrive at once or not at all, and the empty 4 × 4 board is one of the positions where they arrive.
A rule of thumb has to stand still
A number that falls at every move of a won rook ending must take sixteen values, because the longest mate takes sixteen moves — so the distance table is already the smallest progress table there is. Every rule a player is taught is coarser, from six values to 168, and so must sometimes stand still. Used greedily, each of five rules can be held in a loop from more than 98 per cent of the won positions, and the best of them mates 241 games in 400.
A tie costs its follow-up
When several parts are equally hot and the cheap rule picks the wrong one, the classical guarantee says the mistake costs at most the second-largest temperature. On all 263 opening ties the combined tie-break gets wrong, a sharper number bounds it: the hottest thing any tied part leaves behind. The smaller of the two equals the price on 248, and on 138 the follow-up is half the classical bound. Of 2,594 costly ties met in play, the follow-up bound fails nineteen times — and in every one the right move was in no tied part at all.
A kept table narrows the tail, not the gap
A certificate by deepening throws its table away at every iteration, and the obvious repair is to keep what earlier iterations proved exactly. On a thousand deep positions of 4 × 5 Domineering it helps: plain deepening's mean cost falls by a fifteenth, and the one-sided window's worst case by two-fifths once its guesses are kept as well. It does not cross the search that finishes at any budget, on any of three boards — and a plain certificate cannot reuse a single guess, because a position one move further from the cut is a different question.
Nine clauses, and the rook still circles
Give a rule of thumb for king and rook against king one clause at a time — the box, the kings, the black king's room, a safe rook, a guarded one — and recompute after each the positions from which black can keep the game going for ever. Of all 3,609 ordered rules of up to four clauses, the best can still be held from 83.6 per cent of won positions. The best of nine found stops at 69.3 per cent after six, holds from every position thirteen or more moves from mate, and mates fewer games than the two-clause rule it set out to improve.
The records land on powers of two
Follow the largest Grundy value of ·6, ·564 and ·007 to 262,144 heaps and the growth has no single shape. Each time the maximum first reaches a power of two it lands on it exactly, which exclusive-or forces. Below that the maximum nearly doubles with every doubling of the heap; above it ·6 and ·564 all but stop, with no record for 70,000 and 113,000 heaps, while ·007 pauses near 800 and then bursts to exactly 1,024. Records come in no fixed ratio and at no steady rate, so the growth is not logarithmic either.
Remembering where it has been
The best rule of thumb nine clauses could make for king and rook against king walks past a mate in two for ever, because it cannot tell a second visit from the first. Give it a memory of the game and let the memory overrule it whenever its move would return somewhere already reached, and every one of 400 games is mated. But a memory of the last 64 positions mates only 247 of them, the whole game has to be kept, and against a black that knows the rule's loops the median mate takes 134 moves where the table needs at most sixteen.
A list of shapes is an endgame table
Two Cram shapes — the lone square and the two-square slot — are half of every piece met on every board from 3 × 6 to 5 × 5, and 184 of 16,457 are nine tenths of them on 5 × 5. But a position is answered only when all its pieces are, and nine positions in ten need 3,786 entries. The list answers the end of the game and almost nothing before it; each domino earlier that it is asked to reach costs a list about six times as long.
The ratio belongs to the family, not the game
Every growing octal code of up to three digits reaches each power of two exactly, at some heap — 1,482 crossings over 178 codes, all exact. Read the heaps where they happen and the ratio between successive crossings has a law, but not for any one code. From 64 to 512 the median across the codes sits at 2.6 to 2.7, the middle half between 2.2 and 3.4, and nothing falls below two. A code's own ratio at one power barely predicts its next, and the longest wait in the census ended in a crossing eighty-nine times further on.
Memory needs a compass, and chess gives it fifty moves
A rule of thumb for the rook ending that remembers the game and refuses to return to a position must eventually mate — but only eventually. Given that memory, 26 of the 81 rules of one or two clauses mate none of 400 games within 2,000 moves, and the 15 that mate all of them every one reads the box or the black king's room. Chess allows fifty moves. Inside that limit the nine-clause rule with memory mates 111 games against a black that knows its loops, and the plain two-clause rule kings-then-box mates 364.
The wait is in the last few values
A growing octal code reaches a power of two at the first heap whose options cover every value below it, and the heaps where that happens grow by a ratio that belongs to the family, not the game. Follow the coverage itself and the ratio splits in two. Coming within four values of the power takes 1.6 to 2.6 times the previous crossing for four codes in five; the last four values take the rest, and all of the spread. The longest waits are not one value nobody can make, but dozens of heaps each missing a different one.
A follow-up pays back its own follow-up
Choosing wrongly among equally hot parts was found to cost at most the hottest follow-up any of them leaves, on parts two levels deep. One level deeper the bound survives — on all 17,670 boards tried — but stops being the price: it is met on one costly board in twenty. Beside a plain switch the price is exact and asymmetric. Missing the opponent's follow-up costs its whole temperature; missing one's own costs its temperature less that of the fight it leaves in turn — and four levels deep, the subtraction still stops there.