Generator

How often a redrawn lettering is consistent with itself

A generator in the flat-folding library, called 100 times across 26 essays. Below: what it draws at its defaults and at the arguments the essays give it, what it checked while drawing, and everywhere it is used.

letters-loop is one function. Everything below came out of it during this build, at arguments taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and when the generator changes, this page changes with it.

At its defaults

How often a redrawn lettering is consistent with itselfIndependent letterings drawn from each pattern, and how many of them the letters do not contradict. A pattern this site prints is nearly always consistent whatever letters it is given; a tessellation patch cut from the same construction almost never is.the bar is the share of draws whose letters agree among themselvesa draw that disagrees is a proof that the pattern has no flat folded state with those lettersthe preliminary base200 of 2008 panels · 8 creases · 0 contradict themselvesthe square twist198 of 2009 panels · 12 creases · 2 contradict themselvesthe Yoshimura190 of 20065 panels · 86 creases · 10 contradict themselvesthe Miura fold181 of 20024 panels · 38 creases · 19 contradict themselvesa square twist patch26 of 20049 panels · 84 creases · 174 contradict themselvesa hexagonal patch2 of 20077 panels · 142 creases · 198 contradict themselvesa rhombille patch0 of 200157 panels · 282 creases · 200 contradict themselvesthe sampler returns solutions rather than a uniform draw over them, so these are shares of what it found

view: "lengths", draws: 120

Every contradiction has an even number of panels in itThe length of every circle found in the layer relation, over every population of crease patterns here. No odd length occurs, because the panels of a flat-foldable pattern two-colour; and no length of four occurs, because a circle of four goes round one vertex and the counting theorem closes it.the bar is how many circles of that many panels were found726 circles, from 6 panels to 32, over every pattern family measured here4 panels0round one vertex — Maekawa forbids it5 panels0odd — the two-colouring forbids it6 panels21129.1% of the circles measured7 panels0odd — the two-colouring forbids it8 panels21129.1% of the circles measured9 panels0odd — the two-colouring forbids it10 panels8211.3% of the circles measured11 panels0odd — the two-colouring forbids it12 panels9513.1% of the circles measured13 panels0odd — the two-colouring forbids it14 panels304.1% of the circles measured15 panels0odd — the two-colouring forbids it16 panels314.3% of the circles measured17 panels0odd — the two-colouring forbids it18 panels172.3% of the circles measured19 panels0odd — the two-colouring forbids it20 panels141.9% of the circles measured22 panels81.1% of the circles measured24 panels152.1% of the circles measured26 panels71.0% of the circles measured28 panels20.3% of the circles measured30 panels20.3% of the circles measured32 panels10.1% of the circles measuredthe empty rows are not rare cases — they are lengths that cannot occur, and each has its own reason

view: "arcs"

The letters send the panels round in a circleOne arrow per crease, drawn from the panel that must lie below to the panel that must lie above. The direction is decided by the letter and by whether the near panel has been turned over, so the whole picture is read off the crease list without placing a single layer.each arrow points from the lower panel to the higher one9 panels · 12 creases · 12 arcsa loop of 8 panels — no order existsthe arrows are the whole of the test — nothing here asks which panels lie over which

view: "size", draws: 200

The bigger the patch, the rarer a lettering that agrees with itselfThe same twist construction over five tilings, ordered by how many panels the folded patch has, against the share of independently drawn letterings whose letters do not contradict themselves. The share falls to nothing well before the patch is large enough to be interesting.the bar is the share of draws that agree with themselvesthe rows are ordered by panel count, which is the only thing changing along them49 panels26 of 200square · 84 creases · 26 of 20062 panels5 of 200elongated · 106 creases · 5 of 20077 panels2 of 200hexagonal · 142 creases · 2 of 20083 panels0 of 200triangular · 142 creases · 0 of 200157 panels0 of 200rhombille · 282 creases · 0 of 200a zero is a zero of the draws taken and not a proof that no consistent lettering exists

What it checked while it drew

Collected by running this generator with a listener on the assertions, not written here. The count is how many separate times this build put that claim to the test.

Where it is called

Changing this generator changes every figure on this list, which is what makes the list worth publishing rather than keeping in a check script.

A contradiction is even

A crease pattern's letters can demand a circle of panels each of which lies below the next, which is a proof that the sheet has no folded state. Every such circle found here — one thousand one hundred and forty-nine of them, across every family of patterns this collection draws — has an even number of panels in it, and none has four. Both facts are theorems rather than observations, and they come from opposite ends of the subject.

