The chain before the lengths

A machine with one dyad in it

Two hundred and forty joints, and two hundred and thirty-eight of them can be placed one at a time from parts already positioned. The whole of what has to be solved simultaneously is a single pair — the arm and the parallelogram carrying its second angle home. Size and structural depth are different axes, and a compiled machine is extreme on one and trivial on the other.

Assumes What has to be solved together.

The topology field’s question is which parts of a mechanism have to be solved together. Its answer is Assur decomposition: peel off groups of links that become rigid when their outer joints are held, and what is left is what cannot be peeled.

A four-bar has nothing to peel. Hold its two ground pivots and the remaining two joints are determined together, not one after the other — two circles meeting in two points is a dyad, and a dyad is the smallest thing that must be solved as a pair.

That is at four links. This rung applies the same walk to a machine of four hundred.

The walk

Start with the grounded joints. Then repeatedly: place any joint whose position is fixed by things already placed.

A joint is fixed when it has two independent conditions against placed parts. Two bars to placed joints — two circles, two intersections. A rail whose line runs between two placed joints, plus one bar. A slide, plus one bar. Or a rigid attachment to a placed link, which is two conditions on its own and is why a rigid offset has one placement where a pair of bars has two.

When nothing can be placed alone, look for a dyad: two unplaced joints joined by a bar, each with one other placed anchor. Place both at once, and continue.

If the walk finishes, the machine has no simultaneous solve larger than a dyad in it. If it stalls, what remains is an Assur group of higher order, and the topology field’s census is about which of those exist.

What it finds

A machine with one thing in it that must be solved at once. Each compiled machine's joints, walked in the order they can be placed: a joint goes down as soon as two things already placed decide where it is. Every one of these machines unwinds completely, and each contains exactly one pair that has to be solved together — the arm and the parallelogram that carries its second angle back to the pivot. Nothing larger than a dyad appears in a machine of two hundred and forty joints. The topology field's four-bar, at four, has no such decomposition at all; a compiled linkage is enormous and structurally trivial, which are not the same axis.
Fig. 1 Three compiled machines’ joints, walked in the order they can be placed. Every one unwinds completely, and each contains exactly one pair that has to be solved together.
A machine with one thing in it that must be solved at once. Each compiled machine's joints, walked in the order they can be placed: a joint goes down as soon as two things already placed decide where it is. Every one of these machines unwinds completely, and each contains exactly one pair that has to be solved together — the arm and the parallelogram that carries its second angle back to the pivot. Nothing larger than a dyad appears in a machine of two hundred and forty joints. The topology field's four-bar, at four, has no such decomposition at all; a compiled linkage is enormous and structurally trivial, which are not the same axis.
Fig. 2 The same walk on a larger machine. The order it produces is longer and the dyad it has to stop at is still one block, which is what makes the block rather than the machine the unit the solver is organised around.

The hyperbola’s machine: twenty joints, sixteen placed alone, one dyad.

The cubic’s: sixty-nine joints, sixty-five placed alone, one dyad.

The quintic’s: two hundred and forty-two joints, two hundred and thirty-eight placed alone, one dyad.

The dyad is the same one every time, and it is the arm. Drive the crank and the arm’s first joint is fixed; its tip and the fourth vertex of the parallelogram carrying the second arm angle back to the pivot are then determined together, because each has one bar to a placed joint and one bar to the other.

Everything else — every reflector, every mean, every rigid offset, every one of the hundred and fifty-four translators — places alone.

The machine compiled from a rectangular hyperbola. xy − 0.5, compiled: 20 bars and 20 joints, painted by what each part is for. The two-link arm at the pivot carries the tracing point; the reflectors and means build each term's angle; the rigid offsets fix the constant φₖ and the amplitude; the translators carry those directions out along the summing chain, whose last vertex is held on a line. That last constraint is the equation. Every joint drawn is the output of a Newton–Raphson solve on 36 equations, converged to 4.2e-16, and the polynomial at the tracing point is 2.2e-16.
Fig. 3 A small compiled machine, painted by what each part is for. Every gadget places its output from parts that already exist, which is what makes the walk finish.

