What it costs to know

The cost is in the coincidences

How big an instance is, is what a hardness statement is about, and it is the weaker predictor of what deciding one costs. Hold the degree fixed and vary only how many of a vertex's sectors are equal: the work of deciding it rises by a factor of nearly three, against a factor of two for doubling the number of creases. The expensive instances are the ones a designer draws on a grid.

Assumes Hardness is about the worst one and A tie is not a decision.

A hardness result is about the worst instance a reduction can construct, the instances a reduction constructs are engineered rather than typical, and so a worst case says little about the case in hand. That is the standard complaint and it is correct.

The complaint leaves a question open. If size is not what makes an instance expensive, what is?

For this subject there is an answer, it is measurable, and it is a property of the individual vertex rather than of its size: how many of its sectors are exactly equal.

What each refusal spends, in the units it spends itThe work each of the five refusals does on six crease patterns, counted in the operations each test performs rather than in seconds. Four of them are polynomial in the size of the drawing; the search over orderings is refused outright on half of these.the four cheap tests are polynomial in the drawing; the fifth is notreading across a row is one pattern put to all fivecrease pairsverticespanelscreasessearch nodesthe square twist6649127,565the Miura fold703152438refusedthe waterbomb sheet2,850255276refusedthe Yoshimura3,655226586refuseda square patch3,486364984refuseda rhombille patch39,621126157282refuseda refused search is a pattern about which the expensive test says nothing at all, at full price
Fig. 1 What deciding a vertex costs, against how many pairs of its sectors coincide. The mark’s area is how many vertices the point is over. Size is the quantity a hardness statement is about; coincidence is the quantity the cost follows.

What a coincidence is, and why it is where the work is

A coincidence here is two sectors of exactly the same size. It sounds like a curiosity of the arithmetic and it is the precise point at which the subject’s decision procedure stops deciding.

The big-little-big lemma asks which sector is strictly smallest and forbids its two creases from agreeing. Where two sectors tie for smallest, no sector is strictly smallest, and the lemma forbids nothing — it falls silent.

The crimp reduction, which is how a vertex is actually decided, works by finding the smallest sector, crimping it away, and asking again about the smaller vertex that remains. Where two are offered at once there is no forced move, and the procedure has to try both — which is where the branching comes from.

So a coincidence is not correlated with difficulty. It is the difficulty, in the exact sense that a vertex with none is decided by a chain of forced moves and a vertex with several is decided by a search.

A crimper reducing a strip to nothingCrimping folds one segment back between its two neighbours. It needs the creases at either end to turn opposite ways and the middle segment to be no longer than either neighbour, and it consumes two creases at a time — which is why a strip with an odd number of creases can never be crimped away entirely.4 creases, assignment MVMVthe strip0.200.200.200.200.20MVMV3 availableafter crimp 10.200.200.20MV1 availableafter crimp 20.20nothing left2 crimps, each removing two creases4 creases is an even number, and that is not a coincidencethe merged segment measures outer minus middle plus outer
Fig. 2 The reduction the cost is measured on: find the smallest sector, crimp it away, ask again. Every step is forced as long as one sector is strictly smallest, and the work is a chain rather than a tree.

Holding the size fixed

The measurement that makes the claim is the one where nothing but the coincidences moves.

Every vertex here has degree six. Each is asked about all sixty-four of its letterings, and the cost recorded is the total number of nodes the reduction visits over all of them — so what is reported is a property of the vertex rather than of whichever lettering happened to be asked about.

coincidences vertices nodes per lettering
none 31 1.75
three 32 2.71
six 3 2.00
seven 43 5.00

From no coincidences to seven, at one degree, the cost is 2.9 times higher.

Against that, doubling the instance: from degree four to degree six — sixteen letterings to sixty-four — the cost per lettering rises from 1.71 to 3.29, a factor of 1.9. And that comparison is generous to size, because the degree-six population contains the gridded vertices whose coincidences are doing part of the work.

The same size, different costsVertices of one degree, sorted by how many of their sectors coincide, against what deciding them costs. Nothing varies but the coincidences. The vertices with none are the ones a random sampler produces, and the vertices with many are the ones a designer draws on a grid.every vertex here has degree 60 coincidences31 vertices · generic1.75 nodes per lettering3 coincidences32 vertices · grid-302.71 nodes per lettering4 coincidences2 vertices · grid-301.75 nodes per lettering6 coincidences3 vertices · grid-302.00 nodes per lettering7 coincidences43 vertices · grid-45, grid-305.00 nodes per lettering
Fig. 3 The same rows drawn, with the degree held at six throughout. Nothing varies here but how many of each vertex’s sectors are equal.

