Generator

The rank of an admissible block and of a touching one, against how finely they are sampled

One function in the kernel library, called 25 times across 4 essays. Below: what it draws at its defaults, what it draws at every value an essay asks for, the 10 claims it put to the test while drawing them, and where it stands against the rule this site is named for.

At its defaults it draws the rank of an admissible block and of a touching one, against how finely they are sampled. Both blocks are of the kernel 1/r; both are 32, 64, 128, 256 points a side; both are truncated at 10⁻⁸. The admissible pair — [0, 1] against [2, 3] — needs 5, 5, 5, 5 columns, which is one number. The touching pair — [0, 1] against [1, 2] — needs 9, 11, 12, 13, climbing by about one per doubling, which is a logarithm. Neither of them grows like the block, and only one of them stops. That difference is what the admissibility test in a partition is buying, and it is why the touching pair is kept dense rather than compressed at all.

rank-size is one function in lib/figures/kernel.js — one block — where a matrix with no zero entries turns out to have five useful columns. 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.

The rank of an admissible block and of a touching one, against how finely they are sampledBoth blocks are of the kernel 1/r; both are 32, 64, 128, 256 points a side; both are truncated at 10⁻⁸. The admissible pair — [0, 1] against [2, 3] — needs 5, 5, 5, 5 columns, which is one number. The touching pair — [0, 1] against [1, 2] — needs 9, 11, 12, 13, climbing by about one per doubling, which is a logarithm. Neither of them grows like the block, and only one of them stops. That difference is what the admissibility test in a partition is buying, and it is why the touching pair is kept dense rather than compressed at all.45678903691215log₂ of the points a sidecolumns above 10⁻⁸two intervals that touchtwo that do notthe measurement that is a null resultadmissible, n = 325admissible, n = 2565touching, n = 329touching, n = 25613stored ⁄ dense at largest0.039the rank belongs to the geometryand not to the sampling

Both blocks are of the kernel 1/r; both are 32, 64, 128, 256 points a side; both are truncated at 10⁻⁸. The admissible pair — [0, 1] against [2, 3] — needs 5, 5, 5, 5 columns, which is one number. The touching pair — [0, 1] against [1, 2] — needs 9, 11, 12, 13, climbing by about one per doubling, which is a logarithm. Neither of them grows like the block, and only one of them stops. That difference is what the admissibility test in a partition is buying, and it is why the touching pair is kept dense rather than compressed at all.

show: "pa-map", kernel: "offset"

The arguments are the ones A far pair is not a smooth pair passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The block partitions of a 256-square matrix of 1/r on a line off it, by the geometric admissibility rule and by the least storage any partition of this tree hasOn 1/r on a line off it the geometric rule stores 60.8 per cent of the entries in 112 blocks, of rank at most 35; the best partition stores 29.5 per cent in 43 blocks, of rank at most 10.the geometric rule: 61% of n²the best possible: 30% of n²kept wholerank up to 6up to 20above 20n = 256 · ε = 10⁻⁸ · the same treethe rule cannot see the kernel

On 1/r on a line off it the geometric rule stores 60.8 per cent of the entries in 112 blocks, of rank at most 35; the best partition stores 29.5 per cent in 43 blocks, of rank at most 10.

show: "pa-store"

The arguments are the ones A far pair is not a smooth pair passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The storage of a 256-square matrix as a share of its entries, at one tolerance, by four routes to a partition, on four kernels1/r on the diagonal: the geometric rule 0.412, probe of eight 0.367, probe of sixteen, checked 0.422, the best possible 0.367; 1/r on a line off it: the geometric rule 0.608, probe of eight 0.472, probe of sixteen, checked 0.360, the best possible 0.295; a wide Gaussian: the geometric rule 0.358, probe of eight 0.063, probe of sixteen, checked 0.063, the best possible 0.063; cos(40r)/r: the geometric rule 0.539, probe of eight 0.496, probe of sixteen, checked 0.484, the best possible 0.438.00.250.50.7511/r on the diagonalthe geometric rule0.412probe of eight0.367probe of sixteen, checked0.422the best possible0.3671/r on a line off itthe geometric rule0.608probe of eight0.472probe of sixteen, checked0.360the best possible0.295a wide Gaussianthe geometric rule0.358probe of eight0.063probe of sixteen, checked0.063the best possible0.063cos(40r)/rthe geometric rule0.539probe of eight0.496probe of sixteen, checked0.484the best possible0.438stored numbers over the matrix's entriesn = 256 · ε = 10⁻⁸a rule made for one kernel

