Flat-folding

The difficulty was in the coin

One tessellation patch, one search, one test at every node — and a cost that runs from eighty-six steps to fifteen thousand depending on nothing but the starting seed. The heavy tail is real, it was measured carefully, and it was made by a single line of the search that nobody had thought of as a choice at all.

Assumes The lettering nobody could draw and Stopping is cheaper than finishing.

A lettering of a crease pattern is consistent when the statements it makes about which panel lies above which do not contradict one another. A circle in those statements is a proof that the pattern has no flat folded state with the letters it is carrying, and it costs one pass over the crease list to look for.

That test can be applied while the letters are being chosen rather than after they have all been chosen, and doing so turns a sampler into a search. The rhombille tessellation patch — a hundred and fifty-seven panels, two hundred and eighty-two creases, and not one consistent lettering in two thousand random draws — gave one up in five hundred and sixty-one steps to a search arranged that way.

It also gave up a number that looked like a fact about the patch. Run the same search again from a different starting seed and it costs something else entirely: eighty-six steps on a good day, two and a half thousand at the median, and past thirty thousand on a bad one, with a quarter of the runs not finishing at all.

The coin's forty answers and the constant's one, on the rhombille patchNode counts for 40 runs of one lettering search on one crease pattern of 157 panels and 282 creases, ranked. Under the search's own random choice of which letter to try first the cost runs from 86 to 15872 with 15 runs unfinished; under a constant choice every run costs 80.the dot is one run's cost, ranked; the rule is the constant order1001e+31e+4nodes visited40 seeds, ranked by cost80 nodes, every seed15 unfinished at 20,000same pattern, same conditions, same test at every node — the only difference is which letter is tried first
Fig. 1 Forty runs of one search on one crease pattern, ranked by cost. Fifteen of the forty do not finish inside twenty thousand steps; the ones that do run from eighty-six steps to fifteen thousand eight hundred and seventy-two. The dashed rule is the same search with one line changed.

That spread is what a hard instance looks like, and this is not one. The whole of it comes from a single line.

Two choices, and only one of them was ever examined

A backtracking search makes two decisions at every node, and they are entirely different decisions.

The first is which variable to decide next: which crease, of the ones the conditions have not already settled, to write a letter on. There is a standard answer to that — take the vertex with the fewest labellings still available, so that a contradiction surfaces close to the decision that caused it — and the search uses it, deliberately, with a comment beside it explaining why.

The second is which value to try first: having picked a crease, whether to write a mountain on it or a valley. And that one was a coin toss.

The coin was not carelessness. It was there for a stated purpose: twenty seeds were wanted to produce twenty different letterings, so that a witness would not look like the only one the pattern had. Without randomness somewhere in the search, twenty seeds produce one lettering twenty times over, and a reader shown a single consistent lettering has no way to tell a rich solution set from a lonely one.

So a coin went into the value choice, because that is the cheapest place to put one and because nothing about it looked like it could matter. The variable order is where the literature says the cost lives. The value order is a tie-break.

What happens when the coin is replaced with a constant

Replace it with the crudest thing available — try a valley first at every node, on every pattern, always — and the patch settles in eighty steps. Not eighty on average. Eighty on every seed, because a search with no coin in it has nothing left to vary and every run is the same run.

Eighty against a median of two hundred and fifty is a factor of three, which is worth having and is not the point. The point is the fifteen thousand eight hundred and seventy-two, and the fifteen runs of forty that did not finish at all. Those are gone. There is no tail, because there is no distribution: the search takes one path and the path is short.

The comparison is exact in a way that comparisons of search strategies usually are not. Same pattern. Same vertex conditions, computed by the same code. Same test for a circle in the arcs, applied at the same nodes. Same rule for choosing which crease to decide. The only difference is which of two letters is written first, and the whole of the spread lives there.

One node per panel: the tapered leaf, at six geometriesNodes visited against panels, for 4 crease patterns of one family searched under a constant letter order. Every point lies on or under the diagonal, which is a search that never backtracks.each point is one pattern: panels across, nodes up0010102020one node per panelnodes visitedpanels3 columns to 6 columns, and not one backtrack anywhere in the family
Fig. 2 What a short propagation looks like when it is measured: the tapered leaf at four widths, one step per panel, no wrong turn anywhere. On a pattern like this a bad first letter is contradicted a vertex later and costs nothing.

Why a letter can cost that much

It is worth being clear about the mechanism, because “the value order matters” is the kind of sentence that sounds like a rule of thumb and is here a statement about one shape.