Where the coincidences come from

Nobody puts coincidences into a vertex on purpose. They arrive with the grid.

A vertex whose sectors are whole multiples of forty-five degrees draws them from three values — 45°, 90°, 135° — so a degree-six vertex draws six sectors from three and at least two must coincide. Every degree-six vertex on a forty-five-degree grid has a tie, necessarily and by pigeonhole. A thirty-degree grid offers five sizes and ties are common rather than certain; a vertex whose angles are cut at random has none at all, because equality between two continuous quantities happens with probability zero.

So the ordering of the table is also an ordering of populations, and which population a measurement is about turns out to decide this one too. The cheap vertices are the ones a sampler produces and the expensive ones are the ones a designer draws, which is an awkward direction for the subject’s usual reassurance to run in.

How often a drawing crosses itselfSets of straight segments with both endpoints uniform on a square, and the share of them containing at least one crossing. Two segments cross about a quarter of the time; by a dozen, a drawing with no crossing has effectively stopped occurring.the bar is the share of random drawings with at least one crossing in them2 segments23.1%0.23 crossings on average3 segments51.2%0.69 crossings on average4 segments73.5%1.36 crossings on average6 segments95.2%3.48 crossings on average8 segments99.4%6.53 crossings on average12 segments100.0%15.30 crossings on average20 segments100.0%43.76 crossings on averageevery crease pattern in this collection has none, and none of them was drawn at random
Fig. 4 Where the expensive instances come from: how each population is drawn. A grid supplies angles that coincide by construction, and a population drawn from one carries the coincidences whether or not anybody wanted them.
How far apart the four constructions areThe ratio between the largest and smallest answer, for each question asked of the four ways of making a crease pattern. A ratio near one would mean four measurements of one thing. None of them is near one.the ratio of the highest row to the lowest, per questionhow much of the pattern is edge1.7× — cut against twistshow deep the folded stack goes2.2× — shelf against mesheshow much smaller the folded state is12.6× — shelf against cuthow much creasing per unit of paper5.8× — twists against cut
Fig. 5 Where the coincidences come from, measured across a population rather than at one vertex: the spread of costs its members produce. Most sit together and a few sit far out, and the far ones are the ties.

No vertex on a forty-five degree grid escapes

The pigeonhole argument above is stated for degree six and it is true at every degree, for a reason that is worth writing out because it turns a remark about one row of the table into a statement about a whole design discipline.

Measure sectors in units of the grid’s quantum. On a forty-five degree grid a full turn is eight units and every sector is a whole number of them, at least one. For a vertex of degree dd to have no coincidence at all, its dd sectors must be dd distinct positive whole numbers, and the smallest total dd distinct positive whole numbers can have is d(d+1)/2d(d+1)/2. At degree four that is ten, and a full turn is eight.

So there is no room. A degree-four vertex on a forty-five degree grid cannot have four distinct sectors, and neither can any vertex of higher degree, since the requirement only grows. Every interior vertex of every box-pleated design carries at least one tie, at every degree, necessarily — which is why the catalogue of six letters that grid admits contains three tied ones and three whose ties are elsewhere in the sector list, and none that is free of them.

At degree eight it is worse than a tie. Eight sectors of at least one unit each summing to eight forces every sector to be exactly one unit, so the eight-crease grid vertex has all its sectors equal and every one of its twenty-eight pairs coincident. It is the most degenerate vertex the discipline can contain and it is the centre of the preliminary base.

The threshold, and which grid crosses it

The same arithmetic gives the condition for any grid, and it explains the finer-grid result the ladder already has.

A grid whose full turn is qq units admits a coincidence-free vertex of degree dd only when d(d+1)/2qd(d+1)/2 \le q. So there is a threshold degree of about 2q\sqrt{2q}, and every vertex above it has a tie no matter how it is drawn.

On a forty-five degree grid qq is eight and the threshold is three — below the smallest degree a flat-foldable interior vertex can have, which is why nothing escapes. On a thirty-degree grid qq is twelve, the threshold is four, and a degree-four vertex can be drawn with four distinct sectors — one, two, four and five units — while a degree-six vertex cannot, since six distinct units need twenty-one. On a fifteen-degree grid qq is twenty-four and even degree six can escape.

That is the mechanism behind the earlier finding that the share of letterings needing a search falls from sixty per cent to twenty-two as the grid is refined. It is not a gradual thinning of coincidences; it is a threshold moving up through the degrees that actually occur, letting degree four out first and then degree six. And it says exactly what a designer buys by refining a grid, in a currency that has nothing to do with resolution: each refinement lifts the threshold by roughly the square root of the refinement, and everything below the threshold is decided by a chain rather than by a search.