1/r on the diagonal: the geometric rule 0.412, probe of eight 0.367, probe of sixteen, checked 0.422, the best possible 0.367; 1/r on a line off it: the geometric rule 0.608, probe of eight 0.472, probe of sixteen, checked 0.360, the best possible 0.295; a wide Gaussian: the geometric rule 0.358, probe of eight 0.063, probe of sixteen, checked 0.063, the best possible 0.063; cos(40r)/r: the geometric rule 0.539, probe of eight 0.496, probe of sixteen, checked 0.484, the best possible 0.438.

show: "pa-rank"

The arguments are the ones A far pair is not a smooth pair passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The largest rank among the admitted blocks of each partition, and how many of the geometric rule's admitted blocks cost more than storing them whole, on four kernels1/r on the diagonal: geometric 5 with 0 wasted, best 12; 1/r on a line off it: geometric 35 with 5 wasted, best 10; a wide Gaussian: geometric 4 with 0 wasted, best 8; cos(40r)/r: geometric 9 with 0 wasted, best 17.0102030401/r on the diagonalgeometric, 0 blocks worse than whole5the best partition121/r on a line off itgeometric, 5 blocks worse than whole35the best partition10a wide Gaussiangeometric, 0 blocks worse than whole4the best partition8cos(40r)/rgeometric, 0 blocks worse than whole9the best partition17the largest rank admittedn = 256 · ε = 10⁻⁸a far pair is not a smooth pair

1/r on the diagonal: geometric 5 with 0 wasted, best 12; 1/r on a line off it: geometric 35 with 5 wasted, best 10; a wide Gaussian: geometric 4 with 0 wasted, best 8; cos(40r)/r: geometric 9 with 0 wasted, best 17.

show: "pa-probe"

The arguments are the ones A far pair is not a smooth pair passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The storage a probe reaches over six seeds, at three sizes of the random cross, on four kernels, as a share of the entries1/r on the diagonal: 4 samples from 0.613 to 0.675, 8 samples from 0.367 to 0.367, 16 samples from 0.367 to 2.000; 1/r on a line off it: 4 samples from 0.528 to 0.596, 8 samples from 0.472 to 1.289, 16 samples from 1.289 to 1.289; a wide Gaussian: 4 samples from 0.164 to 0.207, 8 samples from 0.063 to 0.063, 16 samples from 0.063 to 0.063; cos(40r)/r: 4 samples from 1.000 to 1.000, 8 samples from 0.488 to 0.517, 16 samples from 0.438 to 2.000.00.511.521/r on the diagonal, best 0.3674 samples8 samples16 samples1/r on a line off it, best 0.2954 samples8 samples16 samplesa wide Gaussian, best 0.0634 samples8 samples16 samplescos(40r)/r, best 0.4384 samples8 samples16 samplesstored over entries; above one is worse than densedot: the median of six seeds · bar: the rangemore samples can be worse

1/r on the diagonal: 4 samples from 0.613 to 0.675, 8 samples from 0.367 to 0.367, 16 samples from 0.367 to 2.000; 1/r on a line off it: 4 samples from 0.528 to 0.596, 8 samples from 0.472 to 1.289, 16 samples from 1.289 to 1.289; a wide Gaussian: 4 samples from 0.164 to 0.207, 8 samples from 0.063 to 0.063, 16 samples from 0.063 to 0.063; cos(40r)/r: 4 samples from 1.000 to 1.000, 8 samples from 0.488 to 0.517, 16 samples from 0.438 to 2.000.

show: "pa-check"

The arguments are the ones A far pair is not a smooth pair passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

