Train ranks at each of the 5 cuts of a 6-index tensor on 6 points a side, four families
At its defaults it draws train ranks at each of the 5 cuts of a 6-index tensor on 6 points a side, four families. Cut the index list after position k, put the first k indices on the rows and the rest on the columns, and take the rank of the matrix that results. There are 5 such cuts and each rank is an ordinary matrix rank. The sine of a sum of d variables has rank exactly two at every one of them, for every d, because the addition formula separates it into two terms at every cut — a rank written down rather than measured, and the computed values are 2, 2, 2, 2, 2. The reciprocal family climbs to 10, the product family is one everywhere, and independent normal entries reach 216, which is the largest rank the cut allows. Storage runs sinsum 120, reciprocal 1,800, product 36, noise 95,976 against 46,656 entries.
train-ranks is one function in lib/figures/ttrain.js —
the train — one rank per cut of the index list, and the iterate that must be cut back. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
Cut the index list after position k, put the first k indices on the rows and the rest on the columns, and take the rank of the matrix that results. There are 5 such cuts and each rank is an ordinary matrix rank. The sine of a sum of d variables has rank exactly two at every one of them, for every d, because the addition formula separates it into two terms at every cut — a rank written down rather than measured, and the computed values are 2, 2, 2, 2, 2. The reciprocal family climbs to 10, the product family is one everywhere, and independent normal entries reach 216, which is the largest rank the cut allows. Storage runs sinsum 120, reciprocal 1,800, product 36, noise 95,976 against 46,656 entries.
show: "tx-spread", tensor: "mixed1"
The arguments are the ones A chain grown from its ends gets lost passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
two pairs and a chain, shuffle 1: least 108 entries, reached by 96 orders; within twice the least, 288; median 1,908; most 8,322. The greedy chain stores 396 and the linked paths 108.
show: "tx-spread", tensor: "pairs"
The arguments are the ones A chain grown from its ends gets lost passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
four separated pairs: least 72 entries, reached by 192 orders; within twice the least, 192; median 1,584; most 8,322. The greedy chain stores 72 and the linked paths 72.
show: "tx-least"
The arguments are the ones A chain grown from its ends gets lost passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
four separated pairs: least 72 by 192 orders, median 1584, most 8322; a shuffled chain: least 180 by 4 orders, median 3252, most 8322; two pairs and a chain, shuffle 1: least 108 by 96 orders, median 1908, most 8322.
show: "tx-rules"
The arguments are the ones A chain grown from its ends gets lost passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
four separated pairs: least 72, greedy 72, paths 72, subset path 72; a shuffled chain: least 180, greedy 180, paths 180, subset path 180; two pairs and a chain, shuffle 1: least 108, greedy 396, paths 108, subset path 108; two pairs and a chain, shuffle 2: least 108, greedy 108, paths 108, subset path 108; two pairs and a chain, shuffle 3: least 108, greedy 108, paths 108, subset path 108; two pairs and a chain, shuffle 4: least 108, greedy 396, paths 108, subset path 108; two pairs and a chain, shuffle 5: least 108, greedy 396, paths 108, subset path 108; two pairs and a chain, shuffle 6: least 108, greedy 108, paths 108, subset path 108.
show: "tx-cuts"
The arguments are the ones A chain grown from its ends gets lost passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Greedy chain, order 0, 4, 1, 2, 6, 3, 5, 7: ranks 3, 3, 9, 3, 9, 3, 3, storing 396. Linked paths, order 0, 4, 5, 7, 1, 2, 6, 3: ranks 3, 3, 3, 1, 3, 1, 3, storing 108.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
13 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
a family the dial offers
a family this file builds
a number of indices the tensor can be formed at
a tensor the dial offers
a tensor this file builds
and stores 4n(d − 1) numbers
at least one row
curves with points on them
sin of a sum has rank two at every cut
the noise train reproduces its tensor
the product train reproduces its tensor
the reciprocal train reproduces its tensor
the sinsum train reproduces its tensor
Against the rule
It draws a decomposition and prints its residual. It calls
ttSvd,
and every figure above carries the badge — which residualcheck verifies by looking
for it in the emitted SVG rather than by finding the call that builds one. A badge that is
constructed and then left out of the body is the failure that check exists for.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
A chain grown from its ends gets lost
A tensor of eight indices in train format stores 72 numbers in one order and 8,322 in another, and a greedy chain built from cheap pairwise slices had found the good order on every tensor tried. Searching all 20,160 orders confirms that 72 and 180 are the true least on the two earlier tensors. But on a tensor of two pairs and a chain of four, placed on the indices six different ways, the least is 108 every time and the greedy chain finds it on three placements and stores 396 on the other three. The six are one tensor with its indices renamed, so the chain's success depended on the names. A rule that links the strongest couplings into paths, from the same table, finds 108 on all six.
Iterating, instead of factorisingAn iterate that must be made smaller
Applying a Kronecker-sum operator to a low-rank iterate multiplies its ranks by d and adding two of them adds their ranks, so a solver in a compressed format cannot keep what it produces. Every step is followed by a truncation — and whether that truncation is a floor on the residual depends on the right-hand side rather than on the truncation.
When the index is a tupleThe digit that costs more than the tensor
Ask a three-index reciprocal tensor on six points a side for seven digits and its train is 288 numbers against 216 entries. The break-even rank is n − 1 at all four grids measured, and a train that reaches it fits with exactly n numbers to spare.
When the index is a tupleThe format that does not notice the dimension
A Tucker core is r^d numbers, so the format that repaired the definition still cannot go past five indices. Cutting between the indices rather than across them gives d − 1 ranks instead of d, storage linear in the number of indices, and a family whose ranks are two everywhere by an addition formula.
When the index is a tupleThe order of the indices is not free
A tensor train stores numbers linear in its number of indices, so it was named a format that does not notice the dimension. It notices the order. An eight-index tensor of four separated pairs takes 8,322 numbers in the order it was written, more than the 6,561 entries of the array itself, and 72 with the pairs side by side, the same tensor to the same tolerance. The median of two hundred random orders is 1,584. Every digit asked for is charged at each crossing: at a tolerance of 10⁻¹² the gap is 13,950 against 72, and it takes a coupling a thousand times weaker to bring the two within twenty times of each other. The order can be found cheaply: one slice through a base point, 252 entries, shows the pairing and gives the best order on all three tensors tried.