What this does and does not say about hardness

Deciding whether a whole crease pattern folds flat is intractable, which is a theorem about the worst case over all patterns. Nothing measured here bears on it: the vertices above are decided in milliseconds, the reduction always terminates, and no claim is being made about any complexity class.

What is measured is where the work goes in a procedure that runs, on instances that exist — which is the difference a no costs more than a yes measures on a different axis of the same procedure. That is a different question from the theoretical one and it is the question a person with a pattern in front of them has.

The two answers point in opposite directions in a specific way. The theoretical answer says the difficulty grows with the size of the instance, because that is what asymptotic statements are about. The measured answer says that at the sizes anybody folds, the variation in cost between one instance and another of the same size is larger than the variation between one size and the next — so the useful predictor is a feature and not a dimension.

What each refusal spends, in the units it spends itThe work each of the five refusals does on six crease patterns, counted in the operations each test performs rather than in seconds. Four of them are polynomial in the size of the drawing; the search over orderings is refused outright on half of these.the four cheap tests are polynomial in the drawing; the fifth is notreading across a row is one pattern put to all fivecrease pairsverticespanelscreasessearch nodesthe square twist6649127,565the Miura fold703152438refusedthe waterbomb sheet2,850255276refusedthe Yoshimura3,655226586refuseda square patch3,486364984refuseda rhombille patch39,621126157282refuseda refused search is a pattern about which the expensive test says nothing at all, at full price
Fig. 6 What this does and does not say about hardness: what each refusal costs on each population, in the operations it performs. The expensive instances are not the large ones — they are the ones where two angles coincide.

The same fact, from four other directions

The coincidence is not a new object. It is the one this collection keeps arriving at, and it is worth putting the arrivals side by side because each was found while looking for something else.

Where the lemma says nothing. A degree-four vertex whose two smallest sectors are equal admits eight letterings under the conditions and folds in six, so the conditions stop being sufficient exactly at the tie.

A tie is not a decision. The crimp reduction has no forced move where two smallest sectors are offered, and the branching it then does is measured over four hundred and thirty thousand vertex-and-lettering pairs.

Which vertices are the random ones. Four populations of vertex disagree about three questions by factors, and every one of the disagreements is traceable to how often their sectors coincide.

The other grid. The share of letterings needing a search falls from 60 to 22 per cent as a grid gets finer, because a finer grid offers more sector sizes and therefore fewer coincidences.

Four measurements, four rungs, one mechanism. What this rung adds is the comparison with size — the quantity that would otherwise be assumed to be the explanation, held fixed so that it cannot be.

Which theorem was checked, and how

The cost is counted, not timed. What is reported is the number of nodes the reduction visits, which is a property of the instance and the procedure rather than of the machine; timings would measure something else entirely.

Every lettering of every vertex is asked, so the number is the vertex’s own cost rather than the cost of a lettering somebody chose.

The coincidences are counted on the angles, before any letter is written — they are a property of the vertex and not of the question being asked about it.

Both groupings are reported. Grouping by degree mixes populations that differ in coincidence, and grouping by coincidence mixes degrees; the comparison the argument rests on is the one with the degree held fixed, and the other two are shown so that the choice is visible rather than made silently.

The instances are the ones this collection already uses. The samplers are the ones four populations of vertex were drawn from, unchanged, so the rows here can be read beside that essay’s rows without reconciling anything.

The verdicts are checked against an independent search. The reduction’s answer for each lettering is required to agree with an exhaustive stacking enumeration, which shares no code with it — so a cheap decision is a correct decision and not a shortcut.

One vertex, folded away two creases at a timeA vertex of degree six, and the sequence of smaller vertices the crimp reduction takes it through. Each step folds the sector strictly smaller than both its neighbours away between them, which removes two creases and merges three sectors into one. The shaded wedge is the sector about to go.the vertex on the paper6 creases0 crimps, and what is left is one straight crease with one letterthe four conditions do not all hold · a stacking does not exist
Fig. 7 One vertex decided step by step. The chain of crimps is the work being counted, and where two sectors tie the chain becomes a tree.

Where the model stops

Degree six, and three points of degree. The comparison holds the size fixed at one value; the size comparison itself runs over degree four and six only, because deciding a vertex means enumerating stackings and the enumerator refuses above degree nine.

Coincidence is exact equality. Two sectors that differ by a millionth of a degree count as different here and are the same angle to any folder. Nothing in the measurement is about near-coincidence, which is a real and different question — and one that has no natural threshold, which is why it is not attempted.