The storage a checked probe reaches over six seeds, at three sizes of the random cross, on four kernels, as a share of the entries1/r on the diagonal: 4 samples from 0.613 to 0.675, 8 samples from 0.422 to 0.422, 16 samples from 0.422 to 0.422; 1/r on a line off it: 4 samples from 0.528 to 0.596, 8 samples from 0.360 to 0.360, 16 samples from 0.360 to 0.360; a wide Gaussian: 4 samples from 0.164 to 0.207, 8 samples from 0.063 to 0.063, 16 samples from 0.063 to 0.063; cos(40r)/r: 4 samples from 1.000 to 1.000, 8 samples from 0.539 to 0.681, 16 samples from 0.484 to 0.484.00.511.521/r on the diagonal, best 0.3674 samples8 samples16 samples1/r on a line off it, best 0.2954 samples8 samples16 samplesa wide Gaussian, best 0.0634 samples8 samples16 samplescos(40r)/r, best 0.4384 samples8 samples16 samplesstored over entries; above one is worse than densedot: the median of six seeds · bar: the rangethe rank is read before it is believed

1/r on the diagonal: 4 samples from 0.613 to 0.675, 8 samples from 0.422 to 0.422, 16 samples from 0.422 to 0.422; 1/r on a line off it: 4 samples from 0.528 to 0.596, 8 samples from 0.360 to 0.360, 16 samples from 0.360 to 0.360; a wide Gaussian: 4 samples from 0.164 to 0.207, 8 samples from 0.063 to 0.063, 16 samples from 0.063 to 0.063; cos(40r)/r: 4 samples from 1.000 to 1.000, 8 samples from 0.539 to 0.681, 16 samples from 0.484 to 0.484.

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.

10 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 block size the dense SVD below is affordable at

a kernel the dial offers

a kernel this file defines

a kernel this file draws

an accuracy inside the range the block has singular values in

an η the dial offers

and the touching block's does

at least one row

curves with points on them

the admissible block's rank does not move across a factor of eight in size

Against the rule

It draws a decomposition and prints its residual. It calls rankAgainstSize, 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.

Neither sparse nor dense

A far pair is not a smooth pair

The admissibility test reads four numbers per pair of clusters and not one entry of the matrix, which was presented as its great economy. It is also an assumption: that distance from the diagonal is smoothness. On the kernel it was built for it lands within an eighth of the least storage any partition of the same tree has. Move the singularity onto a line off the diagonal and it stores twice the least, admitting blocks of rank 35 that cost more than their entries. Put no singularity anywhere and it stores nearly six times the least, carefully refusing pairs that needed no refusal. A random probe of a few entries finds the best partition, and a larger one can miss the singular line altogether and store the whole matrix as one block of rank 165, unless it checks the rank before believing it.

Neither sparse nor dense

The rule told where to look

Told the line its kernel is singular on, the admissibility rule stores within six per cent of the least any partition of its tree has, and keeps that margin as the matrix doubles while the untold rule's overpayment grows from 1.7 to 2.6. Its other failure was never the geometry: at η = 1, where two touching clusters first pass, it is the least itself on both kernels singular on the diagonal, and the textbook 0.8 was costing an eighth to a quarter. On a smooth kernel nothing rescues it, because the dense diagonal it always keeps is, by itself, the whole of the least. And a probe that reads each block's ends sees only its corners, which is where the diagonal touches a block and not where a line crosses one.

Neither sparse nor dense

The size the rank does not notice

Sample a kernel block at 32, 64, 128 and 256 points a side and it needs five columns, five, five and five. Sample the touching block next to it at the same four sizes and it needs nine, eleven, twelve and thirteen. Same kernel, same accuracy, one number and a logarithm.

Neither sparse nor dense

Which pairs are allowed to be small

A hierarchical representation is a partition of the matrix into blocks, and the rule that produces it reads four numbers per pair of index clusters and not one entry of the matrix. On a 256-square it yields 112 blocks, 66 of them stored as two thin factors, none of rank above five.

The whole library · All essays · What must fail