The vertex conditions propagate. Writing a letter on one crease often forces letters on several others, those force more, and a single decision can settle a quarter of the sheet before the propagation stops deciding anything. That is what makes the search cheap when it works: most creases are never chosen at all, they are deduced.

It is also what makes a wrong first letter expensive. A decision that propagates widely and is wrong does not produce a contradiction where it was taken. It produces one somewhere on the far side of everything it forced, after the search has gone on to take a dozen further decisions inside the region it has committed to — and unwinding it means unwinding all of them. On a patch whose vertices are alike, the propagation is short and local and a wrong letter costs a few steps. On the rhombille, where the side distances differ from vertex to vertex and the propagation runs further, a wrong letter can commit the search to a region with no consistent lettering in it and several thousand steps of patient exploration inside that region before it comes back out.

A coin takes that decision at random. A constant takes it the same way every time, and on this family it happens to take it the right way — not because valleys are special, but because the pattern’s own geometry makes one of the two commitments survivable and the other not.

The distribution was the instrument’s

This is worth being blunt about, because the collection has a measurement standing on the other side of it. The tail was fitted, priced and reasoned about: stopping early and starting again costs five hundred and twelve steps in expectation against sixteen thousand for patience, and the curve rises monotonically with no interior optimum. Every one of those numbers is right.

They are right about a distribution the search manufactured. A run-time distribution requires runs that differ, runs differ only if the search has a coin in it, and the coin was in the one place where it changes everything. Take it out and there is no distribution to fit — one run, one cost, no variance to price a strategy against.

A strategy against the absence of the problem it solvesThe expected total cost of cutting a lettering search off after a given number of nodes and starting again with a new seed, against the cost of not randomising the search at all. The curve is a correct answer about a distribution the search itself produced.the curve is stop-and-restart; the rule is a constant letter order1001e+31e+41001e+31e+4563 at a cutoff of 10080 nodes, deterministic, nothing to restartexpected nodes in totalcutoff, in nodes
Fig. 3 The expected total cost of cutting the search off after a given number of steps and restarting with a fresh seed, against the cost of not randomising it in the first place. The curve is a correct answer to the question it was asked.

There is a sharper way to say it. A restart strategy reseeds a search that has taken a bad first decision. A search with no seed in it cannot be restarted — restarting it produces the identical run — so the strategy is not merely unnecessary here, it is undefined. The cure and the disease arrive in the same package, and the package was borrowed whole from somewhere else.

The tail had no mean

The distribution the coin manufactured is worth characterising rather than described, because the character explains why the restart analysis was the right medicine for a self-inflicted illness.

Forty runs, a median of about two thousand five hundred steps, and fifteen of the forty — 37.5 per cent — still going at twenty thousand. Fit the simplest heavy-tailed form, P(T>t)tαP(T > t) \propto t^{-\alpha}, to those two points: halving at 2,500 and surviving to 20,000 at 0.375 gives

8α=0.75α0.148^{-\alpha} = 0.75 \quad\Longrightarrow\quad \alpha \approx 0.14

That number is rough — forty runs, fifteen censored — and the conclusion it supports is not. For the mean to exist at all, α\alpha must exceed one, which would require the survival to fall from a half at 2,500 to an eighth at 20,000. It falls to three quarters.

So the expected running time of the randomised search does not exist. Not “is large”: is undefined, in the sense that averaging more runs makes the average grow rather than settle.

Which makes two of the reported numbers incomparable

That has a consequence for how the earlier measurement should be read, and it is sharper than the essay’s own correction.

A median of 2,500 and an expected cost of 16,000 for patience are not two summaries of one quantity. The median is a real statistic of the distribution; the expectation is an artefact of the twenty-thousand-step cutoff, and moving the cutoff moves it without bound. Quoting them side by side invites a comparison the distribution cannot support.

It also explains why the restart strategy came out so far ahead. Cutting a heavy-tailed search off and restarting is the textbook remedy for exactly α<1\alpha < 1 — it converts a distribution with no mean into a geometric one, which has a mean by construction. The analysis was correct, the remedy was the right remedy, and both were addressed to an illness the search had given itself in its value-ordering line.

So the three numbers survive in different conditions. The 512 is right as an answer about restarts under this distribution. The 16,000 is a truncation artefact. And the whole distribution is an instrument reading, which is what the constant order proves by having none: eighty steps, every time, a point mass with a mean and a median that agree because there is nothing else for them to be.

What the coin was buying, which was not nothing

