Concept

Backtracking

A search that builds a solution one choice at a time and steps back to the last choice whenever it reaches a dead end. Its record of choices is a tree, and how large that tree is decides whether the search finishes in seconds or never.

Named by 4 essays across 3 fields — each of them below, with the objects they name alongside it.

The chance a random formula can be satisfied. n=20: 3:1.000 3.25:0.988 3.5:0.988 3.75:0.938 4:0.863 4.25:0.762 4.5:0.563 4.75:0.400 5:0.200 5.25:0.275 5.5:0.100 5.75:0.050 6:0.013; n=40: 3:1.000 3.25:1.000 3.5:1.000 3.75:0.963 4:0.863 4.25:0.575 4.5:0.425 4.75:0.138 5:0.050 5.25:0.025 5.5:0.037 5.75:0.000 6:0.000; n=80: 3:1.000 3.25:1.000 3.5:1.000 3.75:1.000 4:0.912 4.25:0.613 4.5:0.275 4.75:0.075 5:0.050 5.25:0.000 5.5:0.000 5.75:0.000 6:0.000.

A threshold nobody can place

Random three-literal clauses on n variables: below about 4.27 clauses a variable a formula can almost always be satisfied, above it almost never. The change is proved to be sharp and nobody has proved where it is. Counting solutions overshoots to 5.19, counting pairs of them fails outright, and every algorithm with a proof stops well short.

probability · Random graphs
Six entries that fix a Latin square. n=5 cyclic: min defining set 6; triangle set {0,1,5,19,23,24}; forcing steps 0,0,3,2,1,0,5,4,3,2,3,4,5,4,3,2,3,4,5,0,1,2,3,0,0.

The fewest entries that fix a Latin square

Reveal six of the twenty-five entries of the cyclic Latin square of order five — three in the top left corner, three in the bottom right — and only one Latin square agrees with them; reveal any five and at least two do. John Nelder conjectured that a square of order n can never be pinned down by fewer than ⌊n²/4⌋ entries. A search over every set of cells confirms it for every square to order five, and finds that the more symmetric a square is, the fewer entries it takes.

computation · Latin squares
The sizes three sentences allow. every point has exactly one neighbour: 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30; every two points have exactly one common neighbour: 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29; every two players are both beaten by a third: 1,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30

The sizes at which a sentence can come true

Write a sentence about a relation and ask for which numbers of points some relation makes it true. "Every two points have exactly one common neighbour" comes true at every odd size and no even one, and every graph that satisfies it is a windmill of triangles. "Every two players are both beaten by some third" fails for every tournament of two to six players and holds from seven on. A search can settle one size at a time; only a proof settles all of them, and the two sentences need different kinds.

logic · Quantifiers
One random path estimates the whole tree. probe columns 4,2,5,3,6,0; choices 8,5,3,1,2,1; estimate 769; exact 2057.

One random path down a search tree

Before running a search that may take a week, it is worth knowing whether it will take a week or a century. Donald Knuth's answer, from 1975, is to walk down the search tree once at random, multiply the numbers of choices met on the way, and add up the products: the result is, on average, exactly the size of the tree. On the eight-queens tree one path guesses 769 against a true 2,057 and twenty thousand paths average to within a tenth of a per cent. On a tree built to hide its bulk, the same unbiased estimate is almost always wrong by a factor of thousands.

probability · Monte Carlo

Named alongside it

The objects these essays reach for when they reach for this one.

Exhaustive searchConjectureEigenvalueFirst momentGroupImportance samplingLatin squareLower boundMonotone propertyMonte CarloPhase transitionProbabilistic method

All concepts