Why it comes out that way

Because the machine was built that way, and the building is what the gadget architecture is.

Every gadget places its output from parts that already exist. A mean’s far vertex is fixed by two bars to links already at the pivot. A reflector’s output is fixed by a bar to its own far vertex and a bar to the pivot, and its far vertex is fixed by a bar and the mirror line. A translator’s output is fixed by two bars to joints one hop back along the chain.

So the arithmetic half of a compiled machine is a directed acyclic graph: nothing is ever built from something built from it, because the multiples strictly decrease at every step of the recursion, and the summing chain runs outward from the pivot and never back.

An acyclic construction unwinds. That is not a discovery about compiled machines; it is what construction means, and the walk is the check that the implementation actually has that property rather than merely being described as though it did.

The walk had to be taught about dyads

The first version of the walk placed joints one at a time and nothing else, and it stalled immediately on every machine — with every free joint unplaced, including the arm’s.

That is the right answer to the wrong question. An undriven compiled machine has two degrees of freedom, so nothing in it is determined at all, and a walk looking for determined joints correctly finds none. Driving the crank fixes one, and the arm’s tip and the parallelogram’s fourth vertex then form a pair each of whose members has one placed anchor and one bar to the other.

Adding the dyad step is what makes the walk answer the question the field actually asks — what has to be solved together — rather than what is determined by two bars. Without it the walk reports every mechanism in the subject as completely undetermined, which is true and useless.

A four-bar is the case that forces this, and it is the reason Assur’s decomposition starts at dyads rather than at links. Any walk that cannot place a dyad cannot place a four-bar, and a tool that cannot handle the smallest interesting mechanism in the subject is not a tool.

How much of a compiled machine is computing anything. Each machine's bars split two ways: the ones that build an angle — reflectors, means, rigid offsets, the arm — and the ones that carry a direction from where it was computed to where it is needed. On the smallest machines the arithmetic is nearly all of it. By the quintic the carrying is 80 per cent, and it goes on rising, because the arithmetic grows with the number of terms and the carrying grows with the number of pairs of them. That is the answer to why a universality construction is enormous, and it is not about the algebra being hard.
Fig. 4 What the joints are: mostly translator outputs, one joint and two bars each.

What makes this worth measuring

Two things, and the second is the one that belongs to this field rather than to the computing one.

The check catches a class of error. A compiler that accidentally built a loop — two gadgets each taking the other’s output — would produce a machine that still solved, because Newton does not care about construction order, and whose behaviour would be subtly different. The walk would stall on it. Nothing else in this field’s machinery would notice.

The result separates two axes that get conflated. A mechanism can be large and it can be deep, and this site’s own vocabulary has not kept them apart. The topology field’s interesting objects are deep: chains with Assur groups of order two and three, where several joints have to be found at once and no construction order exists. A compiled machine is enormous and has none of that.

Four links can be deeper than four hundred. The four-bar is the smallest mechanism in the subject with an irreducible pair, and the quintic’s compiled machine has exactly the same irreducible content — one dyad — in sixty times the parts.

Where a compiled machine sits among the field’s own objects

The topology field has a scale of its own, running from chains that fall apart into dyads to chains that do not, and it is worth locating a compiled machine on it precisely.

A slider-crank is a dyad on a driven crank: shallow, four links, and every position solvable in closed form. That is why it appears in every textbook’s first chapter.

A four-bar is one dyad, and it is already past what a construction handles without a choice: two circles, two intersections, and which one is an assembly branch rather than a computation.

A Stephenson six-bar contains an Assur group of order two, and its solution needs a resultant. The field’s dwell mechanism is one, and its position analysis is genuinely harder than a four-bar’s rather than merely longer.

A compiled quintic is at the shallow end with the slider-crank, four hundred bars along.

That ordering is the point. The field’s difficulty scale is not the field’s size scale, and a reader who has spent a phase on censuses of ten-link chains might reasonably assume the two are related. They are not related at all, and a machine sixty times larger than the largest object in the census is at the easy end of the scale the census is about.