A constant order is cheaper and it is also poorer, and the second half is easy to leave out of a comparison that only measures cost.

What the coin was buyingThe number of distinct letterings returned by the same search under three orders, on one tessellation patch. A coin at every choice returns a different lettering nearly every run; a constant returns the same one every time, which is what the cheaper cost is paid for.the bar is how many DIFFERENT letterings 20 runs returneda coin at every choice1414 of 20 runs found onea constant, with the coin only on the creases no vertex constrains120 of 20 runs found onea constant at every choice120 of 20 runs found oneon the rhombille patch, 157 panels and 282 creases
Fig. 4 The number of different letterings twenty runs return under three orders. Every lettering counted has been written back onto the pattern and checked by the conditions at every vertex and by a folded sheet rebuilt from scratch, so these are verified witnesses rather than strings that happen to differ.

Forty seeds under the coin returned forty distinct letterings. Forty seeds under a constant returned one, forty times. That is the trade, stated as a trade: three orders of magnitude of worst-case cost against every witness but one.

The obvious compromise does not work. Spending the seed only on the creases that no vertex constrains — creases genuinely free by construction, where a coin cannot lead the search anywhere — costs exactly what the constant costs and returns four distinct letterings of twenty on two of the five patches and one on the other three. The diversity is not sitting in the free creases. It is in the branch decisions, which is precisely where it is expensive, and there is no arrangement here that has both.

A collection that wants many witnesses and a cheap search has to ask for them separately: run the constant order once to establish that the pattern has a lettering at all, and then, knowing the answer is yes, spend a randomised budget on collecting different ones.

The order does not matter anywhere else

The natural worry about a finding like this is that it is about one pattern, and it very nearly is.

One node per panel: the orthogonal grid a box-pleated base is drawn onNodes visited against panels, for 9 crease patterns of one family searched under a constant letter order. Every point lies on or under the diagonal, which is a search that never backtracks.each point is one pattern: panels across, nodes up00100100200200one node per panelnodes visitedpanels2 by 2 to 16 by 16, and not one backtrack anywhere in the family
Fig. 5 Steps against panels for the orthogonal grid a box-pleated design is drawn on, at nine sizes, under a constant letter order. Every point lies on the diagonal: four panels, four steps; two hundred and fifty-six panels, two hundred and fifty-six steps. The search never turns round once.

Across the grids, the crumples, the leaf patterns, the fold-and-cut patterns and the four corrugation families, a constant order costs one step per panel and no backtracking at all. The coin costs one step per panel and a handful. Neither arrangement has a tail on any of them and there is nothing to choose between the two.

Across ninety-six twist tessellation patches drawn over a grid of tiling, turn angle and pleat width, the coin costs twenty-five to fifty-six steps and the constant twenty-one to forty-seven. Again nothing.

The tail lives on the rhombille and nowhere else, and the rhombille is not an arbitrary member of the family. It is the one tiling of the five whose vertices are not all alike, which means the matching condition that gives every vertex its own side distance has something to propagate there and nothing to propagate on the others. Cutting a patch out of the plane is where that construction is set out; the consequence here is that the one family whose letters are hard to choose is the one family whose distances had to be solved rather than assumed.

Why the structure does not rescue the other choice

If the difficulty is in the value order, the tempting move is to attack the variable order harder — to use the pattern’s structure to pick better creases to branch on rather than better letters to try.

The circuits a lettering orients, on the rhombille patchThe rhombille tessellation patch with each crease drawn heavier the more of the arc graph's 126 independent circuits it lies on, from 1 to 24. The circuits are a property of the drawing: a lettering points each arc and cannot move it.heavier means the crease lies on more independent circuits157 panels, 282 arcs, circuit rank 126; circuits run from 4 to 26 arcs
Fig. 6 The rhombille patch with each crease drawn heavier the more of the arc graph’s independent circuits it lies on. There are a hundred and twenty-six of them, running from four arcs to twenty-six, and the count on each crease is fixed by the drawing: a lettering points an arc and cannot move it.

A circle in the arcs has to run round a circuit of the panel graph, so the creases lying on many circuits are the creases most likely to be involved in a contradiction. Branching on those first is the improvement anybody would try, the structure is perfectly real, and it is computed here from a spanning tree in a few milliseconds.

It buys nothing. On the eighty-seven patches of the uniform grid that have a lettering, branching on the circuits is never cheaper than the standard rule and is worse on fifty-two of them. On the triangular patch it turns a worst case of fifty-one steps into two thousand three hundred and ninety-four. Which of the two choices the cost lives in takes that measurement apart, and the short version is that the structural rule is answering a different question from the one being asked.