The rows are unbalanced. Forty-three vertices at seven coincidences and three at six: the populations that produce coincidences produce particular numbers of them, so some rows of the table are thin and the figure marks how thin by the size of each point.

And the two predictors are confounded, deliberately. Vertices with no coincidence come from the random sampler and vertices with seven come from the grid, so the comparison is between populations as well as between coincidence counts. Holding the degree fixed removes size from the comparison and does not remove everything else; what it establishes is that size is not the explanation, rather than that coincidence is the only one.

What the picture cannot show

A scatter of cost against coincidence cannot show why the relation holds; the mechanism is a fact about a procedure — which move is forced and which is a choice — and a plot of outcomes has no procedure in it.

Nor can it show the shape of the individual searches. A vertex costing five nodes per lettering may be doing that by branching once at the top or by branching three times near the bottom — and whether the branch ever changes the answer is a separate question with its own measurement — and those are different experiences for anybody watching a solver run. The tree figure shows one such search and cannot show a population of them.

The idealisation, named

The vertex is a set of exact angles. Every coincidence in this essay is an exact equality between two real numbers, and paper folded by hand has no exact equalities in it at all.

That is not a small caveat and it does not weaken the finding, because the object that carries the coincidence is the pattern as drawn. A design drawn on a grid has exactly equal sectors by construction — the grid is what makes them exact — and the decision procedure is run on the drawing rather than on the paper. So the expensive instances are expensive in the software, which is where deciding actually happens.

What a solver should do with this

Three consequences, each one a line of code rather than a research programme.

Report coincidences with the instance. A solver handed a vertex knows its sector sizes before it starts, so counting the equal pairs costs nothing and predicts the work better than the degree does. A queue ordered by that count runs its cheap instances first.

Expect the grid instances to be the slow ones. A design system built for box pleating is a system whose every instance is at the expensive end of the table, and a benchmark assembled from randomly drawn vertices will report timings from the other end. That is a benchmark that will look good and predict nothing.

Do not tighten the tolerance to make ties go away. A tie is exactly equality, and a solver that treats near-equal sectors as unequal converts a branch into a forced move — which is faster and is sometimes the wrong answer, because the lemma really does say nothing there. The cost is the subject’s rather than the implementation’s.

The generalisation

Instance size is the wrong axis for practical cost, and the right axis is usually a structural feature the theory does not mention. Complexity statements are about size because size is what asymptotics need; the feature that predicts cost on real instances is a property of their structure, and there is no reason for the two to coincide.

Here the feature has an unusually clean identity: it is exactly the place where the subject’s own decision rule has no forced move. That is worth stating as a heuristic. Find where the procedure’s rule has a tie, and count the ties — that is the cost. A procedure that decides by finding an extremum is expensive exactly when the extremum is not unique, whatever the extremum is of.

The half that is uncomfortable for this subject is the population. The instances with no coincidences are the ones produced by drawing angles at random, and the instances stuffed with them are the ones produced by drawing on a grid — which is how every complex design is drawn. So the reassurance that hard instances are engineered and rare has, in this subject, exactly the wrong shape: the engineered instances are the cheap ones, and the ones a designer makes on purpose are the expensive ones.

What each refusal spends, in the units it spends itThe work each of the five refusals does on six crease patterns, counted in the operations each test performs rather than in seconds. Four of them are polynomial in the size of the drawing; the search over orderings is refused outright on half of these.the four cheap tests are polynomial in the drawing; the fifth is notreading across a row is one pattern put to all fivecrease pairsverticespanelscreasessearch nodesthe square twist6649127,565the Miura fold703152438refusedthe waterbomb sheet2,850255276refusedthe Yoshimura3,655226586refuseda square patch3,486364984refuseda rhombille patch39,621126157282refuseda refused search is a pattern about which the expensive test says nothing at all, at full price
Fig. 8 The relation once more, at a smaller number of vertices per point. The rows move and the ordering does not, which is the check that the finding is about the vertices rather than about how many were asked.

Where the ladder goes next

The obvious continuation is near-coincidence. Two sectors a thousandth of a degree apart are two sectors for the reduction and one for a folder, so a procedure that treated near-ties as ties would be cheaper and would sometimes be wrong; how much cheaper and how often wrong is a measurement nobody here has made, and it needs a threshold that does not exist naturally.

The other is the whole pattern. Everything above is a vertex, and a pattern is not its vertices: its cost is not the sum of theirs — the interactions between them are the intractable part, and whether coincidence predicts anything there is a question this measurement cannot reach.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

Every essay whose body links to this one.

The objects this essay names

Each one links to every other essay that touches it.

The big-little-big lemmaCrimpingGridSearch costSector anglesTypical instances