A corrugation agrees with itself

A Miura fold of forty-eight panels and a twist tessellation patch of forty-nine have almost exactly the same number of independent closed chains for their letters to contradict themselves round — thirty-five against thirty-six. Sixty-four per cent of the Miura's drawn letterings are consistent and thirteen per cent of the patch's. A Yoshimura at thirty-three chains manages ninety-three. The room to fail sets the scale; the construction decides where in it a pattern lands.

A population that cannot fail

Thirty-three crease patterns are kept here to run the checkers over, and every one of them has letters that agree with themselves. That is not a property of the patterns. It is a property of how they were made: each came from a construction that returns a lettering, so a test looking for letters that contradict themselves has nothing to fire on. Reletter the same thirty-three and the failure is available at once — on one member, four of sixty redraws.

A proof in one pass

Deciding whether a crease pattern has a flat folded state is hard, and the search that decides it gives up at twenty-four panels. One line of the same machinery does not search at all: each crease says which of the two panels it joins lies above the other, and a circle in what those statements demand is a proof that no folded state exists. It costs one pass over the crease list, and on a tessellation patch of a hundred and fifty-seven panels it answers in milliseconds.

A search with nothing to reorder

One search on a crease pattern costs eighty steps or fifteen thousand depending on the order it takes its decisions in. The other search on the same crease pattern costs 1,188,571 steps whatever order it is given — twelve permutations of the panels, twelve identical counts. The difference between them is one line of code that neither has and one has.

Consistent is not foldable

The square twist has 4,096 mountain-valley labellings. Two hundred and fifty-six satisfy every condition at every vertex; two hundred and fifty-two of those have letters that do not contradict themselves; and eight have a folded state. So the cheap proof that reads the letters in one pass accounts for four of the two hundred and forty-eight failures, and the other two hundred and forty-four are refused by a search over orderings that nothing shorter replaces.

Every move leaves the verdict

The only change a folder can make to a lettering without breaking it is to push one vertex through, flipping two creases at once. Try every such move on five tessellation patches, from two different letterings each: nineteen of two thousand nine hundred and sixty-four survive the conditions, and not one of the nineteen turns a lettering that agrees with itself into one that does not, or the other way about.

Four easy patches and one that is not

Run the same search a hundred and twenty times on each of five tessellation patches, changing nothing but the order the letters are tried in. Four of them answer in between twenty-five and fifty-three steps every single time. The fifth answers in eighty-four steps at best, a hundred and sixty-six in the middle, and does not answer at all in forty-eight runs of the hundred and twenty.

Four populations with nothing to separate

This collection keeps four standing populations of crease patterns to test its machinery against. Twenty-eight patterns, sampled forty times each for a lettering that agrees with itself and then searched for one — and on every single member the two methods return the same verdict in the same breath. The patterns that separate them are in none of the four, and the reason they are not is what the populations are for.

Letters that agree get rarer

Two hundred letterings drawn independently from a square twist tessellation patch, and twenty-six of them have letters that do not contradict themselves. On the next patch up it is five, then two, then none, then none. What the share falls with is not the size of the patch and not the angle of its twist: it is the number of independent closed chains its panels form, which is Euler's relation on the drawing and is fixed before a single letter is chosen.

One cut removes one arc

A crease pattern whose letters contradict themselves has, in principle, an obvious smallest repair: cut one crease and the statement it was making goes away. Cut every crease of four tessellation patches in turn — four hundred and seventy-four cuts — and sixteen of them leave a sheet whose panels still land anywhere at all. A cut gives the paper a freedom, and a sheet with a freedom in it has no folded state to order.

One solution of a search nobody ran

A crease pattern arrives with its letters already on it, and they look like part of the drawing. They are not. Every construction here ends in a propagation, a propagation ends wherever its first guess took it, and the lettering that comes out differs from the one a search finds on between a half and three-fifths of the creases — on patterns whose own letters are perfectly good.

One witness or forty

Taking the randomness out of a search made it three orders of magnitude cheaper in the worst case and cost it thirty-nine of its forty answers. The compromise everybody reaches for — randomise only the choices that cannot matter — recovers four of the forty on two patches and none on the other three, because the diversity was never where it looked.

The first thing about layers

A folder is taught four conditions at a vertex, or is taught nothing at all, and neither one says anything about the layers — which is where most of what goes wrong actually goes wrong. There has never been a rule about layer order simple enough to teach, because the question is global and every answer to it was a search. A chain of panels whose arrows all point the same way is the first one that fits on a finger.