Which theorem was checked, and how

Nothing above is a claim about flat-foldability. The arcs are a necessary condition on a lettering and no more: no circle means the letters do not contradict one another, and the two non-crossing rules can still refuse every ordering of the panels afterwards. Four of six quadrilateral meshes are exactly that case — the letters agree and no stacking exists.

What is checked is the witness. Every lettering counted in any figure here has been written back onto the pattern and put past two instruments that did not find it: the four conditions at every one of the patch’s hundred and twenty-six interior vertices, and a folded sheet rebuilt from the coordinates and walked for a circle. A witness the search believes and those two do not would be a defect in the search rather than a result, and the check is there because that is the part of the arrangement most able to be quietly wrong.

A lettering of the rhombille patch that agrees with itselfThe rhombille tessellation patch, lettered by a search that tests the arcs the letters force at every step rather than after every letter is chosen. Mountain and valley are distinguished by colour and by dash. Every panel of the folded sheet can be ordered consistently with these letters, which is not true of the lettering the construction itself produces.a lettering of the patch that agrees with itselffound by testing the arcs while the letters were chosen, not after561 nodes · 246 backtracks · verified against a rebuilt folded sheet157 panels · 282 creasesits own lettering sends its panels round in a circle0 of 200 random letterings agree with themselvesthis one was found in 561 nodes and 246 backtracksit differs from the drawn lettering on 155 of 282 creasesthe drawing is the pattern; nothing here is a picture of the folded object
Fig. 7 The lettering the constant order returns. It is the same kind of object the coin returns and it is not the same object: eighty steps found this one, and it is the only one that order will ever produce.
Where a twist tessellation has no consistent letteringEvery combination of 4 tilings and 6 turn angles, each patch searched to a verdict. A green cell has a lettering that agrees with itself; a magenta cell has none, proved by exhausting the search rather than by failing to find one.each cell is one patch, searched to a verdictgreen: a lettering exists · magenta: none exists, by exhaustion0.150.350.70.91.11.3turn angle, in radianssquare262626262626elongated153231313232hexagonal153945464545triangular153939373737the number in a cell is the nodes the search visited; 3 of 24 patches have no lettering at all
Fig. 8 Where the tail is not: every patch of four tilings across six turn angles, each settled in a few tens of steps whichever way the search is arranged. The spread that took a great deal of work to explain belongs to one tiling and one line of one search.

What the picture cannot show

A step is not a unit of work. Each node of the search runs the vertex conditions to a fixed point and then tests the arcs, and both of those cost more on a large pattern than on a small one — so a count of steps is a count of decisions rather than of seconds, and two patterns with the same count can differ by a factor in wall-clock time. Every comparison here is between two arrangements on the same pattern, which is what makes the step count a fair measure of the difference; comparing step counts across patterns of different sizes, as the ladder figure does, is a weaker statement and is drawn against panels for that reason.

Nor is a constant order guaranteed to be good. It is guaranteed to be deterministic, which removes the variance, and on every pattern measured here it also happens to be at least as cheap as the coin’s best run. There is no theorem behind the second half. A pattern on which trying a valley first walks into a large fruitless subtree and has to back out of it is perfectly imaginable; none has turned up, and the honest statement is that none has turned up rather than that none exists.

What this corrects in the collection’s own record

The essay that reported the tail said the search’s cost had a heavy tail and left the mechanism open. The mechanism is now closed and it is unflattering: the instrument was producing the phenomenon it was measuring.

The three sentences that need reading differently are the ones about the rhombille’s cost being evidence of anything about the rhombille. Its cost under a randomised value order is evidence about a randomised value order. What survives is the comparison, which was always between patches measured the same way — the rhombille really is the one of the five that is different, and the difference really does show up as search cost. What does not survive is any reading in which twenty thousand steps is a property of the pattern.

Where the ladder goes next

Two directions, and one of them turns the finding around completely. Swapping every letter on the sheet at once shows why the two constant orders cost exactly the same and cannot do otherwise, which is the only reason a single constant is safe to recommend. And the order that decides a negative is where the variable choice comes back: it does nothing for a search that finds something, and on a search that finds nothing it is worth four orders of magnitude in whichever direction the pattern happens to decide.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

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

What links here

The 8 essays that link to this one and share the most of its objects, of 21 that link here.

The objects this essay names

Each one links to every other essay that touches it.

AssignmentBacktrackingDeterminismLayer orderPatchSearchSearch costWitness