Every curve in the catalogue, compiled and counted. The bar count is not a formula: it is the number of bar constraints the compiled mechanism actually carries, asked of the object rather than predicted. A line costs five bars and a quintic four hundred and thirteen, which is the field's central number — exactness is paid for in size. The all-revolute column replaces the one prismatic pair that closes the chain with a Peaucellier cell, which costs seven bars whatever the curve, so it is more than half the machine on a line and a rounding error on a quintic. The last column is the polynomial evaluated at the traced point, worst over each machine's working arc.
Fig. 5 The machines being walked, with their sizes: four hundred bars and one dyad.

What the depth would have cost

It is worth saying what would be different if the walk had stalled.

A machine with an Assur group of order two contains four joints that must be found together, which means a polynomial system with a resultant and more than one solution to choose between. At order three it is worse. Every such group is a place where the mechanism’s configuration is not determined by construction and where a solver may find a different answer than intended.

A compiled machine has one such place — the arm — and its two solutions are the arm’s two elbow positions, which is the ordinary two-branch situation of any two-link chain.

That does not mean a compiled machine has only two assemblies. It has 2k2^k, and the branch census counts them. The difference is where they come from: not from irreducible groups, but from each individually-placed joint having two circle intersections to choose between. A machine can be shallow and still have an enormous number of assemblies, and the two facts are about different things — depth is about what must be solved together, and branch count is about how many answers each solve has.

Counting the two kinds of placement

The walk reports two numbers per machine and the split between them says what the machine is made of.

On the quintic: two hundred and thirty-eight placed alone, one dyad. Of the two hundred and thirty-eight, most are translator outputs — one joint each, two bars each, a hundred and fifty-four of them — and the rest are reflector and mean vertices and rigid offsets.

The rigid offsets are the interesting minority. An offset’s joint is placed by a single constraint that supplies two conditions, so it has one placement rather than two, and it contributes nothing to the branch count. Every other joint in the machine contributes a factor of two.

So the walk incidentally counts something the branch census needs: how many of a machine’s joints have two placements. On the quintic that is two hundred and forty-two joints less the offsets, which is why the census caps what it enumerates and reports a lower bound rather than a total.

The order the walk produces is not unique

One property worth recording, because it makes the walk’s output weaker than it might appear.

At each round the walk places everything it can, so its output is a sequence of rounds rather than a single ordering, and within a round the order is whatever the joint list happened to be. A different traversal would give a different sequence and the same verdict.

That is fine for the question being asked — does an order exist is not sensitive to which one — and it means the printed order is not a canonical object and should not be treated as one. The topology field is careful about this elsewhere: a canonical form is a thing two of which can be compared, and a construction order is not one, because two runs on the same machine can produce different sequences.

What is canonical is the verdict and the counts: complete or stuck, how many placed alone, how many dyads, and what the largest irreducible group is. Those do not depend on the traversal, and they are what this rung quotes.

Why the site solves it anyway

If every joint can be placed in order, the Newton–Raphson this site positions everything with is doing work a compass and straightedge could do. It is worth saying why it is used regardless.

Construction order chooses a branch at every step and says nothing about which. Placing a joint from two circles means picking one of two intersections, and picking it by which one the construction meant is exactly the assumption that the branch rung shows is unwarranted. A constructed position is a position on the intended branch by definition, which makes it useless for asking whether a machine is on the intended branch.

A solve reports a residual. A construction reports nothing. The site’s invariant is that nothing is drawn that was not solved, and the reason is that a solve has a number attached saying how well it did.

So the construction is used once, to seed, and everything after it is a march in which the solver does real work from a nearby guess. The walk in this rung is a statement about the machine’s graph, not about how its positions are found.

The same four bars, and the bar that tells them apart. Left, a parallelogram; right, the crossed assembly of exactly the same four lengths. In the parallelogram the midpoints of the two opposite sides are one side-length apart — here 1.000, and it stays that as the linkage moves — and in the crossed assembly they are 0.115. So a bar between those two midpoints admits the first and refuses the second. That is the brace: two rigid attachments and one bar, and it is the whole repair of Kempe's argument.
Fig. 6 The brace: two rigid attachments to links already placed, and a bar between them that determines nothing new.