The lettering nobody could draw

Two hundred letterings drawn at random from the rhombille tessellation patch, and not one of them agrees with itself. Two thousand, and still not one. The patch was left as an open question — and it has an answer, found in five hundred and sixty-one steps by a search that tests the arcs while it is choosing the letters instead of after it has chosen them all.

The letters a crumple was given

A sheet creased by folding it and folding it again arrives with a mountain-valley labelling that cannot be wrong, because a folding produced it. Nothing about the pattern protects it: reletter the same creases and the share of labellings whose letters agree falls from every one of forty at eight panels to eleven of forty at forty-one. The foldability of a crumple is a fact about its history, not about its drawing.

The loop a vertex cannot close

A crease pattern's letters can contradict themselves, and the contradiction is never local. Enumerate every mountain-valley labelling of a single interior vertex at degree four, six and eight — a hundred and fifty pass every condition the subject has — and not one of them sends its panels round in a circle. The one labelling that would is refused by Maekawa, alone: Kawasaki holds on it and so does the big-little-big lemma.

The loop is not the tangle

A search that finds a contradiction in a pattern's letters reports the first circle it meets, and on a tessellation patch that is eight to twelve panels of forty-nine. It reads as a local fault. Decompose the same arrows a second way and the set of panels that lie on some circle is thirty-five of forty-nine on the square patch and ninety-nine of a hundred and fifty-seven on the rhombille — which is why the smallest available repair does not reach it, and cannot be tried on most of the creases at all.

The refusal that reads the list once

There are five ways of saying no to a crease pattern here, and their costs are two hundred and eighty-two, a hundred and twenty-six, a hundred and fifty-seven, thirty-nine thousand six hundred and twenty-one — and a search that is refused outright. On the largest patch the four cheap tests together do less work than one of them looks like it should, and the fifth cannot be started. A refusal that reads the crease list once is the only kind that scales.

The ring is the loop

The square twist's central polygon is four creases enclosing one panel, and a lettering that gives all four the same letter has no folded state. That was established by enumerating the orderings of nine panels. It can now be read off the crease list in one pass, because the eight panels the letters send round in a circle are exactly the ring — the twist's own defining feature, contradicting itself.

The rule that breaks the count

The waterbomb tessellation has five hundred and twelve repeating rules for its letters and thirty-two of them fold. A hundred and twenty of the other four hundred and eighty send four panels round in a circle — the shortest circle a crease pattern can have — and every single one of those hundred and twenty has broken Maekawa's count at the very vertex the circle goes round. The theorem that closes the shortest circle, caught doing it, a hundred and twenty times.

The taper decides nothing

A leaf's corrugation narrows toward its margin, and the taper is what the pattern is for. It has no effect whatever on how often the pattern's letters agree with themselves: four width profiles from perfectly even to strongly tapered give a hundred and seventy-four consistent letterings of two hundred, identically. What moves the number is the count of rows, and on that measure a leaf tracks a Miura rather than the corrugation it most resembles.

The test that never fires on a map

The cheapest refusal this collection has reads a crease list once and reports that no arrangement of the layers exists. Enumerate every labelling of every map from two panels to nine and it fires on four of the four hundred and fifty-four — all four on the largest map, none at all below it. On the oldest open problem in the subject, the cheap test has essentially nothing to say.

Twelve creases a micrometre long

A patch this collection has drawn for a long time carries a hundred and forty-two creases and a hundred and thirty arcs, and nobody had asked what the other twelve were. They are fragments left where the clip caught a pleat almost exactly at a corner — between one and nine micrometres long on a printed sheet, at one turn angle out of four, and it is the turn the collection prints.

Two refusals that refuse differently

Four of the six developable quadrilateral meshes this collection solves have no ordering of their nine panels — they must pass through themselves, and a search over every ordering proves it. On all four, the letters agree with themselves perfectly. The linear proof and the exponential search are not a fast test and a slow one: they answer different questions, and neither contains the other.

Which condition does the refusing

A search for a lettering carries five conditions: developability, Kawasaki, Maekawa, the big-little-big lemma, and the demand that the arcs the letters force have no circle in them. Run it on five tessellation patches and count what makes it take a letter back. The four everybody checks refuse nothing at all. Every single backtrack is the fifth.

Every generator · The flat-folding field · The patterns a reader can fold