What the braces do to the walk

Bracing a compiled machine adds a bar and two rigid attachments per parallelogram, and it is worth asking whether the walk survives it.

It does, and easily. A brace’s two midpoints are rigid attachments to links already placed, so each is placed alone the moment its link is; the bar between them is then a redundant condition on two joints that already have positions. The walk never reaches it, because the walk stops caring about a joint once it is placed.

That is a small observation with a useful corollary: a redundant constraint is invisible to a construction order. The walk on a braced machine reports the same structure as on an unbraced one, because a construction order is about what determines what, and a constraint that determines nothing new determines nothing.

Which means the walk is exactly blind to the thing that makes the braced machine’s Grübler count come out at minus a hundred and fifty-three. Two instruments, two blindnesses: the count cannot see that its surplus equations are redundant, and the walk cannot see that they are there. Neither is wrong and neither is enough on its own.

One freedom, whatever the count says. Every one of these machines has exactly one degree of freedom, measured as the number of unknowns minus the rank of the constraint Jacobian. Unbraced, the count agrees. Braced, the count says the largest machine has -153 — that it cannot move, by a wide margin — and the rank says it still turns exactly as it did. The gap is one equation per brace and every one of those equations is implied by the others. This is the constraint field's oldest example, at a scale nobody would try by hand: a count that is wrong by a hundred and fifty-three about a mechanism that works.
Fig. 7 The other instrument on the same machines, and the asymmetry between what each is evidence for.

One number the walk does not report

A last limit, stated because the essay’s headline invites a stronger reading than the measurement supports.

Nothing larger than a dyad is a statement about the walk finishing with dyads as its largest step. It is not a proof that no larger Assur group exists in the machine, because the walk is greedy: it takes the first thing it can place, and a greedy walk that finishes has shown a decomposition exists rather than shown that no other decomposition is forced.

For this purpose the distinction does not bite. A machine that can be taken apart into dyads is a machine with no larger irreducible group — decomposability is a property of the chain, not of the order it was taken apart in — so the verdict stands. What would not stand is a claim in the other direction: a walk that stalled would not prove an irreducible group exists, only that this walk could not find a way past it.

The site has been caught by that asymmetry before, in the mobility instruments: a count that comes out negative is evidence of overconstraint and a count that comes out positive is evidence of nothing. Same shape, and the honest way to quote either is to say which direction it is evidence in.

What this adds to the topology field

The field’s census counts chains and asks which are distinct, which are isomorphic, and which have rigid subchains. Its objects are small — ten links is a large census — and its interest is in structure.

This rung supplies a specimen from the far end of a scale the field has not had one from: a chain of four hundred links whose structure is completely trivial, produced not by search but by construction. It is a useful negative example. The census’s difficulty is not about size, and here is a mechanism sixty times larger than anything the census enumerates with less structure in it than the four-bar.

There is a second specimen hiding in it that the field might want. A compiled machine is a chain built from a vocabulary of four subgraphs — a two-bar dyad, a rhombus, a railed rhombus, a parallelogram — repeated hundreds of times and wired together in a tree. The field’s census enumerates chains without regard to how they were made, and a chain assembled from a small vocabulary is a different kind of object from one that happens to have the same graph: its automorphisms come from the repetition, and the orbits the census counts would be enormous.

Nothing here computes those, and it is recorded as a direction rather than a result. A census over chains built from a stated vocabulary is a smaller and more structured problem than the general one, and it is the shape of problem a construction like this one poses.

It also supplies a check the field could use elsewhere. The walk is fifteen lines and it decides, for any mechanism given as joints and constraints, whether a construction order exists. The field’s existing test for the same thing is Assur decomposition, which is a different algorithm answering the same question — two routes, and the site has only ever had one.

About the same objects

Not linked from either essay — found by the objects both name.

What links here

Essays that link to this one from their own argument.

The objects this essay names

Each one links to every other essay that touches it.

Assur groupCompiled linkageConstruction orderDeterminacyDyadGraphKinematic chain